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