content: 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
    = QueryComputePaymentConfigProperty {isResponsible :: (Value Prelude.Bool)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkQueryComputePaymentConfigProperty ::
    Value Prelude.Bool -> QueryComputePaymentConfigProperty
  mkQueryComputePaymentConfigProperty isResponsible
    = QueryComputePaymentConfigProperty {isResponsible = isResponsible}
  instance ToResourceProperties QueryComputePaymentConfigProperty where
    toResourceProperties QueryComputePaymentConfigProperty {..}
      = ResourceProperties
          {awsType = "AWS::CleanRooms::Collaboration.QueryComputePaymentConfig",
           supportsTags = Prelude.False,
           properties = ["IsResponsible" JSON..= isResponsible]}
  instance JSON.ToJSON QueryComputePaymentConfigProperty where
    toJSON QueryComputePaymentConfigProperty {..}
      = JSON.object ["IsResponsible" JSON..= isResponsible]
  instance Property "IsResponsible" QueryComputePaymentConfigProperty where
    type PropertyType "IsResponsible" QueryComputePaymentConfigProperty = Value Prelude.Bool
    set newValue QueryComputePaymentConfigProperty {}
      = QueryComputePaymentConfigProperty {isResponsible = newValue, ..}