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