/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QLDB { namespace Model { /** *

The Amazon Simple Storage Service (Amazon S3) bucket location in which a * journal export job writes the journal contents.

See Also:

AWS * API Reference

*/ class S3ExportConfiguration { public: AWS_QLDB_API S3ExportConfiguration(); AWS_QLDB_API S3ExportConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_QLDB_API S3ExportConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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/

    *
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *

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/

    *
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *

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/

    *
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *

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/

    *
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *

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/

    *
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *

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/

    *
*/ inline S3ExportConfiguration& WithPrefix(const Aws::String& value) { SetPrefix(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/

    *
*/ inline S3ExportConfiguration& WithPrefix(Aws::String&& value) { SetPrefix(std::move(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/

    *
*/ inline S3ExportConfiguration& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** *

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