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