7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3Control_EXPORTS.h>
9#include <aws/s3control/model/DeleteMarkerReplication.h>
10#include <aws/s3control/model/Destination.h>
11#include <aws/s3control/model/ExistingObjectReplication.h>
12#include <aws/s3control/model/ReplicationRuleFilter.h>
13#include <aws/s3control/model/ReplicationRuleStatus.h>
14#include <aws/s3control/model/SourceSelectionCriteria.h>
47 template <
typename IDT = Aws::String>
49 m_iDHasBeenSet =
true;
50 m_iD = std::forward<IDT>(value);
52 template <
typename IDT = Aws::String>
54 SetID(std::forward<IDT>(value));
73 m_priorityHasBeenSet =
true;
90 template <
typename FilterT = ReplicationRuleFilter>
92 m_filterHasBeenSet =
true;
93 m_filter = std::forward<FilterT>(value);
95 template <
typename FilterT = ReplicationRuleFilter>
109 m_statusHasBeenSet =
true;
126 template <
typename SourceSelectionCriteriaT = SourceSelectionCriteria>
128 m_sourceSelectionCriteriaHasBeenSet =
true;
129 m_sourceSelectionCriteria = std::forward<SourceSelectionCriteriaT>(value);
131 template <
typename SourceSelectionCriteriaT = SourceSelectionCriteria>
145 template <
typename ExistingObjectReplicationT = ExistingObjectReplication>
147 m_existingObjectReplicationHasBeenSet =
true;
148 m_existingObjectReplication = std::forward<ExistingObjectReplicationT>(value);
150 template <
typename ExistingObjectReplicationT = ExistingObjectReplication>
164 template <
typename DestinationT = Destination>
166 m_destinationHasBeenSet =
true;
167 m_destination = std::forward<DestinationT>(value);
169 template <
typename DestinationT = Destination>
192 template <
typename DeleteMarkerReplicationT = DeleteMarkerReplication>
194 m_deleteMarkerReplicationHasBeenSet =
true;
195 m_deleteMarkerReplication = std::forward<DeleteMarkerReplicationT>(value);
197 template <
typename DeleteMarkerReplicationT = DeleteMarkerReplication>
211 template <
typename BucketT = Aws::String>
213 m_bucketHasBeenSet =
true;
214 m_bucket = std::forward<BucketT>(value);
216 template <
typename BucketT = Aws::String>
227 ReplicationRuleFilter m_filter;
231 SourceSelectionCriteria m_sourceSelectionCriteria;
233 ExistingObjectReplication m_existingObjectReplication;
235 Destination m_destination;
237 DeleteMarkerReplication m_deleteMarkerReplication;
240 bool m_iDHasBeenSet =
false;
241 bool m_priorityHasBeenSet =
false;
242 bool m_filterHasBeenSet =
false;
243 bool m_statusHasBeenSet =
false;
244 bool m_sourceSelectionCriteriaHasBeenSet =
false;
245 bool m_existingObjectReplicationHasBeenSet =
false;
246 bool m_destinationHasBeenSet =
false;
247 bool m_deleteMarkerReplicationHasBeenSet =
false;
248 bool m_bucketHasBeenSet =
false;
bool FilterHasBeenSet() const
ReplicationRule & WithSourceSelectionCriteria(SourceSelectionCriteriaT &&value)
const Aws::String & GetID() const
AWS_S3CONTROL_API ReplicationRule()=default
void SetDestination(DestinationT &&value)
bool PriorityHasBeenSet() const
void SetSourceSelectionCriteria(SourceSelectionCriteriaT &&value)
bool ExistingObjectReplicationHasBeenSet() const
ReplicationRule & WithFilter(FilterT &&value)
bool DeleteMarkerReplicationHasBeenSet() const
void SetStatus(ReplicationRuleStatus value)
void SetFilter(FilterT &&value)
bool IDHasBeenSet() const
void SetBucket(BucketT &&value)
void SetDeleteMarkerReplication(DeleteMarkerReplicationT &&value)
bool SourceSelectionCriteriaHasBeenSet() const
const ExistingObjectReplication & GetExistingObjectReplication() const
const DeleteMarkerReplication & GetDeleteMarkerReplication() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const ReplicationRuleFilter & GetFilter() const
ReplicationRule & WithBucket(BucketT &&value)
bool StatusHasBeenSet() const
void SetPriority(int value)
AWS_S3CONTROL_API ReplicationRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationRule & WithID(IDT &&value)
void SetExistingObjectReplication(ExistingObjectReplicationT &&value)
bool BucketHasBeenSet() const
ReplicationRule & WithDeleteMarkerReplication(DeleteMarkerReplicationT &&value)
ReplicationRule & WithPriority(int value)
ReplicationRule & WithExistingObjectReplication(ExistingObjectReplicationT &&value)
ReplicationRule & WithStatus(ReplicationRuleStatus value)
ReplicationRuleStatus GetStatus() const
ReplicationRule & WithDestination(DestinationT &&value)
const SourceSelectionCriteria & GetSourceSelectionCriteria() const
const Destination & GetDestination() const
bool DestinationHasBeenSet() const
AWS_S3CONTROL_API ReplicationRule(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetBucket() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String