7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticache/model/AutomaticFailoverStatus.h>
53 inline void SetReplicationGroupId(
const char* value) { m_replicationGroupIdHasBeenSet =
true; m_replicationGroupId.assign(value); }
67 inline void SetReplicationGroupRegion(
const char* value) { m_replicationGroupRegionHasBeenSet =
true; m_replicationGroupRegion.assign(value); }
81 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
108 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
116 bool m_replicationGroupIdHasBeenSet =
false;
119 bool m_replicationGroupRegionHasBeenSet =
false;
122 bool m_roleHasBeenSet =
false;
125 bool m_automaticFailoverHasBeenSet =
false;
128 bool m_statusHasBeenSet =
false;
GlobalReplicationGroupMember & WithReplicationGroupRegion(Aws::String &&value)
void SetRole(const char *value)
void SetAutomaticFailover(const AutomaticFailoverStatus &value)
const Aws::String & GetReplicationGroupId() const
const AutomaticFailoverStatus & GetAutomaticFailover() const
GlobalReplicationGroupMember & WithStatus(const char *value)
GlobalReplicationGroupMember & WithReplicationGroupRegion(const char *value)
const Aws::String & GetRole() const
AWS_ELASTICACHE_API GlobalReplicationGroupMember & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
GlobalReplicationGroupMember & WithRole(const char *value)
void SetRole(const Aws::String &value)
const Aws::String & GetStatus() const
bool ReplicationGroupRegionHasBeenSet() const
GlobalReplicationGroupMember & WithStatus(const Aws::String &value)
void SetReplicationGroupRegion(Aws::String &&value)
void SetAutomaticFailover(AutomaticFailoverStatus &&value)
GlobalReplicationGroupMember & WithRole(const Aws::String &value)
GlobalReplicationGroupMember & WithReplicationGroupId(const char *value)
GlobalReplicationGroupMember & WithAutomaticFailover(AutomaticFailoverStatus &&value)
GlobalReplicationGroupMember & WithRole(Aws::String &&value)
bool StatusHasBeenSet() const
void SetReplicationGroupRegion(const Aws::String &value)
AWS_ELASTICACHE_API GlobalReplicationGroupMember()
GlobalReplicationGroupMember & WithReplicationGroupRegion(const Aws::String &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
GlobalReplicationGroupMember & WithStatus(Aws::String &&value)
AWS_ELASTICACHE_API GlobalReplicationGroupMember(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetReplicationGroupId(const Aws::String &value)
bool RoleHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
GlobalReplicationGroupMember & WithAutomaticFailover(const AutomaticFailoverStatus &value)
void SetStatus(const char *value)
void SetReplicationGroupId(const char *value)
void SetRole(Aws::String &&value)
GlobalReplicationGroupMember & WithReplicationGroupId(Aws::String &&value)
const Aws::String & GetReplicationGroupRegion() const
GlobalReplicationGroupMember & WithReplicationGroupId(const Aws::String &value)
void SetStatus(const Aws::String &value)
bool AutomaticFailoverHasBeenSet() const
void SetReplicationGroupRegion(const char *value)
void SetStatus(Aws::String &&value)
bool ReplicationGroupIdHasBeenSet() const
void SetReplicationGroupId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream