module Stratosphere.CleanRooms.Collaboration.JobComputePaymentConfigProperty (
        JobComputePaymentConfigProperty(..),
        mkJobComputePaymentConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data JobComputePaymentConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-jobcomputepaymentconfig.html>
    JobComputePaymentConfigProperty {JobComputePaymentConfigProperty -> ()
haddock_workaround_ :: (),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-jobcomputepaymentconfig.html#cfn-cleanrooms-collaboration-jobcomputepaymentconfig-isresponsible>
                                     JobComputePaymentConfigProperty -> Value Bool
isResponsible :: (Value Prelude.Bool)}
  deriving stock (JobComputePaymentConfigProperty
-> JobComputePaymentConfigProperty -> Bool
(JobComputePaymentConfigProperty
 -> JobComputePaymentConfigProperty -> Bool)
-> (JobComputePaymentConfigProperty
    -> JobComputePaymentConfigProperty -> Bool)
-> Eq JobComputePaymentConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: JobComputePaymentConfigProperty
-> JobComputePaymentConfigProperty -> Bool
== :: JobComputePaymentConfigProperty
-> JobComputePaymentConfigProperty -> Bool
$c/= :: JobComputePaymentConfigProperty
-> JobComputePaymentConfigProperty -> Bool
/= :: JobComputePaymentConfigProperty
-> JobComputePaymentConfigProperty -> Bool
Prelude.Eq, Int -> JobComputePaymentConfigProperty -> ShowS
[JobComputePaymentConfigProperty] -> ShowS
JobComputePaymentConfigProperty -> String
(Int -> JobComputePaymentConfigProperty -> ShowS)
-> (JobComputePaymentConfigProperty -> String)
-> ([JobComputePaymentConfigProperty] -> ShowS)
-> Show JobComputePaymentConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> JobComputePaymentConfigProperty -> ShowS
showsPrec :: Int -> JobComputePaymentConfigProperty -> ShowS
$cshow :: JobComputePaymentConfigProperty -> String
show :: JobComputePaymentConfigProperty -> String
$cshowList :: [JobComputePaymentConfigProperty] -> ShowS
showList :: [JobComputePaymentConfigProperty] -> ShowS
Prelude.Show)
mkJobComputePaymentConfigProperty ::
  Value Prelude.Bool -> JobComputePaymentConfigProperty
mkJobComputePaymentConfigProperty :: Value Bool -> JobComputePaymentConfigProperty
mkJobComputePaymentConfigProperty Value Bool
isResponsible
  = JobComputePaymentConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), isResponsible :: Value Bool
isResponsible = Value Bool
isResponsible}
instance ToResourceProperties JobComputePaymentConfigProperty where
  toResourceProperties :: JobComputePaymentConfigProperty -> ResourceProperties
toResourceProperties JobComputePaymentConfigProperty {()
Value Bool
haddock_workaround_ :: JobComputePaymentConfigProperty -> ()
isResponsible :: JobComputePaymentConfigProperty -> Value Bool
haddock_workaround_ :: ()
isResponsible :: Value Bool
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CleanRooms::Collaboration.JobComputePaymentConfig",
         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 JobComputePaymentConfigProperty where
  toJSON :: JobComputePaymentConfigProperty -> Value
toJSON JobComputePaymentConfigProperty {()
Value Bool
haddock_workaround_ :: JobComputePaymentConfigProperty -> ()
isResponsible :: JobComputePaymentConfigProperty -> 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" JobComputePaymentConfigProperty where
  type PropertyType "IsResponsible" JobComputePaymentConfigProperty = Value Prelude.Bool
  set :: PropertyType "IsResponsible" JobComputePaymentConfigProperty
-> JobComputePaymentConfigProperty
-> JobComputePaymentConfigProperty
set PropertyType "IsResponsible" JobComputePaymentConfigProperty
newValue JobComputePaymentConfigProperty {()
Value Bool
haddock_workaround_ :: JobComputePaymentConfigProperty -> ()
isResponsible :: JobComputePaymentConfigProperty -> Value Bool
haddock_workaround_ :: ()
isResponsible :: Value Bool
..}
    = JobComputePaymentConfigProperty {isResponsible :: Value Bool
isResponsible = PropertyType "IsResponsible" JobComputePaymentConfigProperty
Value Bool
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}