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