/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies information about the replication destination bucket and its
* settings for an S3 on Outposts replication configuration.See
* Also:
AWS
* API Reference
The destination bucket owner's account ID.
*/ inline const Aws::String& GetAccount() const{ return m_account; } /** *The destination bucket owner's account ID.
*/ inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; } /** *The destination bucket owner's account ID.
*/ inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; } /** *The destination bucket owner's account ID.
*/ inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); } /** *The destination bucket owner's account ID.
*/ inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); } /** *The destination bucket owner's account ID.
*/ inline Destination& WithAccount(const Aws::String& value) { SetAccount(value); return *this;} /** *The destination bucket owner's account ID.
*/ inline Destination& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;} /** *The destination bucket owner's account ID.
*/ inline Destination& WithAccount(const char* value) { SetAccount(value); return *this;} /** *The Amazon Resource Name (ARN) of the access point for the destination bucket * where you want S3 on Outposts to store the replication results.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The Amazon Resource Name (ARN) of the access point for the destination bucket * where you want S3 on Outposts to store the replication results.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The Amazon Resource Name (ARN) of the access point for the destination bucket * where you want S3 on Outposts to store the replication results.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The Amazon Resource Name (ARN) of the access point for the destination bucket * where you want S3 on Outposts to store the replication results.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The Amazon Resource Name (ARN) of the access point for the destination bucket * where you want S3 on Outposts to store the replication results.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The Amazon Resource Name (ARN) of the access point for the destination bucket * where you want S3 on Outposts to store the replication results.
*/ inline Destination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The Amazon Resource Name (ARN) of the access point for the destination bucket * where you want S3 on Outposts to store the replication results.
*/ inline Destination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the access point for the destination bucket * where you want S3 on Outposts to store the replication results.
*/ inline Destination& WithBucket(const char* value) { SetBucket(value); return *this;} /** *A container that specifies S3 Replication Time Control (S3 RTC) settings,
* 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.
This is not supported by Amazon S3 on * Outposts buckets.
*/ inline const ReplicationTime& GetReplicationTime() const{ return m_replicationTime; } /** *A container that specifies S3 Replication Time Control (S3 RTC) settings,
* 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.
This is not supported by Amazon S3 on * Outposts buckets.
*/ inline bool ReplicationTimeHasBeenSet() const { return m_replicationTimeHasBeenSet; } /** *A container that specifies S3 Replication Time Control (S3 RTC) settings,
* 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.
This is not supported by Amazon S3 on * Outposts buckets.
*/ inline void SetReplicationTime(const ReplicationTime& value) { m_replicationTimeHasBeenSet = true; m_replicationTime = value; } /** *A container that specifies S3 Replication Time Control (S3 RTC) settings,
* 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.
This is not supported by Amazon S3 on * Outposts buckets.
*/ inline void SetReplicationTime(ReplicationTime&& value) { m_replicationTimeHasBeenSet = true; m_replicationTime = std::move(value); } /** *A container that specifies S3 Replication Time Control (S3 RTC) settings,
* 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.
This is not supported by Amazon S3 on * Outposts buckets.
*/ inline Destination& WithReplicationTime(const ReplicationTime& value) { SetReplicationTime(value); return *this;} /** *A container that specifies S3 Replication Time Control (S3 RTC) settings,
* 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.
This is not supported by Amazon S3 on * Outposts buckets.
*/ inline Destination& WithReplicationTime(ReplicationTime&& value) { SetReplicationTime(std::move(value)); return *this;} /** *Specify this property only in a cross-account scenario (where the 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 property is not specified in the replication configuration, the replicas * are owned by same Amazon Web Services account that owns the source object.
*This is not supported by Amazon S3 on Outposts buckets.
*/ inline const AccessControlTranslation& GetAccessControlTranslation() const{ return m_accessControlTranslation; } /** *Specify this property only in a cross-account scenario (where the 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 property is not specified in the replication configuration, the replicas * are owned by same Amazon Web Services account that owns the source object.
*This is not supported by Amazon S3 on Outposts buckets.
*/ inline bool AccessControlTranslationHasBeenSet() const { return m_accessControlTranslationHasBeenSet; } /** *Specify this property only in a cross-account scenario (where the 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 property is not specified in the replication configuration, the replicas * are owned by same Amazon Web Services account that owns the source object.
*This is not supported by Amazon S3 on Outposts buckets.
*/ inline void SetAccessControlTranslation(const AccessControlTranslation& value) { m_accessControlTranslationHasBeenSet = true; m_accessControlTranslation = value; } /** *Specify this property only in a cross-account scenario (where the 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 property is not specified in the replication configuration, the replicas * are owned by same Amazon Web Services account that owns the source object.
*This is not supported by Amazon S3 on Outposts buckets.
*/ inline void SetAccessControlTranslation(AccessControlTranslation&& value) { m_accessControlTranslationHasBeenSet = true; m_accessControlTranslation = std::move(value); } /** *Specify this property only in a cross-account scenario (where the 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 property is not specified in the replication configuration, the replicas * are owned by same Amazon Web Services account that owns the source object.
*This is not supported by Amazon S3 on Outposts buckets.
*/ inline Destination& WithAccessControlTranslation(const AccessControlTranslation& value) { SetAccessControlTranslation(value); return *this;} /** *Specify this property only in a cross-account scenario (where the 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 property is not specified in the replication configuration, the replicas * are owned by same Amazon Web Services account that owns the source object.
*This is not supported by Amazon S3 on Outposts buckets.
*/ 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.
This is not supported by Amazon S3 on Outposts * buckets.
*/ inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; } /** *A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
This is not supported by Amazon S3 on Outposts * buckets.
*/ inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; } /** *A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
This is not supported by Amazon S3 on Outposts * buckets.
*/ inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; } /** *A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
This is not supported by Amazon S3 on Outposts * buckets.
*/ inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); } /** *A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
This is not supported by Amazon S3 on Outposts * buckets.
*/ inline Destination& WithEncryptionConfiguration(const EncryptionConfiguration& value) { SetEncryptionConfiguration(value); return *this;} /** *A container that provides information about encryption. If
* SourceSelectionCriteria
is specified, you must specify this
* element.
This is not supported by Amazon S3 on Outposts * buckets.
*/ inline Destination& WithEncryptionConfiguration(EncryptionConfiguration&& value) { SetEncryptionConfiguration(std::move(value)); return *this;} /** *A container that specifies replication metrics-related settings.
*/ inline const Metrics& GetMetrics() const{ return m_metrics; } /** *A container that specifies replication metrics-related settings.
*/ inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } /** *A container that specifies replication metrics-related settings.
*/ inline void SetMetrics(const Metrics& value) { m_metricsHasBeenSet = true; m_metrics = value; } /** *A container that specifies replication metrics-related settings.
*/ inline void SetMetrics(Metrics&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); } /** *A container that specifies replication metrics-related settings.
*/ inline Destination& WithMetrics(const Metrics& value) { SetMetrics(value); return *this;} /** *A container that specifies replication metrics-related settings.
*/ inline Destination& WithMetrics(Metrics&& value) { SetMetrics(std::move(value)); return *this;} /** * The storage class to use when replicating objects. All objects stored on S3
* on Outposts are stored in the OUTPOSTS
storage class. S3 on
* Outposts uses the OUTPOSTS
storage class to create the object
* replicas.
Values other than OUTPOSTS
are not
* supported by Amazon S3 on Outposts.
The storage class to use when replicating objects. All objects stored on S3
* on Outposts are stored in the OUTPOSTS
storage class. S3 on
* Outposts uses the OUTPOSTS
storage class to create the object
* replicas.
Values other than OUTPOSTS
are not
* supported by Amazon S3 on Outposts.
The storage class to use when replicating objects. All objects stored on S3
* on Outposts are stored in the OUTPOSTS
storage class. S3 on
* Outposts uses the OUTPOSTS
storage class to create the object
* replicas.
Values other than OUTPOSTS
are not
* supported by Amazon S3 on Outposts.
The storage class to use when replicating objects. All objects stored on S3
* on Outposts are stored in the OUTPOSTS
storage class. S3 on
* Outposts uses the OUTPOSTS
storage class to create the object
* replicas.
Values other than OUTPOSTS
are not
* supported by Amazon S3 on Outposts.
The storage class to use when replicating objects. All objects stored on S3
* on Outposts are stored in the OUTPOSTS
storage class. S3 on
* Outposts uses the OUTPOSTS
storage class to create the object
* replicas.
Values other than OUTPOSTS
are not
* supported by Amazon S3 on Outposts.
The storage class to use when replicating objects. All objects stored on S3
* on Outposts are stored in the OUTPOSTS
storage class. S3 on
* Outposts uses the OUTPOSTS
storage class to create the object
* replicas.
Values other than OUTPOSTS
are not
* supported by Amazon S3 on Outposts.