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