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>
55 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
78 bool m_roleHasBeenSet =
false;
81 bool m_rulesHasBeenSet =
false;
ReplicationConfiguration & WithRole(const Aws::String &value)
ReplicationConfiguration & AddRules(const ReplicationRule &value)
AWS_S3_API ReplicationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRole(const char *value)
void SetRules(Aws::Vector< ReplicationRule > &&value)
AWS_S3_API ReplicationConfiguration()
ReplicationConfiguration & WithRole(Aws::String &&value)
void SetRules(const Aws::Vector< ReplicationRule > &value)
ReplicationConfiguration & WithRole(const char *value)
bool RoleHasBeenSet() const
ReplicationConfiguration & AddRules(ReplicationRule &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool RulesHasBeenSet() const
void SetRole(Aws::String &&value)
const Aws::Vector< ReplicationRule > & GetRules() const
const Aws::String & GetRole() const
AWS_S3_API ReplicationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationConfiguration & WithRules(Aws::Vector< ReplicationRule > &&value)
ReplicationConfiguration & WithRules(const Aws::Vector< ReplicationRule > &value)
void SetRole(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector