7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
10#include <aws/s3control/model/ReplicationRule.h>
48 template <
typename RoleT = Aws::String>
50 m_roleHasBeenSet =
true;
51 m_role = std::forward<RoleT>(value);
53 template <
typename RoleT = Aws::String>
55 SetRole(std::forward<RoleT>(value));
68 template <
typename RulesT = Aws::Vector<ReplicationRule>>
70 m_rulesHasBeenSet =
true;
71 m_rules = std::forward<RulesT>(value);
73 template <
typename RulesT = Aws::Vector<ReplicationRule>>
75 SetRules(std::forward<RulesT>(value));
78 template <
typename RulesT = ReplicationRule>
80 m_rulesHasBeenSet =
true;
81 m_rules.emplace_back(std::forward<RulesT>(value));
89 bool m_roleHasBeenSet =
false;
90 bool m_rulesHasBeenSet =
false;
ReplicationConfiguration & AddRules(RulesT &&value)
AWS_S3CONTROL_API ReplicationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRole(RoleT &&value)
ReplicationConfiguration & WithRules(RulesT &&value)
const Aws::Vector< ReplicationRule > & GetRules() const
AWS_S3CONTROL_API ReplicationConfiguration()=default
bool RoleHasBeenSet() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ReplicationConfiguration & WithRole(RoleT &&value)
AWS_S3CONTROL_API ReplicationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRole() const
bool RulesHasBeenSet() const
void SetRules(RulesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector