module Stratosphere.CleanRooms.Membership.MembershipProtectedQueryOutputConfigurationProperty (
        module Exports,
        MembershipProtectedQueryOutputConfigurationProperty(..),
        mkMembershipProtectedQueryOutputConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CleanRooms.Membership.ProtectedQueryS3OutputConfigurationProperty as Exports
import Stratosphere.ResourceProperties
data MembershipProtectedQueryOutputConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipprotectedqueryoutputconfiguration.html>
    MembershipProtectedQueryOutputConfigurationProperty {MembershipProtectedQueryOutputConfigurationProperty -> ()
haddock_workaround_ :: (),
                                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipprotectedqueryoutputconfiguration.html#cfn-cleanrooms-membership-membershipprotectedqueryoutputconfiguration-s3>
                                                         MembershipProtectedQueryOutputConfigurationProperty
-> ProtectedQueryS3OutputConfigurationProperty
s3 :: ProtectedQueryS3OutputConfigurationProperty}
  deriving stock (MembershipProtectedQueryOutputConfigurationProperty
-> MembershipProtectedQueryOutputConfigurationProperty -> Bool
(MembershipProtectedQueryOutputConfigurationProperty
 -> MembershipProtectedQueryOutputConfigurationProperty -> Bool)
-> (MembershipProtectedQueryOutputConfigurationProperty
    -> MembershipProtectedQueryOutputConfigurationProperty -> Bool)
-> Eq MembershipProtectedQueryOutputConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: MembershipProtectedQueryOutputConfigurationProperty
-> MembershipProtectedQueryOutputConfigurationProperty -> Bool
== :: MembershipProtectedQueryOutputConfigurationProperty
-> MembershipProtectedQueryOutputConfigurationProperty -> Bool
$c/= :: MembershipProtectedQueryOutputConfigurationProperty
-> MembershipProtectedQueryOutputConfigurationProperty -> Bool
/= :: MembershipProtectedQueryOutputConfigurationProperty
-> MembershipProtectedQueryOutputConfigurationProperty -> Bool
Prelude.Eq, Int -> MembershipProtectedQueryOutputConfigurationProperty -> ShowS
[MembershipProtectedQueryOutputConfigurationProperty] -> ShowS
MembershipProtectedQueryOutputConfigurationProperty -> String
(Int
 -> MembershipProtectedQueryOutputConfigurationProperty -> ShowS)
-> (MembershipProtectedQueryOutputConfigurationProperty -> String)
-> ([MembershipProtectedQueryOutputConfigurationProperty] -> ShowS)
-> Show MembershipProtectedQueryOutputConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> MembershipProtectedQueryOutputConfigurationProperty -> ShowS
showsPrec :: Int -> MembershipProtectedQueryOutputConfigurationProperty -> ShowS
$cshow :: MembershipProtectedQueryOutputConfigurationProperty -> String
show :: MembershipProtectedQueryOutputConfigurationProperty -> String
$cshowList :: [MembershipProtectedQueryOutputConfigurationProperty] -> ShowS
showList :: [MembershipProtectedQueryOutputConfigurationProperty] -> ShowS
Prelude.Show)
mkMembershipProtectedQueryOutputConfigurationProperty ::
  ProtectedQueryS3OutputConfigurationProperty
  -> MembershipProtectedQueryOutputConfigurationProperty
mkMembershipProtectedQueryOutputConfigurationProperty :: ProtectedQueryS3OutputConfigurationProperty
-> MembershipProtectedQueryOutputConfigurationProperty
mkMembershipProtectedQueryOutputConfigurationProperty ProtectedQueryS3OutputConfigurationProperty
s3
  = MembershipProtectedQueryOutputConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), s3 :: ProtectedQueryS3OutputConfigurationProperty
s3 = ProtectedQueryS3OutputConfigurationProperty
s3}
instance ToResourceProperties MembershipProtectedQueryOutputConfigurationProperty where
  toResourceProperties :: MembershipProtectedQueryOutputConfigurationProperty
-> ResourceProperties
toResourceProperties
    MembershipProtectedQueryOutputConfigurationProperty {()
ProtectedQueryS3OutputConfigurationProperty
haddock_workaround_ :: MembershipProtectedQueryOutputConfigurationProperty -> ()
s3 :: MembershipProtectedQueryOutputConfigurationProperty
-> ProtectedQueryS3OutputConfigurationProperty
haddock_workaround_ :: ()
s3 :: ProtectedQueryS3OutputConfigurationProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CleanRooms::Membership.MembershipProtectedQueryOutputConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False, properties :: Object
properties = [Key
"S3" Key -> ProtectedQueryS3OutputConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ProtectedQueryS3OutputConfigurationProperty
s3]}
instance JSON.ToJSON MembershipProtectedQueryOutputConfigurationProperty where
  toJSON :: MembershipProtectedQueryOutputConfigurationProperty -> Value
toJSON MembershipProtectedQueryOutputConfigurationProperty {()
ProtectedQueryS3OutputConfigurationProperty
haddock_workaround_ :: MembershipProtectedQueryOutputConfigurationProperty -> ()
s3 :: MembershipProtectedQueryOutputConfigurationProperty
-> ProtectedQueryS3OutputConfigurationProperty
haddock_workaround_ :: ()
s3 :: ProtectedQueryS3OutputConfigurationProperty
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"S3" Key -> ProtectedQueryS3OutputConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ProtectedQueryS3OutputConfigurationProperty
s3]
instance Property "S3" MembershipProtectedQueryOutputConfigurationProperty where
  type PropertyType "S3" MembershipProtectedQueryOutputConfigurationProperty = ProtectedQueryS3OutputConfigurationProperty
  set :: PropertyType
  "S3" MembershipProtectedQueryOutputConfigurationProperty
-> MembershipProtectedQueryOutputConfigurationProperty
-> MembershipProtectedQueryOutputConfigurationProperty
set
    PropertyType
  "S3" MembershipProtectedQueryOutputConfigurationProperty
newValue
    MembershipProtectedQueryOutputConfigurationProperty {()
ProtectedQueryS3OutputConfigurationProperty
haddock_workaround_ :: MembershipProtectedQueryOutputConfigurationProperty -> ()
s3 :: MembershipProtectedQueryOutputConfigurationProperty
-> ProtectedQueryS3OutputConfigurationProperty
haddock_workaround_ :: ()
s3 :: ProtectedQueryS3OutputConfigurationProperty
..}
    = MembershipProtectedQueryOutputConfigurationProperty
        {s3 :: ProtectedQueryS3OutputConfigurationProperty
s3 = PropertyType
  "S3" MembershipProtectedQueryOutputConfigurationProperty
ProtectedQueryS3OutputConfigurationProperty
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}