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