module Stratosphere.AppFlow.ConnectorProfile.ZendeskConnectorProfilePropertiesProperty (
        ZendeskConnectorProfilePropertiesProperty(..),
        mkZendeskConnectorProfilePropertiesProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ZendeskConnectorProfilePropertiesProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofileproperties.html>
    ZendeskConnectorProfilePropertiesProperty {ZendeskConnectorProfilePropertiesProperty -> ()
haddock_workaround_ :: (),
                                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofileproperties.html#cfn-appflow-connectorprofile-zendeskconnectorprofileproperties-instanceurl>
                                               ZendeskConnectorProfilePropertiesProperty -> Value Text
instanceUrl :: (Value Prelude.Text)}
  deriving stock (ZendeskConnectorProfilePropertiesProperty
-> ZendeskConnectorProfilePropertiesProperty -> Bool
(ZendeskConnectorProfilePropertiesProperty
 -> ZendeskConnectorProfilePropertiesProperty -> Bool)
-> (ZendeskConnectorProfilePropertiesProperty
    -> ZendeskConnectorProfilePropertiesProperty -> Bool)
-> Eq ZendeskConnectorProfilePropertiesProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ZendeskConnectorProfilePropertiesProperty
-> ZendeskConnectorProfilePropertiesProperty -> Bool
== :: ZendeskConnectorProfilePropertiesProperty
-> ZendeskConnectorProfilePropertiesProperty -> Bool
$c/= :: ZendeskConnectorProfilePropertiesProperty
-> ZendeskConnectorProfilePropertiesProperty -> Bool
/= :: ZendeskConnectorProfilePropertiesProperty
-> ZendeskConnectorProfilePropertiesProperty -> Bool
Prelude.Eq, Int -> ZendeskConnectorProfilePropertiesProperty -> ShowS
[ZendeskConnectorProfilePropertiesProperty] -> ShowS
ZendeskConnectorProfilePropertiesProperty -> String
(Int -> ZendeskConnectorProfilePropertiesProperty -> ShowS)
-> (ZendeskConnectorProfilePropertiesProperty -> String)
-> ([ZendeskConnectorProfilePropertiesProperty] -> ShowS)
-> Show ZendeskConnectorProfilePropertiesProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ZendeskConnectorProfilePropertiesProperty -> ShowS
showsPrec :: Int -> ZendeskConnectorProfilePropertiesProperty -> ShowS
$cshow :: ZendeskConnectorProfilePropertiesProperty -> String
show :: ZendeskConnectorProfilePropertiesProperty -> String
$cshowList :: [ZendeskConnectorProfilePropertiesProperty] -> ShowS
showList :: [ZendeskConnectorProfilePropertiesProperty] -> ShowS
Prelude.Show)
mkZendeskConnectorProfilePropertiesProperty ::
  Value Prelude.Text -> ZendeskConnectorProfilePropertiesProperty
mkZendeskConnectorProfilePropertiesProperty :: Value Text -> ZendeskConnectorProfilePropertiesProperty
mkZendeskConnectorProfilePropertiesProperty Value Text
instanceUrl
  = ZendeskConnectorProfilePropertiesProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), instanceUrl :: Value Text
instanceUrl = Value Text
instanceUrl}
instance ToResourceProperties ZendeskConnectorProfilePropertiesProperty where
  toResourceProperties :: ZendeskConnectorProfilePropertiesProperty -> ResourceProperties
toResourceProperties ZendeskConnectorProfilePropertiesProperty {()
Value Text
haddock_workaround_ :: ZendeskConnectorProfilePropertiesProperty -> ()
instanceUrl :: ZendeskConnectorProfilePropertiesProperty -> Value Text
haddock_workaround_ :: ()
instanceUrl :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties",
         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 ZendeskConnectorProfilePropertiesProperty where
  toJSON :: ZendeskConnectorProfilePropertiesProperty -> Value
toJSON ZendeskConnectorProfilePropertiesProperty {()
Value Text
haddock_workaround_ :: ZendeskConnectorProfilePropertiesProperty -> ()
instanceUrl :: ZendeskConnectorProfilePropertiesProperty -> 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" ZendeskConnectorProfilePropertiesProperty where
  type PropertyType "InstanceUrl" ZendeskConnectorProfilePropertiesProperty = Value Prelude.Text
  set :: PropertyType
  "InstanceUrl" ZendeskConnectorProfilePropertiesProperty
-> ZendeskConnectorProfilePropertiesProperty
-> ZendeskConnectorProfilePropertiesProperty
set PropertyType
  "InstanceUrl" ZendeskConnectorProfilePropertiesProperty
newValue ZendeskConnectorProfilePropertiesProperty {()
Value Text
haddock_workaround_ :: ZendeskConnectorProfilePropertiesProperty -> ()
instanceUrl :: ZendeskConnectorProfilePropertiesProperty -> Value Text
haddock_workaround_ :: ()
instanceUrl :: Value Text
..}
    = ZendeskConnectorProfilePropertiesProperty
        {instanceUrl :: Value Text
instanceUrl = PropertyType
  "InstanceUrl" ZendeskConnectorProfilePropertiesProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}