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