/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides replication details of Amazon Security Lake object.See
* Also:
AWS
* API Reference
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::VectorReplication 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::VectorReplication 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::VectorReplication 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::VectorReplication 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::VectorReplication 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