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