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
=
DocumentBoundingBoxProperty {DocumentBoundingBoxProperty -> ()
haddock_workaround_ :: (),
DocumentBoundingBoxProperty -> Value Text
state :: (Value Prelude.Text)}
deriving stock (DocumentBoundingBoxProperty -> DocumentBoundingBoxProperty -> Bool
(DocumentBoundingBoxProperty
-> DocumentBoundingBoxProperty -> Bool)
-> (DocumentBoundingBoxProperty
-> DocumentBoundingBoxProperty -> Bool)
-> Eq DocumentBoundingBoxProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DocumentBoundingBoxProperty -> DocumentBoundingBoxProperty -> Bool
== :: DocumentBoundingBoxProperty -> DocumentBoundingBoxProperty -> Bool
$c/= :: DocumentBoundingBoxProperty -> DocumentBoundingBoxProperty -> Bool
/= :: DocumentBoundingBoxProperty -> DocumentBoundingBoxProperty -> Bool
Prelude.Eq, Int -> DocumentBoundingBoxProperty -> ShowS
[DocumentBoundingBoxProperty] -> ShowS
DocumentBoundingBoxProperty -> String
(Int -> DocumentBoundingBoxProperty -> ShowS)
-> (DocumentBoundingBoxProperty -> String)
-> ([DocumentBoundingBoxProperty] -> ShowS)
-> Show DocumentBoundingBoxProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DocumentBoundingBoxProperty -> ShowS
showsPrec :: Int -> DocumentBoundingBoxProperty -> ShowS
$cshow :: DocumentBoundingBoxProperty -> String
show :: DocumentBoundingBoxProperty -> String
$cshowList :: [DocumentBoundingBoxProperty] -> ShowS
showList :: [DocumentBoundingBoxProperty] -> ShowS
Prelude.Show)
mkDocumentBoundingBoxProperty ::
Value Prelude.Text -> DocumentBoundingBoxProperty
mkDocumentBoundingBoxProperty :: Value Text -> DocumentBoundingBoxProperty
mkDocumentBoundingBoxProperty Value Text
state
= DocumentBoundingBoxProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), state :: Value Text
state = Value Text
state}
instance ToResourceProperties DocumentBoundingBoxProperty where
toResourceProperties :: DocumentBoundingBoxProperty -> ResourceProperties
toResourceProperties DocumentBoundingBoxProperty {()
Value Text
haddock_workaround_ :: DocumentBoundingBoxProperty -> ()
state :: DocumentBoundingBoxProperty -> Value Text
haddock_workaround_ :: ()
state :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Bedrock::DataAutomationProject.DocumentBoundingBox",
supportsTags :: Bool
supportsTags = Bool
Prelude.False, properties :: Object
properties = [Key
"State" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
state]}
instance JSON.ToJSON DocumentBoundingBoxProperty where
toJSON :: DocumentBoundingBoxProperty -> Value
toJSON DocumentBoundingBoxProperty {()
Value Text
haddock_workaround_ :: DocumentBoundingBoxProperty -> ()
state :: DocumentBoundingBoxProperty -> Value Text
haddock_workaround_ :: ()
state :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object [Key
"State" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
state]
instance Property "State" DocumentBoundingBoxProperty where
type PropertyType "State" DocumentBoundingBoxProperty = Value Prelude.Text
set :: PropertyType "State" DocumentBoundingBoxProperty
-> DocumentBoundingBoxProperty -> DocumentBoundingBoxProperty
set PropertyType "State" DocumentBoundingBoxProperty
newValue DocumentBoundingBoxProperty {()
Value Text
haddock_workaround_ :: DocumentBoundingBoxProperty -> ()
state :: DocumentBoundingBoxProperty -> Value Text
haddock_workaround_ :: ()
state :: Value Text
..}
= DocumentBoundingBoxProperty {state :: Value Text
state = PropertyType "State" DocumentBoundingBoxProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}