7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3control/model/ReplicationRule.h>
56 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
80 bool m_roleHasBeenSet =
false;
83 bool m_rulesHasBeenSet =
false;
ReplicationConfiguration & WithRole(const char *value)
void SetRole(const Aws::String &value)
AWS_S3CONTROL_API ReplicationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationConfiguration & WithRules(const Aws::Vector< ReplicationRule > &value)
void SetRules(const Aws::Vector< ReplicationRule > &value)
ReplicationConfiguration & WithRules(Aws::Vector< ReplicationRule > &&value)
ReplicationConfiguration & WithRole(Aws::String &&value)
void SetRules(Aws::Vector< ReplicationRule > &&value)
const Aws::Vector< ReplicationRule > & GetRules() const
void SetRole(const char *value)
AWS_S3CONTROL_API ReplicationConfiguration()
bool RoleHasBeenSet() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API ReplicationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationConfiguration & AddRules(ReplicationRule &&value)
void SetRole(Aws::String &&value)
ReplicationConfiguration & WithRole(const Aws::String &value)
ReplicationConfiguration & AddRules(const ReplicationRule &value)
const Aws::String & GetRole() const
bool RulesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector