module Stratosphere.AppFlow.Flow.SingularSourcePropertiesProperty (
SingularSourcePropertiesProperty(..),
mkSingularSourcePropertiesProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SingularSourcePropertiesProperty
=
SingularSourcePropertiesProperty {SingularSourcePropertiesProperty -> ()
haddock_workaround_ :: (),
SingularSourcePropertiesProperty -> Value Text
object :: (Value Prelude.Text)}
deriving stock (SingularSourcePropertiesProperty
-> SingularSourcePropertiesProperty -> Bool
(SingularSourcePropertiesProperty
-> SingularSourcePropertiesProperty -> Bool)
-> (SingularSourcePropertiesProperty
-> SingularSourcePropertiesProperty -> Bool)
-> Eq SingularSourcePropertiesProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SingularSourcePropertiesProperty
-> SingularSourcePropertiesProperty -> Bool
== :: SingularSourcePropertiesProperty
-> SingularSourcePropertiesProperty -> Bool
$c/= :: SingularSourcePropertiesProperty
-> SingularSourcePropertiesProperty -> Bool
/= :: SingularSourcePropertiesProperty
-> SingularSourcePropertiesProperty -> Bool
Prelude.Eq, Int -> SingularSourcePropertiesProperty -> ShowS
[SingularSourcePropertiesProperty] -> ShowS
SingularSourcePropertiesProperty -> String
(Int -> SingularSourcePropertiesProperty -> ShowS)
-> (SingularSourcePropertiesProperty -> String)
-> ([SingularSourcePropertiesProperty] -> ShowS)
-> Show SingularSourcePropertiesProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SingularSourcePropertiesProperty -> ShowS
showsPrec :: Int -> SingularSourcePropertiesProperty -> ShowS
$cshow :: SingularSourcePropertiesProperty -> String
show :: SingularSourcePropertiesProperty -> String
$cshowList :: [SingularSourcePropertiesProperty] -> ShowS
showList :: [SingularSourcePropertiesProperty] -> ShowS
Prelude.Show)
mkSingularSourcePropertiesProperty ::
Value Prelude.Text -> SingularSourcePropertiesProperty
mkSingularSourcePropertiesProperty :: Value Text -> SingularSourcePropertiesProperty
mkSingularSourcePropertiesProperty Value Text
object
= SingularSourcePropertiesProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), object :: Value Text
object = Value Text
object}
instance ToResourceProperties SingularSourcePropertiesProperty where
toResourceProperties :: SingularSourcePropertiesProperty -> ResourceProperties
toResourceProperties SingularSourcePropertiesProperty {()
Value Text
haddock_workaround_ :: SingularSourcePropertiesProperty -> ()
object :: SingularSourcePropertiesProperty -> Value Text
haddock_workaround_ :: ()
object :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::AppFlow::Flow.SingularSourceProperties",
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 SingularSourcePropertiesProperty where
toJSON :: SingularSourcePropertiesProperty -> Value
toJSON SingularSourcePropertiesProperty {()
Value Text
haddock_workaround_ :: SingularSourcePropertiesProperty -> ()
object :: SingularSourcePropertiesProperty -> 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" SingularSourcePropertiesProperty where
type PropertyType "Object" SingularSourcePropertiesProperty = Value Prelude.Text
set :: PropertyType "Object" SingularSourcePropertiesProperty
-> SingularSourcePropertiesProperty
-> SingularSourcePropertiesProperty
set PropertyType "Object" SingularSourcePropertiesProperty
newValue SingularSourcePropertiesProperty {()
Value Text
haddock_workaround_ :: SingularSourcePropertiesProperty -> ()
object :: SingularSourcePropertiesProperty -> Value Text
haddock_workaround_ :: ()
object :: Value Text
..}
= SingularSourcePropertiesProperty {object :: Value Text
object = PropertyType "Object" SingularSourcePropertiesProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}