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/Endpoint.h>
52 inline void SetCacheClusterId(
const char* value) { m_cacheClusterIdHasBeenSet =
true; m_cacheClusterId.assign(value); }
67 inline void SetCacheNodeId(
const char* value) { m_cacheNodeIdHasBeenSet =
true; m_cacheNodeId.assign(value); }
95 inline void SetPreferredAvailabilityZone(
const char* value) { m_preferredAvailabilityZoneHasBeenSet =
true; m_preferredAvailabilityZone.assign(value); }
109 inline void SetPreferredOutpostArn(
const char* value) { m_preferredOutpostArnHasBeenSet =
true; m_preferredOutpostArn.assign(value); }
125 inline void SetCurrentRole(
const char* value) { m_currentRoleHasBeenSet =
true; m_currentRole.assign(value); }
133 bool m_cacheClusterIdHasBeenSet =
false;
136 bool m_cacheNodeIdHasBeenSet =
false;
139 bool m_readEndpointHasBeenSet =
false;
142 bool m_preferredAvailabilityZoneHasBeenSet =
false;
145 bool m_preferredOutpostArnHasBeenSet =
false;
148 bool m_currentRoleHasBeenSet =
false;
NodeGroupMember & WithPreferredOutpostArn(const Aws::String &value)
bool PreferredOutpostArnHasBeenSet() const
bool CacheNodeIdHasBeenSet() const
void SetCurrentRole(Aws::String &&value)
NodeGroupMember & WithReadEndpoint(Endpoint &&value)
void SetCacheClusterId(const Aws::String &value)
void SetPreferredOutpostArn(const char *value)
NodeGroupMember & WithCacheClusterId(Aws::String &&value)
void SetCacheNodeId(const Aws::String &value)
NodeGroupMember & WithPreferredAvailabilityZone(Aws::String &&value)
void SetPreferredOutpostArn(const Aws::String &value)
void SetCacheClusterId(const char *value)
void SetCacheClusterId(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NodeGroupMember & WithPreferredAvailabilityZone(const char *value)
bool CurrentRoleHasBeenSet() const
const Aws::String & GetCacheClusterId() const
void SetCacheNodeId(Aws::String &&value)
const Aws::String & GetPreferredAvailabilityZone() const
NodeGroupMember & WithPreferredOutpostArn(const char *value)
NodeGroupMember & WithReadEndpoint(const Endpoint &value)
NodeGroupMember & WithPreferredOutpostArn(Aws::String &&value)
void SetCacheNodeId(const char *value)
const Aws::String & GetPreferredOutpostArn() const
bool CacheClusterIdHasBeenSet() const
void SetReadEndpoint(const Endpoint &value)
void SetReadEndpoint(Endpoint &&value)
AWS_ELASTICACHE_API NodeGroupMember & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCurrentRole(const char *value)
NodeGroupMember & WithCacheNodeId(Aws::String &&value)
const Aws::String & GetCurrentRole() const
bool ReadEndpointHasBeenSet() const
NodeGroupMember & WithCacheNodeId(const char *value)
bool PreferredAvailabilityZoneHasBeenSet() const
NodeGroupMember & WithCurrentRole(Aws::String &&value)
NodeGroupMember & WithCurrentRole(const char *value)
NodeGroupMember & WithCacheClusterId(const char *value)
void SetPreferredOutpostArn(Aws::String &&value)
const Aws::String & GetCacheNodeId() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NodeGroupMember & WithCacheNodeId(const Aws::String &value)
const Endpoint & GetReadEndpoint() const
NodeGroupMember & WithCacheClusterId(const Aws::String &value)
AWS_ELASTICACHE_API NodeGroupMember(const Aws::Utils::Xml::XmlNode &xmlNode)
NodeGroupMember & WithPreferredAvailabilityZone(const Aws::String &value)
void SetPreferredAvailabilityZone(const Aws::String &value)
NodeGroupMember & WithCurrentRole(const Aws::String &value)
AWS_ELASTICACHE_API NodeGroupMember()
void SetPreferredAvailabilityZone(Aws::String &&value)
void SetCurrentRole(const Aws::String &value)
void SetPreferredAvailabilityZone(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream