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