content: module Stratosphere.IoTAnalytics.Datastore.ParquetConfigurationProperty (
          module Exports, ParquetConfigurationProperty(..),
          mkParquetConfigurationProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import {-# SOURCE #-} Stratosphere.IoTAnalytics.Datastore.SchemaDefinitionProperty as Exports
  import Stratosphere.ResourceProperties
  data ParquetConfigurationProperty
    = ParquetConfigurationProperty {schemaDefinition :: (Prelude.Maybe SchemaDefinitionProperty)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkParquetConfigurationProperty :: ParquetConfigurationProperty
  mkParquetConfigurationProperty
    = ParquetConfigurationProperty {schemaDefinition = Prelude.Nothing}
  instance ToResourceProperties ParquetConfigurationProperty where
    toResourceProperties ParquetConfigurationProperty {..}
      = ResourceProperties
          {awsType = "AWS::IoTAnalytics::Datastore.ParquetConfiguration",
           supportsTags = Prelude.False,
           properties = Prelude.fromList
                          (Prelude.catMaybes
                             [(JSON..=) "SchemaDefinition" Prelude.<$> schemaDefinition])}
  instance JSON.ToJSON ParquetConfigurationProperty where
    toJSON ParquetConfigurationProperty {..}
      = JSON.object
          (Prelude.fromList
             (Prelude.catMaybes
                [(JSON..=) "SchemaDefinition" Prelude.<$> schemaDefinition]))
  instance Property "SchemaDefinition" ParquetConfigurationProperty where
    type PropertyType "SchemaDefinition" ParquetConfigurationProperty = SchemaDefinitionProperty
    set newValue ParquetConfigurationProperty {}
      = ParquetConfigurationProperty
          {schemaDefinition = Prelude.pure newValue, ..}