module Stratosphere.CleanRooms.IdNamespaceAssociation.IdMappingConfigProperty ( IdMappingConfigProperty(..), mkIdMappingConfigProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data IdMappingConfigProperty = -- | See: IdMappingConfigProperty {haddock_workaround_ :: (), -- | See: allowUseAsDimensionColumn :: (Value Prelude.Bool)} deriving stock (Prelude.Eq, Prelude.Show) mkIdMappingConfigProperty :: Value Prelude.Bool -> IdMappingConfigProperty mkIdMappingConfigProperty allowUseAsDimensionColumn = IdMappingConfigProperty {haddock_workaround_ = (), allowUseAsDimensionColumn = allowUseAsDimensionColumn} instance ToResourceProperties IdMappingConfigProperty where toResourceProperties IdMappingConfigProperty {..} = ResourceProperties {awsType = "AWS::CleanRooms::IdNamespaceAssociation.IdMappingConfig", supportsTags = Prelude.False, properties = ["AllowUseAsDimensionColumn" JSON..= allowUseAsDimensionColumn]} instance JSON.ToJSON IdMappingConfigProperty where toJSON IdMappingConfigProperty {..} = JSON.object ["AllowUseAsDimensionColumn" JSON..= allowUseAsDimensionColumn] instance Property "AllowUseAsDimensionColumn" IdMappingConfigProperty where type PropertyType "AllowUseAsDimensionColumn" IdMappingConfigProperty = Value Prelude.Bool set newValue IdMappingConfigProperty {..} = IdMappingConfigProperty {allowUseAsDimensionColumn = newValue, ..}