7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/StorageClass.h>
10#include <aws/s3/model/AccessControlTranslation.h>
11#include <aws/s3/model/EncryptionConfiguration.h>
12#include <aws/s3/model/ReplicationTime.h>
13#include <aws/s3/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;
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
Destination & WithAccount(Aws::String &&value)
const AccessControlTranslation & GetAccessControlTranslation() const
bool StorageClassHasBeenSet() const
Destination & WithReplicationTime(ReplicationTime &&value)
void SetAccount(Aws::String &&value)
Destination & WithReplicationTime(const ReplicationTime &value)
void SetAccessControlTranslation(const AccessControlTranslation &value)
Destination & WithMetrics(const Metrics &value)
Destination & WithBucket(Aws::String &&value)
const StorageClass & GetStorageClass() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool BucketHasBeenSet() const
Destination & WithAccessControlTranslation(AccessControlTranslation &&value)
AWS_S3_API Destination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Destination & WithAccount(const Aws::String &value)
Destination & WithBucket(const char *value)
const ReplicationTime & GetReplicationTime() const
Destination & WithEncryptionConfiguration(const EncryptionConfiguration &value)
void SetBucket(const Aws::String &value)
Destination & WithEncryptionConfiguration(EncryptionConfiguration &&value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
void SetBucket(const char *value)
const Aws::String & GetBucket() const
void SetStorageClass(StorageClass &&value)
Destination & WithAccount(const char *value)
void SetMetrics(const Metrics &value)
void SetAccount(const char *value)
bool ReplicationTimeHasBeenSet() const
const Aws::String & GetAccount() const
bool AccessControlTranslationHasBeenSet() const
Destination & WithMetrics(Metrics &&value)
void SetAccount(const Aws::String &value)
Destination & WithAccessControlTranslation(const AccessControlTranslation &value)
bool AccountHasBeenSet() const
Destination & WithStorageClass(StorageClass &&value)
Destination & WithStorageClass(const StorageClass &value)
Destination & WithBucket(const Aws::String &value)
void SetMetrics(Metrics &&value)
void SetReplicationTime(ReplicationTime &&value)
void SetBucket(Aws::String &&value)
void SetReplicationTime(const ReplicationTime &value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
void SetStorageClass(const StorageClass &value)
bool EncryptionConfigurationHasBeenSet() const
void SetAccessControlTranslation(AccessControlTranslation &&value)
AWS_S3_API Destination(const Aws::Utils::Xml::XmlNode &xmlNode)
const Metrics & GetMetrics() const
bool MetricsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String