module Stratosphere.Lex.Bot.SSMLMessageProperty (
        SSMLMessageProperty(..), mkSSMLMessageProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SSMLMessageProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-ssmlmessage.html>
    SSMLMessageProperty {SSMLMessageProperty -> ()
haddock_workaround_ :: (),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-ssmlmessage.html#cfn-lex-bot-ssmlmessage-value>
                         SSMLMessageProperty -> Value Text
value :: (Value Prelude.Text)}
  deriving stock (SSMLMessageProperty -> SSMLMessageProperty -> Bool
(SSMLMessageProperty -> SSMLMessageProperty -> Bool)
-> (SSMLMessageProperty -> SSMLMessageProperty -> Bool)
-> Eq SSMLMessageProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SSMLMessageProperty -> SSMLMessageProperty -> Bool
== :: SSMLMessageProperty -> SSMLMessageProperty -> Bool
$c/= :: SSMLMessageProperty -> SSMLMessageProperty -> Bool
/= :: SSMLMessageProperty -> SSMLMessageProperty -> Bool
Prelude.Eq, Int -> SSMLMessageProperty -> ShowS
[SSMLMessageProperty] -> ShowS
SSMLMessageProperty -> String
(Int -> SSMLMessageProperty -> ShowS)
-> (SSMLMessageProperty -> String)
-> ([SSMLMessageProperty] -> ShowS)
-> Show SSMLMessageProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SSMLMessageProperty -> ShowS
showsPrec :: Int -> SSMLMessageProperty -> ShowS
$cshow :: SSMLMessageProperty -> String
show :: SSMLMessageProperty -> String
$cshowList :: [SSMLMessageProperty] -> ShowS
showList :: [SSMLMessageProperty] -> ShowS
Prelude.Show)
mkSSMLMessageProperty :: Value Prelude.Text -> SSMLMessageProperty
mkSSMLMessageProperty :: Value Text -> SSMLMessageProperty
mkSSMLMessageProperty Value Text
value
  = SSMLMessageProperty {haddock_workaround_ :: ()
haddock_workaround_ = (), value :: Value Text
value = Value Text
value}
instance ToResourceProperties SSMLMessageProperty where
  toResourceProperties :: SSMLMessageProperty -> ResourceProperties
toResourceProperties SSMLMessageProperty {()
Value Text
haddock_workaround_ :: SSMLMessageProperty -> ()
value :: SSMLMessageProperty -> Value Text
haddock_workaround_ :: ()
value :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Lex::Bot.SSMLMessage",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False, properties :: Object
properties = [Key
"Value" 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
value]}
instance JSON.ToJSON SSMLMessageProperty where
  toJSON :: SSMLMessageProperty -> Value
toJSON SSMLMessageProperty {()
Value Text
haddock_workaround_ :: SSMLMessageProperty -> ()
value :: SSMLMessageProperty -> Value Text
haddock_workaround_ :: ()
value :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"Value" 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
value]
instance Property "Value" SSMLMessageProperty where
  type PropertyType "Value" SSMLMessageProperty = Value Prelude.Text
  set :: PropertyType "Value" SSMLMessageProperty
-> SSMLMessageProperty -> SSMLMessageProperty
set PropertyType "Value" SSMLMessageProperty
newValue SSMLMessageProperty {()
Value Text
haddock_workaround_ :: SSMLMessageProperty -> ()
value :: SSMLMessageProperty -> Value Text
haddock_workaround_ :: ()
value :: Value Text
..}
    = SSMLMessageProperty {value :: Value Text
value = PropertyType "Value" SSMLMessageProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}