7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3/model/ReplicationRule.h>
53 template<
typename RoleT = Aws::String>
54 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
55 template<
typename RoleT = Aws::String>
66 template<
typename RulesT = Aws::Vector<ReplicationRule>>
67 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
68 template<
typename RulesT = Aws::Vector<ReplicationRule>>
70 template<
typename RulesT = ReplicationRule>
76 bool m_roleHasBeenSet =
false;
79 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