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