7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10#include <aws/elasticache/model/Endpoint.h>
20namespace ElastiCache {
44 template <
typename CacheClusterIdT = Aws::String>
46 m_cacheClusterIdHasBeenSet =
true;
47 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
49 template <
typename CacheClusterIdT = Aws::String>
63 template <
typename CacheNodeIdT = Aws::String>
65 m_cacheNodeIdHasBeenSet =
true;
66 m_cacheNodeId = std::forward<CacheNodeIdT>(value);
68 template <
typename CacheNodeIdT = Aws::String>
83 template <
typename ReadEndpo
intT = Endpo
int>
85 m_readEndpointHasBeenSet =
true;
86 m_readEndpoint = std::forward<ReadEndpointT>(value);
88 template <
typename ReadEndpo
intT = Endpo
int>
101 template <
typename PreferredAvailabilityZoneT = Aws::String>
103 m_preferredAvailabilityZoneHasBeenSet =
true;
104 m_preferredAvailabilityZone = std::forward<PreferredAvailabilityZoneT>(value);
106 template <
typename PreferredAvailabilityZoneT = Aws::String>
119 template <
typename PreferredOutpostArnT = Aws::String>
121 m_preferredOutpostArnHasBeenSet =
true;
122 m_preferredOutpostArn = std::forward<PreferredOutpostArnT>(value);
124 template <
typename PreferredOutpostArnT = Aws::String>
139 template <
typename CurrentRoleT = Aws::String>
141 m_currentRoleHasBeenSet =
true;
142 m_currentRole = std::forward<CurrentRoleT>(value);
144 template <
typename CurrentRoleT = Aws::String>
162 bool m_cacheClusterIdHasBeenSet =
false;
163 bool m_cacheNodeIdHasBeenSet =
false;
164 bool m_readEndpointHasBeenSet =
false;
165 bool m_preferredAvailabilityZoneHasBeenSet =
false;
166 bool m_preferredOutpostArnHasBeenSet =
false;
167 bool m_currentRoleHasBeenSet =
false;
NodeGroupMember & WithPreferredOutpostArn(PreferredOutpostArnT &&value)
bool PreferredOutpostArnHasBeenSet() const
bool CacheNodeIdHasBeenSet() const
NodeGroupMember & WithCacheNodeId(CacheNodeIdT &&value)
NodeGroupMember & WithCurrentRole(CurrentRoleT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool CurrentRoleHasBeenSet() const
const Aws::String & GetCacheClusterId() const
const Aws::String & GetPreferredAvailabilityZone() const
void SetPreferredOutpostArn(PreferredOutpostArnT &&value)
NodeGroupMember & WithPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
NodeGroupMember & WithCacheClusterId(CacheClusterIdT &&value)
const Aws::String & GetPreferredOutpostArn() const
bool CacheClusterIdHasBeenSet() const
void SetCacheNodeId(CacheNodeIdT &&value)
AWS_ELASTICACHE_API NodeGroupMember()=default
AWS_ELASTICACHE_API NodeGroupMember & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCurrentRole() const
bool ReadEndpointHasBeenSet() const
void SetCurrentRole(CurrentRoleT &&value)
bool PreferredAvailabilityZoneHasBeenSet() const
NodeGroupMember & WithReadEndpoint(ReadEndpointT &&value)
const Aws::String & GetCacheNodeId() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
void SetReadEndpoint(ReadEndpointT &&value)
const Endpoint & GetReadEndpoint() const
void SetCacheClusterId(CacheClusterIdT &&value)
AWS_ELASTICACHE_API NodeGroupMember(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream