module Stratosphere.Bedrock.DataAutomationProject.DocumentBoundingBoxProperty ( DocumentBoundingBoxProperty(..), mkDocumentBoundingBoxProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data DocumentBoundingBoxProperty = -- | See: DocumentBoundingBoxProperty {haddock_workaround_ :: (), -- | See: state :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkDocumentBoundingBoxProperty :: Value Prelude.Text -> DocumentBoundingBoxProperty mkDocumentBoundingBoxProperty state = DocumentBoundingBoxProperty {haddock_workaround_ = (), state = state} instance ToResourceProperties DocumentBoundingBoxProperty where toResourceProperties DocumentBoundingBoxProperty {..} = ResourceProperties {awsType = "AWS::Bedrock::DataAutomationProject.DocumentBoundingBox", supportsTags = Prelude.False, properties = ["State" JSON..= state]} instance JSON.ToJSON DocumentBoundingBoxProperty where toJSON DocumentBoundingBoxProperty {..} = JSON.object ["State" JSON..= state] instance Property "State" DocumentBoundingBoxProperty where type PropertyType "State" DocumentBoundingBoxProperty = Value Prelude.Text set newValue DocumentBoundingBoxProperty {..} = DocumentBoundingBoxProperty {state = newValue, ..}