module Stratosphere.AppFlow.ConnectorProfile.SlackConnectorProfilePropertiesProperty (
        SlackConnectorProfilePropertiesProperty(..),
        mkSlackConnectorProfilePropertiesProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SlackConnectorProfilePropertiesProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-slackconnectorprofileproperties.html>
    SlackConnectorProfilePropertiesProperty {SlackConnectorProfilePropertiesProperty -> ()
haddock_workaround_ :: (),
                                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-slackconnectorprofileproperties.html#cfn-appflow-connectorprofile-slackconnectorprofileproperties-instanceurl>
                                             SlackConnectorProfilePropertiesProperty -> Value Text
instanceUrl :: (Value Prelude.Text)}
  deriving stock (SlackConnectorProfilePropertiesProperty
-> SlackConnectorProfilePropertiesProperty -> Bool
(SlackConnectorProfilePropertiesProperty
 -> SlackConnectorProfilePropertiesProperty -> Bool)
-> (SlackConnectorProfilePropertiesProperty
    -> SlackConnectorProfilePropertiesProperty -> Bool)
-> Eq SlackConnectorProfilePropertiesProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SlackConnectorProfilePropertiesProperty
-> SlackConnectorProfilePropertiesProperty -> Bool
== :: SlackConnectorProfilePropertiesProperty
-> SlackConnectorProfilePropertiesProperty -> Bool
$c/= :: SlackConnectorProfilePropertiesProperty
-> SlackConnectorProfilePropertiesProperty -> Bool
/= :: SlackConnectorProfilePropertiesProperty
-> SlackConnectorProfilePropertiesProperty -> Bool
Prelude.Eq, Int -> SlackConnectorProfilePropertiesProperty -> ShowS
[SlackConnectorProfilePropertiesProperty] -> ShowS
SlackConnectorProfilePropertiesProperty -> String
(Int -> SlackConnectorProfilePropertiesProperty -> ShowS)
-> (SlackConnectorProfilePropertiesProperty -> String)
-> ([SlackConnectorProfilePropertiesProperty] -> ShowS)
-> Show SlackConnectorProfilePropertiesProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SlackConnectorProfilePropertiesProperty -> ShowS
showsPrec :: Int -> SlackConnectorProfilePropertiesProperty -> ShowS
$cshow :: SlackConnectorProfilePropertiesProperty -> String
show :: SlackConnectorProfilePropertiesProperty -> String
$cshowList :: [SlackConnectorProfilePropertiesProperty] -> ShowS
showList :: [SlackConnectorProfilePropertiesProperty] -> ShowS
Prelude.Show)
mkSlackConnectorProfilePropertiesProperty ::
  Value Prelude.Text -> SlackConnectorProfilePropertiesProperty
mkSlackConnectorProfilePropertiesProperty :: Value Text -> SlackConnectorProfilePropertiesProperty
mkSlackConnectorProfilePropertiesProperty Value Text
instanceUrl
  = SlackConnectorProfilePropertiesProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), instanceUrl :: Value Text
instanceUrl = Value Text
instanceUrl}
instance ToResourceProperties SlackConnectorProfilePropertiesProperty where
  toResourceProperties :: SlackConnectorProfilePropertiesProperty -> ResourceProperties
toResourceProperties SlackConnectorProfilePropertiesProperty {()
Value Text
haddock_workaround_ :: SlackConnectorProfilePropertiesProperty -> ()
instanceUrl :: SlackConnectorProfilePropertiesProperty -> Value Text
haddock_workaround_ :: ()
instanceUrl :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"InstanceUrl" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
instanceUrl]}
instance JSON.ToJSON SlackConnectorProfilePropertiesProperty where
  toJSON :: SlackConnectorProfilePropertiesProperty -> Value
toJSON SlackConnectorProfilePropertiesProperty {()
Value Text
haddock_workaround_ :: SlackConnectorProfilePropertiesProperty -> ()
instanceUrl :: SlackConnectorProfilePropertiesProperty -> Value Text
haddock_workaround_ :: ()
instanceUrl :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"InstanceUrl" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
instanceUrl]
instance Property "InstanceUrl" SlackConnectorProfilePropertiesProperty where
  type PropertyType "InstanceUrl" SlackConnectorProfilePropertiesProperty = Value Prelude.Text
  set :: PropertyType "InstanceUrl" SlackConnectorProfilePropertiesProperty
-> SlackConnectorProfilePropertiesProperty
-> SlackConnectorProfilePropertiesProperty
set PropertyType "InstanceUrl" SlackConnectorProfilePropertiesProperty
newValue SlackConnectorProfilePropertiesProperty {()
Value Text
haddock_workaround_ :: SlackConnectorProfilePropertiesProperty -> ()
instanceUrl :: SlackConnectorProfilePropertiesProperty -> Value Text
haddock_workaround_ :: ()
instanceUrl :: Value Text
..}
    = SlackConnectorProfilePropertiesProperty
        {instanceUrl :: Value Text
instanceUrl = PropertyType "InstanceUrl" SlackConnectorProfilePropertiesProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}