content: module Stratosphere.Lex.Bot.SampleUtteranceProperty (
          SampleUtteranceProperty(..), mkSampleUtteranceProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data SampleUtteranceProperty
    = SampleUtteranceProperty {utterance :: (Value Prelude.Text)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkSampleUtteranceProperty ::
    Value Prelude.Text -> SampleUtteranceProperty
  mkSampleUtteranceProperty utterance
    = SampleUtteranceProperty {utterance = utterance}
  instance ToResourceProperties SampleUtteranceProperty where
    toResourceProperties SampleUtteranceProperty {..}
      = ResourceProperties
          {awsType = "AWS::Lex::Bot.SampleUtterance",
           supportsTags = Prelude.False,
           properties = ["Utterance" JSON..= utterance]}
  instance JSON.ToJSON SampleUtteranceProperty where
    toJSON SampleUtteranceProperty {..}
      = JSON.object ["Utterance" JSON..= utterance]
  instance Property "Utterance" SampleUtteranceProperty where
    type PropertyType "Utterance" SampleUtteranceProperty = Value Prelude.Text
    set newValue SampleUtteranceProperty {}
      = SampleUtteranceProperty {utterance = newValue, ..}