7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/ReplicationRuleFilter.h>
10#include <aws/s3/model/ReplicationRuleStatus.h>
11#include <aws/s3/model/SourceSelectionCriteria.h>
12#include <aws/s3/model/ExistingObjectReplication.h>
13#include <aws/s3/model/Destination.h>
14#include <aws/s3/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; }
158 bool m_iDHasBeenSet =
false;
161 bool m_priorityHasBeenSet =
false;
164 bool m_filterHasBeenSet =
false;
167 bool m_statusHasBeenSet =
false;
170 bool m_sourceSelectionCriteriaHasBeenSet =
false;
173 bool m_existingObjectReplicationHasBeenSet =
false;
176 bool m_destinationHasBeenSet =
false;
179 bool m_deleteMarkerReplicationHasBeenSet =
false;
bool ExistingObjectReplicationHasBeenSet() const
ReplicationRule & WithDestination(Destination &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetDeleteMarkerReplication(DeleteMarkerReplication &&value)
void SetFilter(const ReplicationRuleFilter &value)
ReplicationRule & WithDestination(const Destination &value)
bool DestinationHasBeenSet() const
AWS_S3_API ReplicationRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const SourceSelectionCriteria & GetSourceSelectionCriteria() const
bool IDHasBeenSet() const
bool PriorityHasBeenSet() const
ReplicationRule & WithDeleteMarkerReplication(const DeleteMarkerReplication &value)
ReplicationRule & WithFilter(const ReplicationRuleFilter &value)
AWS_S3_API ReplicationRule(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API ReplicationRule()
const Aws::String & GetID() const
ReplicationRule & WithSourceSelectionCriteria(const SourceSelectionCriteria &value)
const ExistingObjectReplication & GetExistingObjectReplication() const
ReplicationRule & WithPriority(int value)
void SetID(Aws::String &&value)
const ReplicationRuleFilter & GetFilter() const
bool FilterHasBeenSet() const
ReplicationRule & WithID(const Aws::String &value)
ReplicationRule & WithID(const char *value)
ReplicationRule & WithStatus(const ReplicationRuleStatus &value)
ReplicationRule & WithDeleteMarkerReplication(DeleteMarkerReplication &&value)
bool StatusHasBeenSet() const
void SetExistingObjectReplication(const ExistingObjectReplication &value)
ReplicationRule & WithStatus(ReplicationRuleStatus &&value)
ReplicationRule & WithExistingObjectReplication(ExistingObjectReplication &&value)
void SetDestination(const Destination &value)
ReplicationRule & WithExistingObjectReplication(const ExistingObjectReplication &value)
void SetSourceSelectionCriteria(const SourceSelectionCriteria &value)
void SetStatus(const ReplicationRuleStatus &value)
const Destination & GetDestination() const
void SetDeleteMarkerReplication(const DeleteMarkerReplication &value)
void SetFilter(ReplicationRuleFilter &&value)
bool SourceSelectionCriteriaHasBeenSet() const
ReplicationRule & WithID(Aws::String &&value)
void SetDestination(Destination &&value)
void SetStatus(ReplicationRuleStatus &&value)
void SetExistingObjectReplication(ExistingObjectReplication &&value)
const ReplicationRuleStatus & GetStatus() const
void SetSourceSelectionCriteria(SourceSelectionCriteria &&value)
ReplicationRule & WithSourceSelectionCriteria(SourceSelectionCriteria &&value)
void SetID(const char *value)
const DeleteMarkerReplication & GetDeleteMarkerReplication() const
bool DeleteMarkerReplicationHasBeenSet() const
void SetID(const Aws::String &value)
void SetPriority(int value)
ReplicationRule & WithFilter(ReplicationRuleFilter &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String