7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3-crt/S3Crt_EXPORTS.h>
9#include <aws/s3-crt/model/DeleteMarkerReplication.h>
10#include <aws/s3-crt/model/Destination.h>
11#include <aws/s3-crt/model/ExistingObjectReplication.h>
12#include <aws/s3-crt/model/ReplicationRuleFilter.h>
13#include <aws/s3-crt/model/ReplicationRuleStatus.h>
14#include <aws/s3-crt/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;
86 template <
typename FilterT = ReplicationRuleFilter>
88 m_filterHasBeenSet =
true;
89 m_filter = std::forward<FilterT>(value);
91 template <
typename FilterT = ReplicationRuleFilter>
105 m_statusHasBeenSet =
true;
124 template <
typename SourceSelectionCriteriaT = SourceSelectionCriteria>
126 m_sourceSelectionCriteriaHasBeenSet =
true;
127 m_sourceSelectionCriteria = std::forward<SourceSelectionCriteriaT>(value);
129 template <
typename SourceSelectionCriteriaT = SourceSelectionCriteria>
147 template <
typename ExistingObjectReplicationT = ExistingObjectReplication>
149 m_existingObjectReplicationHasBeenSet =
true;
150 m_existingObjectReplication = std::forward<ExistingObjectReplicationT>(value);
152 template <
typename ExistingObjectReplicationT = ExistingObjectReplication>
166 template <
typename DestinationT = Destination>
168 m_destinationHasBeenSet =
true;
169 m_destination = std::forward<DestinationT>(value);
171 template <
typename DestinationT = Destination>
182 template <
typename DeleteMarkerReplicationT = DeleteMarkerReplication>
184 m_deleteMarkerReplicationHasBeenSet =
true;
185 m_deleteMarkerReplication = std::forward<DeleteMarkerReplicationT>(value);
187 template <
typename DeleteMarkerReplicationT = DeleteMarkerReplication>
198 ReplicationRuleFilter m_filter;
202 SourceSelectionCriteria m_sourceSelectionCriteria;
204 ExistingObjectReplication m_existingObjectReplication;
206 Destination m_destination;
208 DeleteMarkerReplication m_deleteMarkerReplication;
209 bool m_iDHasBeenSet =
false;
210 bool m_priorityHasBeenSet =
false;
211 bool m_filterHasBeenSet =
false;
212 bool m_statusHasBeenSet =
false;
213 bool m_sourceSelectionCriteriaHasBeenSet =
false;
214 bool m_existingObjectReplicationHasBeenSet =
false;
215 bool m_destinationHasBeenSet =
false;
216 bool m_deleteMarkerReplicationHasBeenSet =
false;
const ExistingObjectReplication & GetExistingObjectReplication() const
const ReplicationRuleFilter & GetFilter() const
AWS_S3CRT_API ReplicationRule(const Aws::Utils::Xml::XmlNode &xmlNode)
const Destination & GetDestination() const
bool PriorityHasBeenSet() const
void SetStatus(ReplicationRuleStatus value)
bool ExistingObjectReplicationHasBeenSet() const
AWS_S3CRT_API ReplicationRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DeleteMarkerReplicationHasBeenSet() const
const SourceSelectionCriteria & GetSourceSelectionCriteria() const
bool DestinationHasBeenSet() const
void SetExistingObjectReplication(ExistingObjectReplicationT &&value)
bool SourceSelectionCriteriaHasBeenSet() const
ReplicationRule & WithFilter(FilterT &&value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetPriority(int value)
const Aws::String & GetID() const
ReplicationRuleStatus GetStatus() const
ReplicationRule & WithSourceSelectionCriteria(SourceSelectionCriteriaT &&value)
AWS_S3CRT_API ReplicationRule()=default
ReplicationRule & WithDestination(DestinationT &&value)
bool FilterHasBeenSet() const
void SetDestination(DestinationT &&value)
ReplicationRule & WithPriority(int value)
void SetSourceSelectionCriteria(SourceSelectionCriteriaT &&value)
ReplicationRule & WithDeleteMarkerReplication(DeleteMarkerReplicationT &&value)
void SetDeleteMarkerReplication(DeleteMarkerReplicationT &&value)
const DeleteMarkerReplication & GetDeleteMarkerReplication() const
void SetFilter(FilterT &&value)
bool StatusHasBeenSet() const
bool IDHasBeenSet() const
ReplicationRule & WithExistingObjectReplication(ExistingObjectReplicationT &&value)
ReplicationRule & WithID(IDT &&value)
ReplicationRule & WithStatus(ReplicationRuleStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String