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