/** * 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 SecurityLake { namespace Model { /** *

Provides replication details of Amazon Security Lake object.

See * Also:

AWS * API Reference

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

Replication enables automatic, asynchronous copying of objects across Amazon * S3 buckets. Amazon S3 buckets that are configured for object replication can be * owned by the same Amazon Web Services account or by different accounts. You can * replicate objects to a single destination bucket or to multiple destination * buckets. The destination buckets can be in different Amazon Web Services Regions * or within the same Region as the source bucket.

Set up one or more rollup * Regions by providing the Region or Regions that should contribute to the central * rollup Region.

*/ inline const Aws::Vector& GetRegions() const{ return m_regions; } /** *

Replication enables automatic, asynchronous copying of objects across Amazon * S3 buckets. Amazon S3 buckets that are configured for object replication can be * owned by the same Amazon Web Services account or by different accounts. You can * replicate objects to a single destination bucket or to multiple destination * buckets. The destination buckets can be in different Amazon Web Services Regions * or within the same Region as the source bucket.

Set up one or more rollup * Regions by providing the Region or Regions that should contribute to the central * rollup Region.

*/ inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; } /** *

Replication enables automatic, asynchronous copying of objects across Amazon * S3 buckets. Amazon S3 buckets that are configured for object replication can be * owned by the same Amazon Web Services account or by different accounts. You can * replicate objects to a single destination bucket or to multiple destination * buckets. The destination buckets can be in different Amazon Web Services Regions * or within the same Region as the source bucket.

Set up one or more rollup * Regions by providing the Region or Regions that should contribute to the central * rollup Region.

*/ inline void SetRegions(const Aws::Vector& value) { m_regionsHasBeenSet = true; m_regions = value; } /** *

Replication enables automatic, asynchronous copying of objects across Amazon * S3 buckets. Amazon S3 buckets that are configured for object replication can be * owned by the same Amazon Web Services account or by different accounts. You can * replicate objects to a single destination bucket or to multiple destination * buckets. The destination buckets can be in different Amazon Web Services Regions * or within the same Region as the source bucket.

Set up one or more rollup * Regions by providing the Region or Regions that should contribute to the central * rollup Region.

*/ inline void SetRegions(Aws::Vector&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); } /** *

Replication enables automatic, asynchronous copying of objects across Amazon * S3 buckets. Amazon S3 buckets that are configured for object replication can be * owned by the same Amazon Web Services account or by different accounts. You can * replicate objects to a single destination bucket or to multiple destination * buckets. The destination buckets can be in different Amazon Web Services Regions * or within the same Region as the source bucket.

Set up one or more rollup * Regions by providing the Region or Regions that should contribute to the central * rollup Region.

*/ inline DataLakeReplicationConfiguration& WithRegions(const Aws::Vector& value) { SetRegions(value); return *this;} /** *

Replication enables automatic, asynchronous copying of objects across Amazon * S3 buckets. Amazon S3 buckets that are configured for object replication can be * owned by the same Amazon Web Services account or by different accounts. You can * replicate objects to a single destination bucket or to multiple destination * buckets. The destination buckets can be in different Amazon Web Services Regions * or within the same Region as the source bucket.

Set up one or more rollup * Regions by providing the Region or Regions that should contribute to the central * rollup Region.

*/ inline DataLakeReplicationConfiguration& WithRegions(Aws::Vector&& value) { SetRegions(std::move(value)); return *this;} /** *

Replication enables automatic, asynchronous copying of objects across Amazon * S3 buckets. Amazon S3 buckets that are configured for object replication can be * owned by the same Amazon Web Services account or by different accounts. You can * replicate objects to a single destination bucket or to multiple destination * buckets. The destination buckets can be in different Amazon Web Services Regions * or within the same Region as the source bucket.

Set up one or more rollup * Regions by providing the Region or Regions that should contribute to the central * rollup Region.

*/ inline DataLakeReplicationConfiguration& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *

Replication enables automatic, asynchronous copying of objects across Amazon * S3 buckets. Amazon S3 buckets that are configured for object replication can be * owned by the same Amazon Web Services account or by different accounts. You can * replicate objects to a single destination bucket or to multiple destination * buckets. The destination buckets can be in different Amazon Web Services Regions * or within the same Region as the source bucket.

Set up one or more rollup * Regions by providing the Region or Regions that should contribute to the central * rollup Region.

*/ inline DataLakeReplicationConfiguration& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; } /** *

Replication enables automatic, asynchronous copying of objects across Amazon * S3 buckets. Amazon S3 buckets that are configured for object replication can be * owned by the same Amazon Web Services account or by different accounts. You can * replicate objects to a single destination bucket or to multiple destination * buckets. The destination buckets can be in different Amazon Web Services Regions * or within the same Region as the source bucket.

Set up one or more rollup * Regions by providing the Region or Regions that should contribute to the central * rollup Region.

*/ inline DataLakeReplicationConfiguration& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *

Replication settings for the Amazon S3 buckets. This parameter uses the * Identity and Access Management (IAM) role you created that is managed by * Security Lake, to ensure the replication setting is correct.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

Replication settings for the Amazon S3 buckets. This parameter uses the * Identity and Access Management (IAM) role you created that is managed by * Security Lake, to ensure the replication setting is correct.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

Replication settings for the Amazon S3 buckets. This parameter uses the * Identity and Access Management (IAM) role you created that is managed by * Security Lake, to ensure the replication setting is correct.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

Replication settings for the Amazon S3 buckets. This parameter uses the * Identity and Access Management (IAM) role you created that is managed by * Security Lake, to ensure the replication setting is correct.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

Replication settings for the Amazon S3 buckets. This parameter uses the * Identity and Access Management (IAM) role you created that is managed by * Security Lake, to ensure the replication setting is correct.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

Replication settings for the Amazon S3 buckets. This parameter uses the * Identity and Access Management (IAM) role you created that is managed by * Security Lake, to ensure the replication setting is correct.

*/ inline DataLakeReplicationConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

Replication settings for the Amazon S3 buckets. This parameter uses the * Identity and Access Management (IAM) role you created that is managed by * Security Lake, to ensure the replication setting is correct.

*/ inline DataLakeReplicationConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

Replication settings for the Amazon S3 buckets. This parameter uses the * Identity and Access Management (IAM) role you created that is managed by * Security Lake, to ensure the replication setting is correct.

*/ inline DataLakeReplicationConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::Vector m_regions; bool m_regionsHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws