module Stratosphere.Bedrock.DataAutomationProject.ImageBoundingBoxProperty (
ImageBoundingBoxProperty(..), mkImageBoundingBoxProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ImageBoundingBoxProperty
=
ImageBoundingBoxProperty {ImageBoundingBoxProperty -> ()
haddock_workaround_ :: (),
ImageBoundingBoxProperty -> Value Text
state :: (Value Prelude.Text)}
deriving stock (ImageBoundingBoxProperty -> ImageBoundingBoxProperty -> Bool
(ImageBoundingBoxProperty -> ImageBoundingBoxProperty -> Bool)
-> (ImageBoundingBoxProperty -> ImageBoundingBoxProperty -> Bool)
-> Eq ImageBoundingBoxProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ImageBoundingBoxProperty -> ImageBoundingBoxProperty -> Bool
== :: ImageBoundingBoxProperty -> ImageBoundingBoxProperty -> Bool
$c/= :: ImageBoundingBoxProperty -> ImageBoundingBoxProperty -> Bool
/= :: ImageBoundingBoxProperty -> ImageBoundingBoxProperty -> Bool
Prelude.Eq, Int -> ImageBoundingBoxProperty -> ShowS
[ImageBoundingBoxProperty] -> ShowS
ImageBoundingBoxProperty -> String
(Int -> ImageBoundingBoxProperty -> ShowS)
-> (ImageBoundingBoxProperty -> String)
-> ([ImageBoundingBoxProperty] -> ShowS)
-> Show ImageBoundingBoxProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ImageBoundingBoxProperty -> ShowS
showsPrec :: Int -> ImageBoundingBoxProperty -> ShowS
$cshow :: ImageBoundingBoxProperty -> String
show :: ImageBoundingBoxProperty -> String
$cshowList :: [ImageBoundingBoxProperty] -> ShowS
showList :: [ImageBoundingBoxProperty] -> ShowS
Prelude.Show)
mkImageBoundingBoxProperty ::
Value Prelude.Text -> ImageBoundingBoxProperty
mkImageBoundingBoxProperty :: Value Text -> ImageBoundingBoxProperty
mkImageBoundingBoxProperty Value Text
state
= ImageBoundingBoxProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), state :: Value Text
state = Value Text
state}
instance ToResourceProperties ImageBoundingBoxProperty where
toResourceProperties :: ImageBoundingBoxProperty -> ResourceProperties
toResourceProperties ImageBoundingBoxProperty {()
Value Text
haddock_workaround_ :: ImageBoundingBoxProperty -> ()
state :: ImageBoundingBoxProperty -> Value Text
haddock_workaround_ :: ()
state :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Bedrock::DataAutomationProject.ImageBoundingBox",
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 ImageBoundingBoxProperty where
toJSON :: ImageBoundingBoxProperty -> Value
toJSON ImageBoundingBoxProperty {()
Value Text
haddock_workaround_ :: ImageBoundingBoxProperty -> ()
state :: ImageBoundingBoxProperty -> 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" ImageBoundingBoxProperty where
type PropertyType "State" ImageBoundingBoxProperty = Value Prelude.Text
set :: PropertyType "State" ImageBoundingBoxProperty
-> ImageBoundingBoxProperty -> ImageBoundingBoxProperty
set PropertyType "State" ImageBoundingBoxProperty
newValue ImageBoundingBoxProperty {()
Value Text
haddock_workaround_ :: ImageBoundingBoxProperty -> ()
state :: ImageBoundingBoxProperty -> Value Text
haddock_workaround_ :: ()
state :: Value Text
..}
= ImageBoundingBoxProperty {state :: Value Text
state = PropertyType "State" ImageBoundingBoxProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}