7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3/S3_EXPORTS.h>
10#include <aws/s3/model/ReplicationRule.h>
47 template <
typename RoleT = Aws::String>
49 m_roleHasBeenSet =
true;
50 m_role = std::forward<RoleT>(value);
52 template <
typename RoleT = Aws::String>
54 SetRole(std::forward<RoleT>(value));
66 template <
typename RulesT = Aws::Vector<ReplicationRule>>
68 m_rulesHasBeenSet =
true;
69 m_rules = std::forward<RulesT>(value);
71 template <
typename RulesT = Aws::Vector<ReplicationRule>>
73 SetRules(std::forward<RulesT>(value));
76 template <
typename RulesT = ReplicationRule>
78 m_rulesHasBeenSet =
true;
79 m_rules.emplace_back(std::forward<RulesT>(value));
87 bool m_roleHasBeenSet =
false;
88 bool m_rulesHasBeenSet =
false;
ReplicationConfiguration & WithRules(RulesT &&value)
AWS_S3_API ReplicationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationConfiguration & AddRules(RulesT &&value)
void SetRules(RulesT &&value)
bool RoleHasBeenSet() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool RulesHasBeenSet() const
const Aws::Vector< ReplicationRule > & GetRules() const
const Aws::String & GetRole() const
ReplicationConfiguration & WithRole(RoleT &&value)
void SetRole(RoleT &&value)
AWS_S3_API ReplicationConfiguration()=default
AWS_S3_API ReplicationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector