module Stratosphere.CleanRooms.Collaboration.ModelTrainingPaymentConfigProperty (
ModelTrainingPaymentConfigProperty(..),
mkModelTrainingPaymentConfigProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ModelTrainingPaymentConfigProperty
=
ModelTrainingPaymentConfigProperty {ModelTrainingPaymentConfigProperty -> ()
haddock_workaround_ :: (),
ModelTrainingPaymentConfigProperty -> Value Bool
isResponsible :: (Value Prelude.Bool)}
deriving stock (ModelTrainingPaymentConfigProperty
-> ModelTrainingPaymentConfigProperty -> Bool
(ModelTrainingPaymentConfigProperty
-> ModelTrainingPaymentConfigProperty -> Bool)
-> (ModelTrainingPaymentConfigProperty
-> ModelTrainingPaymentConfigProperty -> Bool)
-> Eq ModelTrainingPaymentConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ModelTrainingPaymentConfigProperty
-> ModelTrainingPaymentConfigProperty -> Bool
== :: ModelTrainingPaymentConfigProperty
-> ModelTrainingPaymentConfigProperty -> Bool
$c/= :: ModelTrainingPaymentConfigProperty
-> ModelTrainingPaymentConfigProperty -> Bool
/= :: ModelTrainingPaymentConfigProperty
-> ModelTrainingPaymentConfigProperty -> Bool
Prelude.Eq, Int -> ModelTrainingPaymentConfigProperty -> ShowS
[ModelTrainingPaymentConfigProperty] -> ShowS
ModelTrainingPaymentConfigProperty -> String
(Int -> ModelTrainingPaymentConfigProperty -> ShowS)
-> (ModelTrainingPaymentConfigProperty -> String)
-> ([ModelTrainingPaymentConfigProperty] -> ShowS)
-> Show ModelTrainingPaymentConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ModelTrainingPaymentConfigProperty -> ShowS
showsPrec :: Int -> ModelTrainingPaymentConfigProperty -> ShowS
$cshow :: ModelTrainingPaymentConfigProperty -> String
show :: ModelTrainingPaymentConfigProperty -> String
$cshowList :: [ModelTrainingPaymentConfigProperty] -> ShowS
showList :: [ModelTrainingPaymentConfigProperty] -> ShowS
Prelude.Show)
mkModelTrainingPaymentConfigProperty ::
Value Prelude.Bool -> ModelTrainingPaymentConfigProperty
mkModelTrainingPaymentConfigProperty :: Value Bool -> ModelTrainingPaymentConfigProperty
mkModelTrainingPaymentConfigProperty Value Bool
isResponsible
= ModelTrainingPaymentConfigProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), isResponsible :: Value Bool
isResponsible = Value Bool
isResponsible}
instance ToResourceProperties ModelTrainingPaymentConfigProperty where
toResourceProperties :: ModelTrainingPaymentConfigProperty -> ResourceProperties
toResourceProperties ModelTrainingPaymentConfigProperty {()
Value Bool
haddock_workaround_ :: ModelTrainingPaymentConfigProperty -> ()
isResponsible :: ModelTrainingPaymentConfigProperty -> Value Bool
haddock_workaround_ :: ()
isResponsible :: Value Bool
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::CleanRooms::Collaboration.ModelTrainingPaymentConfig",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"IsResponsible" Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Bool
isResponsible]}
instance JSON.ToJSON ModelTrainingPaymentConfigProperty where
toJSON :: ModelTrainingPaymentConfigProperty -> Value
toJSON ModelTrainingPaymentConfigProperty {()
Value Bool
haddock_workaround_ :: ModelTrainingPaymentConfigProperty -> ()
isResponsible :: ModelTrainingPaymentConfigProperty -> Value Bool
haddock_workaround_ :: ()
isResponsible :: Value Bool
..}
= [(Key, Value)] -> Value
JSON.object [Key
"IsResponsible" Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Bool
isResponsible]
instance Property "IsResponsible" ModelTrainingPaymentConfigProperty where
type PropertyType "IsResponsible" ModelTrainingPaymentConfigProperty = Value Prelude.Bool
set :: PropertyType "IsResponsible" ModelTrainingPaymentConfigProperty
-> ModelTrainingPaymentConfigProperty
-> ModelTrainingPaymentConfigProperty
set PropertyType "IsResponsible" ModelTrainingPaymentConfigProperty
newValue ModelTrainingPaymentConfigProperty {()
Value Bool
haddock_workaround_ :: ModelTrainingPaymentConfigProperty -> ()
isResponsible :: ModelTrainingPaymentConfigProperty -> Value Bool
haddock_workaround_ :: ()
isResponsible :: Value Bool
..}
= ModelTrainingPaymentConfigProperty {isResponsible :: Value Bool
isResponsible = PropertyType "IsResponsible" ModelTrainingPaymentConfigProperty
Value Bool
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}