module Stratosphere.AppFlow.Flow.InforNexusSourcePropertiesProperty (
        InforNexusSourcePropertiesProperty(..),
        mkInforNexusSourcePropertiesProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data InforNexusSourcePropertiesProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-infornexussourceproperties.html>
    InforNexusSourcePropertiesProperty {InforNexusSourcePropertiesProperty -> ()
haddock_workaround_ :: (),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-infornexussourceproperties.html#cfn-appflow-flow-infornexussourceproperties-object>
                                        InforNexusSourcePropertiesProperty -> Value Text
object :: (Value Prelude.Text)}
  deriving stock (InforNexusSourcePropertiesProperty
-> InforNexusSourcePropertiesProperty -> Bool
(InforNexusSourcePropertiesProperty
 -> InforNexusSourcePropertiesProperty -> Bool)
-> (InforNexusSourcePropertiesProperty
    -> InforNexusSourcePropertiesProperty -> Bool)
-> Eq InforNexusSourcePropertiesProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InforNexusSourcePropertiesProperty
-> InforNexusSourcePropertiesProperty -> Bool
== :: InforNexusSourcePropertiesProperty
-> InforNexusSourcePropertiesProperty -> Bool
$c/= :: InforNexusSourcePropertiesProperty
-> InforNexusSourcePropertiesProperty -> Bool
/= :: InforNexusSourcePropertiesProperty
-> InforNexusSourcePropertiesProperty -> Bool
Prelude.Eq, Int -> InforNexusSourcePropertiesProperty -> ShowS
[InforNexusSourcePropertiesProperty] -> ShowS
InforNexusSourcePropertiesProperty -> String
(Int -> InforNexusSourcePropertiesProperty -> ShowS)
-> (InforNexusSourcePropertiesProperty -> String)
-> ([InforNexusSourcePropertiesProperty] -> ShowS)
-> Show InforNexusSourcePropertiesProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InforNexusSourcePropertiesProperty -> ShowS
showsPrec :: Int -> InforNexusSourcePropertiesProperty -> ShowS
$cshow :: InforNexusSourcePropertiesProperty -> String
show :: InforNexusSourcePropertiesProperty -> String
$cshowList :: [InforNexusSourcePropertiesProperty] -> ShowS
showList :: [InforNexusSourcePropertiesProperty] -> ShowS
Prelude.Show)
mkInforNexusSourcePropertiesProperty ::
  Value Prelude.Text -> InforNexusSourcePropertiesProperty
mkInforNexusSourcePropertiesProperty :: Value Text -> InforNexusSourcePropertiesProperty
mkInforNexusSourcePropertiesProperty Value Text
object
  = InforNexusSourcePropertiesProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), object :: Value Text
object = Value Text
object}
instance ToResourceProperties InforNexusSourcePropertiesProperty where
  toResourceProperties :: InforNexusSourcePropertiesProperty -> ResourceProperties
toResourceProperties InforNexusSourcePropertiesProperty {()
Value Text
haddock_workaround_ :: InforNexusSourcePropertiesProperty -> ()
object :: InforNexusSourcePropertiesProperty -> Value Text
haddock_workaround_ :: ()
object :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AppFlow::Flow.InforNexusSourceProperties",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"Object" 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
object]}
instance JSON.ToJSON InforNexusSourcePropertiesProperty where
  toJSON :: InforNexusSourcePropertiesProperty -> Value
toJSON InforNexusSourcePropertiesProperty {()
Value Text
haddock_workaround_ :: InforNexusSourcePropertiesProperty -> ()
object :: InforNexusSourcePropertiesProperty -> Value Text
haddock_workaround_ :: ()
object :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"Object" 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
object]
instance Property "Object" InforNexusSourcePropertiesProperty where
  type PropertyType "Object" InforNexusSourcePropertiesProperty = Value Prelude.Text
  set :: PropertyType "Object" InforNexusSourcePropertiesProperty
-> InforNexusSourcePropertiesProperty
-> InforNexusSourcePropertiesProperty
set PropertyType "Object" InforNexusSourcePropertiesProperty
newValue InforNexusSourcePropertiesProperty {()
Value Text
haddock_workaround_ :: InforNexusSourcePropertiesProperty -> ()
object :: InforNexusSourcePropertiesProperty -> Value Text
haddock_workaround_ :: ()
object :: Value Text
..}
    = InforNexusSourcePropertiesProperty {object :: Value Text
object = PropertyType "Object" InforNexusSourcePropertiesProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}