content: module Stratosphere.KinesisAnalyticsV2.ApplicationOutput.DestinationSchemaProperty (
          DestinationSchemaProperty(..), mkDestinationSchemaProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data DestinationSchemaProperty
    = DestinationSchemaProperty {recordFormatType :: (Prelude.Maybe (Value Prelude.Text))}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkDestinationSchemaProperty :: DestinationSchemaProperty
  mkDestinationSchemaProperty
    = DestinationSchemaProperty {recordFormatType = Prelude.Nothing}
  instance ToResourceProperties DestinationSchemaProperty where
    toResourceProperties DestinationSchemaProperty {..}
      = ResourceProperties
          {awsType = "AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema",
           supportsTags = Prelude.False,
           properties = Prelude.fromList
                          (Prelude.catMaybes
                             [(JSON..=) "RecordFormatType" Prelude.<$> recordFormatType])}
  instance JSON.ToJSON DestinationSchemaProperty where
    toJSON DestinationSchemaProperty {..}
      = JSON.object
          (Prelude.fromList
             (Prelude.catMaybes
                [(JSON..=) "RecordFormatType" Prelude.<$> recordFormatType]))
  instance Property "RecordFormatType" DestinationSchemaProperty where
    type PropertyType "RecordFormatType" DestinationSchemaProperty = Value Prelude.Text
    set newValue DestinationSchemaProperty {}
      = DestinationSchemaProperty
          {recordFormatType = Prelude.pure newValue, ..}