/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies information about where to publish analysis or configuration
* results for an Amazon S3 bucket and S3 Replication Time Control (S3
* RTC).See Also:
AWS API
* Reference
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.
*/ inline Destination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.
*/ inline Destination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.
*/ inline Destination& WithBucket(const char* value) { SetBucket(value); return *this;} /** *Destination bucket owner account ID. In a cross-account scenario, if you
* direct Amazon S3 to change replica ownership to the Amazon Web Services account
* that owns the destination bucket by specifying the
* AccessControlTranslation
property, this is the account ID of the
* destination bucket owner. For more information, see Replication
* Additional Configuration: Changing the Replica Owner in the Amazon S3
* User Guide.
Destination bucket owner account ID. In a cross-account scenario, if you
* direct Amazon S3 to change replica ownership to the Amazon Web Services account
* that owns the destination bucket by specifying the
* AccessControlTranslation
property, this is the account ID of the
* destination bucket owner. For more information, see Replication
* Additional Configuration: Changing the Replica Owner in the Amazon S3
* User Guide.
Destination bucket owner account ID. In a cross-account scenario, if you
* direct Amazon S3 to change replica ownership to the Amazon Web Services account
* that owns the destination bucket by specifying the
* AccessControlTranslation
property, this is the account ID of the
* destination bucket owner. For more information, see Replication
* Additional Configuration: Changing the Replica Owner in the Amazon S3
* User Guide.
Destination bucket owner account ID. In a cross-account scenario, if you
* direct Amazon S3 to change replica ownership to the Amazon Web Services account
* that owns the destination bucket by specifying the
* AccessControlTranslation
property, this is the account ID of the
* destination bucket owner. For more information, see Replication
* Additional Configuration: Changing the Replica Owner in the Amazon S3
* User Guide.
Destination bucket owner account ID. In a cross-account scenario, if you
* direct Amazon S3 to change replica ownership to the Amazon Web Services account
* that owns the destination bucket by specifying the
* AccessControlTranslation
property, this is the account ID of the
* destination bucket owner. For more information, see Replication
* Additional Configuration: Changing the Replica Owner in the Amazon S3
* User Guide.
Destination bucket owner account ID. In a cross-account scenario, if you
* direct Amazon S3 to change replica ownership to the Amazon Web Services account
* that owns the destination bucket by specifying the
* AccessControlTranslation
property, this is the account ID of the
* destination bucket owner. For more information, see Replication
* Additional Configuration: Changing the Replica Owner in the Amazon S3
* User Guide.
Destination bucket owner account ID. In a cross-account scenario, if you
* direct Amazon S3 to change replica ownership to the Amazon Web Services account
* that owns the destination bucket by specifying the
* AccessControlTranslation
property, this is the account ID of the
* destination bucket owner. For more information, see Replication
* Additional Configuration: Changing the Replica Owner in the Amazon S3
* User Guide.
Destination bucket owner account ID. In a cross-account scenario, if you
* direct Amazon S3 to change replica ownership to the Amazon Web Services account
* that owns the destination bucket by specifying the
* AccessControlTranslation
property, this is the account ID of the
* destination bucket owner. For more information, see Replication
* Additional Configuration: Changing the Replica Owner in the Amazon S3
* User Guide.
The storage class to use when replicating objects, such as S3 Standard or * reduced redundancy. By default, Amazon S3 uses the storage class of the source * object to create the object replica.
For valid values, see the
* StorageClass
element of the PUT
* Bucket replication action in the Amazon S3 API Reference.
The storage class to use when replicating objects, such as S3 Standard or * reduced redundancy. By default, Amazon S3 uses the storage class of the source * object to create the object replica.
For valid values, see the
* StorageClass
element of the PUT
* Bucket replication action in the Amazon S3 API Reference.
The storage class to use when replicating objects, such as S3 Standard or * reduced redundancy. By default, Amazon S3 uses the storage class of the source * object to create the object replica.
For valid values, see the
* StorageClass
element of the PUT
* Bucket replication action in the Amazon S3 API Reference.
The storage class to use when replicating objects, such as S3 Standard or * reduced redundancy. By default, Amazon S3 uses the storage class of the source * object to create the object replica.
For valid values, see the
* StorageClass
element of the PUT
* Bucket replication action in the Amazon S3 API Reference.
The storage class to use when replicating objects, such as S3 Standard or * reduced redundancy. By default, Amazon S3 uses the storage class of the source * object to create the object replica.
For valid values, see the
* StorageClass
element of the PUT
* Bucket replication action in the Amazon S3 API Reference.
The storage class to use when replicating objects, such as S3 Standard or * reduced redundancy. By default, Amazon S3 uses the storage class of the source * object to create the object replica.
For valid values, see the
* StorageClass
element of the PUT
* Bucket replication action in the Amazon S3 API Reference.
Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the * Amazon Web Services account that owns the destination bucket. If this is not * specified in the replication configuration, the replicas are owned by same * Amazon Web Services account that owns the source object.
*/ inline const AccessControlTranslation& GetAccessControlTranslation() const{ return m_accessControlTranslation; } /** *Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the * Amazon Web Services account that owns the destination bucket. If this is not * specified in the replication configuration, the replicas are owned by same * Amazon Web Services account that owns the source object.
*/ inline bool AccessControlTranslationHasBeenSet() const { return m_accessControlTranslationHasBeenSet; } /** *Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the * Amazon Web Services account that owns the destination bucket. If this is not * specified in the replication configuration, the replicas are owned by same * Amazon Web Services account that owns the source object.
*/ inline void SetAccessControlTranslation(const AccessControlTranslation& value) { m_accessControlTranslationHasBeenSet = true; m_accessControlTranslation = value; } /** *Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the * Amazon Web Services account that owns the destination bucket. If this is not * specified in the replication configuration, the replicas are owned by same * Amazon Web Services account that owns the source object.
*/ inline void SetAccessControlTranslation(AccessControlTranslation&& value) { m_accessControlTranslationHasBeenSet = true; m_accessControlTranslation = std::move(value); } /** *Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the * Amazon Web Services account that owns the destination bucket. If this is not * specified in the replication configuration, the replicas are owned by same * Amazon Web Services account that owns the source object.
*/ inline Destination& WithAccessControlTranslation(const AccessControlTranslation& value) { SetAccessControlTranslation(value); return *this;} /** *Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the * Amazon Web Services account that owns the destination bucket. If this is not * specified in the replication configuration, the replicas are owned by same * Amazon Web Services account that owns the source object.
*/ inline Destination& WithAccessControlTranslation(AccessControlTranslation&& value) { SetAccessControlTranslation(std::move(value)); return *this;} /** *A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
A container specifying S3 Replication Time Control (S3 RTC), including
* whether S3 RTC is enabled and the time when all objects and operations on
* objects must be replicated. Must be specified together with a
* Metrics
block.
A container specifying S3 Replication Time Control (S3 RTC), including
* whether S3 RTC is enabled and the time when all objects and operations on
* objects must be replicated. Must be specified together with a
* Metrics
block.
A container specifying S3 Replication Time Control (S3 RTC), including
* whether S3 RTC is enabled and the time when all objects and operations on
* objects must be replicated. Must be specified together with a
* Metrics
block.
A container specifying S3 Replication Time Control (S3 RTC), including
* whether S3 RTC is enabled and the time when all objects and operations on
* objects must be replicated. Must be specified together with a
* Metrics
block.
A container specifying S3 Replication Time Control (S3 RTC), including
* whether S3 RTC is enabled and the time when all objects and operations on
* objects must be replicated. Must be specified together with a
* Metrics
block.
A container specifying S3 Replication Time Control (S3 RTC), including
* whether S3 RTC is enabled and the time when all objects and operations on
* objects must be replicated. Must be specified together with a
* Metrics
block.
A container specifying replication metrics-related settings enabling * replication metrics and events.
*/ inline const Metrics& GetMetrics() const{ return m_metrics; } /** *A container specifying replication metrics-related settings enabling * replication metrics and events.
*/ inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } /** *A container specifying replication metrics-related settings enabling * replication metrics and events.
*/ inline void SetMetrics(const Metrics& value) { m_metricsHasBeenSet = true; m_metrics = value; } /** *A container specifying replication metrics-related settings enabling * replication metrics and events.
*/ inline void SetMetrics(Metrics&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); } /** *A container specifying replication metrics-related settings enabling * replication metrics and events.
*/ inline Destination& WithMetrics(const Metrics& value) { SetMetrics(value); return *this;} /** *A container specifying replication metrics-related settings enabling * replication metrics and events.
*/ inline Destination& WithMetrics(Metrics&& value) { SetMetrics(std::move(value)); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet; Aws::String m_account; bool m_accountHasBeenSet; StorageClass m_storageClass; bool m_storageClassHasBeenSet; AccessControlTranslation m_accessControlTranslation; bool m_accessControlTranslationHasBeenSet; EncryptionConfiguration m_encryptionConfiguration; bool m_encryptionConfigurationHasBeenSet; ReplicationTime m_replicationTime; bool m_replicationTimeHasBeenSet; Metrics m_metrics; bool m_metricsHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws