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