/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon Simple Storage Service (Amazon S3) bucket location in which a
* journal export job writes the journal contents.See Also:
AWS
* API Reference
The Amazon S3 bucket name in which a journal export job writes the journal * contents.
The bucket name must comply with the Amazon S3 bucket naming * conventions. For more information, see Bucket * Restrictions and Limitations in the Amazon S3 Developer Guide.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The Amazon S3 bucket name in which a journal export job writes the journal * contents.
The bucket name must comply with the Amazon S3 bucket naming * conventions. For more information, see Bucket * Restrictions and Limitations in the Amazon S3 Developer Guide.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The Amazon S3 bucket name in which a journal export job writes the journal * contents.
The bucket name must comply with the Amazon S3 bucket naming * conventions. For more information, see Bucket * Restrictions and Limitations in the Amazon S3 Developer Guide.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The Amazon S3 bucket name in which a journal export job writes the journal * contents.
The bucket name must comply with the Amazon S3 bucket naming * conventions. For more information, see Bucket * Restrictions and Limitations in the Amazon S3 Developer Guide.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The Amazon S3 bucket name in which a journal export job writes the journal * contents.
The bucket name must comply with the Amazon S3 bucket naming * conventions. For more information, see Bucket * Restrictions and Limitations in the Amazon S3 Developer Guide.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The Amazon S3 bucket name in which a journal export job writes the journal * contents.
The bucket name must comply with the Amazon S3 bucket naming * conventions. For more information, see Bucket * Restrictions and Limitations in the Amazon S3 Developer Guide.
*/ inline S3ExportConfiguration& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The Amazon S3 bucket name in which a journal export job writes the journal * contents.
The bucket name must comply with the Amazon S3 bucket naming * conventions. For more information, see Bucket * Restrictions and Limitations in the Amazon S3 Developer Guide.
*/ inline S3ExportConfiguration& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The Amazon S3 bucket name in which a journal export job writes the journal * contents.
The bucket name must comply with the Amazon S3 bucket naming * conventions. For more information, see Bucket * Restrictions and Limitations in the Amazon S3 Developer Guide.
*/ inline S3ExportConfiguration& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The prefix for the Amazon S3 bucket in which a journal export job writes the * journal contents.
The prefix must comply with Amazon S3 key naming rules * and restrictions. For more information, see Object * Key and Metadata in the Amazon S3 Developer Guide.
The
* following are examples of valid Prefix
values:
* JournalExports-ForMyLedger/Testing/
* JournalExports
My:Tests/
The prefix for the Amazon S3 bucket in which a journal export job writes the * journal contents.
The prefix must comply with Amazon S3 key naming rules * and restrictions. For more information, see Object * Key and Metadata in the Amazon S3 Developer Guide.
The
* following are examples of valid Prefix
values:
* JournalExports-ForMyLedger/Testing/
* JournalExports
My:Tests/
The prefix for the Amazon S3 bucket in which a journal export job writes the * journal contents.
The prefix must comply with Amazon S3 key naming rules * and restrictions. For more information, see Object * Key and Metadata in the Amazon S3 Developer Guide.
The
* following are examples of valid Prefix
values:
* JournalExports-ForMyLedger/Testing/
* JournalExports
My:Tests/
The prefix for the Amazon S3 bucket in which a journal export job writes the * journal contents.
The prefix must comply with Amazon S3 key naming rules * and restrictions. For more information, see Object * Key and Metadata in the Amazon S3 Developer Guide.
The
* following are examples of valid Prefix
values:
* JournalExports-ForMyLedger/Testing/
* JournalExports
My:Tests/
The prefix for the Amazon S3 bucket in which a journal export job writes the * journal contents.
The prefix must comply with Amazon S3 key naming rules * and restrictions. For more information, see Object * Key and Metadata in the Amazon S3 Developer Guide.
The
* following are examples of valid Prefix
values:
* JournalExports-ForMyLedger/Testing/
* JournalExports
My:Tests/
The prefix for the Amazon S3 bucket in which a journal export job writes the * journal contents.
The prefix must comply with Amazon S3 key naming rules * and restrictions. For more information, see Object * Key and Metadata in the Amazon S3 Developer Guide.
The
* following are examples of valid Prefix
values:
* JournalExports-ForMyLedger/Testing/
* JournalExports
My:Tests/
The prefix for the Amazon S3 bucket in which a journal export job writes the * journal contents.
The prefix must comply with Amazon S3 key naming rules * and restrictions. For more information, see Object * Key and Metadata in the Amazon S3 Developer Guide.
The
* following are examples of valid Prefix
values:
* JournalExports-ForMyLedger/Testing/
* JournalExports
My:Tests/
The prefix for the Amazon S3 bucket in which a journal export job writes the * journal contents.
The prefix must comply with Amazon S3 key naming rules * and restrictions. For more information, see Object * Key and Metadata in the Amazon S3 Developer Guide.
The
* following are examples of valid Prefix
values:
* JournalExports-ForMyLedger/Testing/
* JournalExports
My:Tests/
The encryption settings that are used by a journal export job to write data * in an Amazon S3 bucket.
*/ inline const S3EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; } /** *The encryption settings that are used by a journal export job to write data * in an Amazon S3 bucket.
*/ inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; } /** *The encryption settings that are used by a journal export job to write data * in an Amazon S3 bucket.
*/ inline void SetEncryptionConfiguration(const S3EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; } /** *The encryption settings that are used by a journal export job to write data * in an Amazon S3 bucket.
*/ inline void SetEncryptionConfiguration(S3EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); } /** *The encryption settings that are used by a journal export job to write data * in an Amazon S3 bucket.
*/ inline S3ExportConfiguration& WithEncryptionConfiguration(const S3EncryptionConfiguration& value) { SetEncryptionConfiguration(value); return *this;} /** *The encryption settings that are used by a journal export job to write data * in an Amazon S3 bucket.
*/ inline S3ExportConfiguration& WithEncryptionConfiguration(S3EncryptionConfiguration&& value) { SetEncryptionConfiguration(std::move(value)); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; S3EncryptionConfiguration m_encryptionConfiguration; bool m_encryptionConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QLDB } // namespace Aws