7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/model/ReplicationRuleFilter.h>
10#include <aws/s3control/model/ReplicationRuleStatus.h>
11#include <aws/s3control/model/SourceSelectionCriteria.h>
12#include <aws/s3control/model/ExistingObjectReplication.h>
13#include <aws/s3control/model/Destination.h>
14#include <aws/s3control/model/DeleteMarkerReplication.h>
54 inline void SetID(
Aws::String&& value) { m_iDHasBeenSet =
true; m_iD = std::move(value); }
55 inline void SetID(
const char* value) { m_iDHasBeenSet =
true; m_iD.assign(value); }
74 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
175 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
183 bool m_iDHasBeenSet =
false;
186 bool m_priorityHasBeenSet =
false;
189 bool m_filterHasBeenSet =
false;
192 bool m_statusHasBeenSet =
false;
195 bool m_sourceSelectionCriteriaHasBeenSet =
false;
198 bool m_existingObjectReplicationHasBeenSet =
false;
201 bool m_destinationHasBeenSet =
false;
204 bool m_deleteMarkerReplicationHasBeenSet =
false;
207 bool m_bucketHasBeenSet =
false;
bool FilterHasBeenSet() const
const Aws::String & GetID() const
void SetStatus(const ReplicationRuleStatus &value)
void SetID(const char *value)
ReplicationRule & WithFilter(ReplicationRuleFilter &&value)
void SetBucket(Aws::String &&value)
ReplicationRule & WithID(const char *value)
bool PriorityHasBeenSet() const
bool ExistingObjectReplicationHasBeenSet() const
bool DeleteMarkerReplicationHasBeenSet() const
ReplicationRule & WithDestination(const Destination &value)
bool IDHasBeenSet() const
void SetBucket(const char *value)
void SetStatus(ReplicationRuleStatus &&value)
bool SourceSelectionCriteriaHasBeenSet() const
const ExistingObjectReplication & GetExistingObjectReplication() const
ReplicationRule & WithSourceSelectionCriteria(SourceSelectionCriteria &&value)
void SetDeleteMarkerReplication(const DeleteMarkerReplication &value)
void SetSourceSelectionCriteria(const SourceSelectionCriteria &value)
void SetSourceSelectionCriteria(SourceSelectionCriteria &&value)
const DeleteMarkerReplication & GetDeleteMarkerReplication() const
ReplicationRule & WithBucket(const char *value)
ReplicationRule & WithStatus(const ReplicationRuleStatus &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const ReplicationRuleFilter & GetFilter() const
bool StatusHasBeenSet() const
void SetPriority(int value)
AWS_S3CONTROL_API ReplicationRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationRule & WithDestination(Destination &&value)
ReplicationRule & WithStatus(ReplicationRuleStatus &&value)
void SetDestination(const Destination &value)
void SetID(const Aws::String &value)
bool BucketHasBeenSet() const
ReplicationRule & WithBucket(const Aws::String &value)
ReplicationRule & WithPriority(int value)
void SetBucket(const Aws::String &value)
void SetExistingObjectReplication(ExistingObjectReplication &&value)
void SetID(Aws::String &&value)
ReplicationRule & WithID(Aws::String &&value)
ReplicationRule & WithExistingObjectReplication(ExistingObjectReplication &&value)
const SourceSelectionCriteria & GetSourceSelectionCriteria() const
const Destination & GetDestination() const
ReplicationRule & WithID(const Aws::String &value)
bool DestinationHasBeenSet() const
ReplicationRule & WithBucket(Aws::String &&value)
ReplicationRule & WithSourceSelectionCriteria(const SourceSelectionCriteria &value)
AWS_S3CONTROL_API ReplicationRule(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationRule & WithExistingObjectReplication(const ExistingObjectReplication &value)
void SetFilter(const ReplicationRuleFilter &value)
const Aws::String & GetBucket() const
ReplicationRule & WithDeleteMarkerReplication(const DeleteMarkerReplication &value)
void SetDestination(Destination &&value)
ReplicationRule & WithFilter(const ReplicationRuleFilter &value)
void SetDeleteMarkerReplication(DeleteMarkerReplication &&value)
ReplicationRule & WithDeleteMarkerReplication(DeleteMarkerReplication &&value)
const ReplicationRuleStatus & GetStatus() const
void SetFilter(ReplicationRuleFilter &&value)
void SetExistingObjectReplication(const ExistingObjectReplication &value)
AWS_S3CONTROL_API ReplicationRule()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String