7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/model/StorageClass.h>
10#include <aws/s3-crt/model/AccessControlTranslation.h>
11#include <aws/s3-crt/model/EncryptionConfiguration.h>
12#include <aws/s3-crt/model/ReplicationTime.h>
13#include <aws/s3-crt/model/Metrics.h>
56 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
77 inline void SetAccount(
const char* value) { m_accountHasBeenSet =
true; m_account.assign(value); }
153 inline void SetMetrics(
Metrics&& value) { m_metricsHasBeenSet =
true; m_metrics = std::move(value); }
160 bool m_bucketHasBeenSet =
false;
163 bool m_accountHasBeenSet =
false;
166 bool m_storageClassHasBeenSet =
false;
169 bool m_accessControlTranslationHasBeenSet =
false;
172 bool m_encryptionConfigurationHasBeenSet =
false;
175 bool m_replicationTimeHasBeenSet =
false;
178 bool m_metricsHasBeenSet =
false;
const EncryptionConfiguration & GetEncryptionConfiguration() const
void SetAccount(const Aws::String &value)
Destination & WithAccessControlTranslation(AccessControlTranslation &&value)
void SetMetrics(const Metrics &value)
bool StorageClassHasBeenSet() const
void SetAccount(Aws::String &&value)
Destination & WithReplicationTime(ReplicationTime &&value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
Destination & WithReplicationTime(const ReplicationTime &value)
Destination & WithStorageClass(const StorageClass &value)
bool BucketHasBeenSet() const
Destination & WithBucket(const char *value)
Destination & WithMetrics(const Metrics &value)
void SetBucket(const Aws::String &value)
AWS_S3CRT_API Destination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Destination & WithAccount(const Aws::String &value)
Destination & WithEncryptionConfiguration(const EncryptionConfiguration &value)
Destination & WithBucket(Aws::String &&value)
const Aws::String & GetBucket() const
bool MetricsHasBeenSet() const
void SetMetrics(Metrics &&value)
Destination & WithAccount(Aws::String &&value)
void SetAccessControlTranslation(const AccessControlTranslation &value)
void SetReplicationTime(const ReplicationTime &value)
void SetAccessControlTranslation(AccessControlTranslation &&value)
void SetBucket(Aws::String &&value)
const StorageClass & GetStorageClass() const
void SetBucket(const char *value)
Destination & WithMetrics(Metrics &&value)
Destination & WithBucket(const Aws::String &value)
bool ReplicationTimeHasBeenSet() const
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
void SetAccount(const char *value)
const AccessControlTranslation & GetAccessControlTranslation() const
Destination & WithAccount(const char *value)
AWS_S3CRT_API Destination()
const ReplicationTime & GetReplicationTime() const
void SetStorageClass(StorageClass &&value)
bool AccountHasBeenSet() const
AWS_S3CRT_API Destination(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStorageClass(const StorageClass &value)
void SetReplicationTime(ReplicationTime &&value)
Destination & WithEncryptionConfiguration(EncryptionConfiguration &&value)
const Aws::String & GetAccount() const
Destination & WithAccessControlTranslation(const AccessControlTranslation &value)
Destination & WithStorageClass(StorageClass &&value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool EncryptionConfigurationHasBeenSet() const
bool AccessControlTranslationHasBeenSet() const
const Metrics & GetMetrics() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String