module Stratosphere.B2BI.Transformer.SampleDocumentsProperty ( module Exports, SampleDocumentsProperty(..), mkSampleDocumentsProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.B2BI.Transformer.SampleDocumentKeysProperty as Exports import Stratosphere.ResourceProperties import Stratosphere.Value data SampleDocumentsProperty = -- | See: SampleDocumentsProperty {haddock_workaround_ :: (), -- | See: bucketName :: (Value Prelude.Text), -- | See: keys :: [SampleDocumentKeysProperty]} deriving stock (Prelude.Eq, Prelude.Show) mkSampleDocumentsProperty :: Value Prelude.Text -> [SampleDocumentKeysProperty] -> SampleDocumentsProperty mkSampleDocumentsProperty bucketName keys = SampleDocumentsProperty {haddock_workaround_ = (), bucketName = bucketName, keys = keys} instance ToResourceProperties SampleDocumentsProperty where toResourceProperties SampleDocumentsProperty {..} = ResourceProperties {awsType = "AWS::B2BI::Transformer.SampleDocuments", supportsTags = Prelude.False, properties = ["BucketName" JSON..= bucketName, "Keys" JSON..= keys]} instance JSON.ToJSON SampleDocumentsProperty where toJSON SampleDocumentsProperty {..} = JSON.object ["BucketName" JSON..= bucketName, "Keys" JSON..= keys] instance Property "BucketName" SampleDocumentsProperty where type PropertyType "BucketName" SampleDocumentsProperty = Value Prelude.Text set newValue SampleDocumentsProperty {..} = SampleDocumentsProperty {bucketName = newValue, ..} instance Property "Keys" SampleDocumentsProperty where type PropertyType "Keys" SampleDocumentsProperty = [SampleDocumentKeysProperty] set newValue SampleDocumentsProperty {..} = SampleDocumentsProperty {keys = newValue, ..}