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>
50 template<
typename CacheClusterIdT = Aws::String>
51 void SetCacheClusterId(CacheClusterIdT&& value) { m_cacheClusterIdHasBeenSet =
true; m_cacheClusterId = std::forward<CacheClusterIdT>(value); }
52 template<
typename CacheClusterIdT = Aws::String>
63 template<
typename CacheNodeIdT = Aws::String>
64 void SetCacheNodeId(CacheNodeIdT&& value) { m_cacheNodeIdHasBeenSet =
true; m_cacheNodeId = std::forward<CacheNodeIdT>(value); }
65 template<
typename CacheNodeIdT = Aws::String>
77 template<
typename ReadEndpo
intT = Endpo
int>
78 void SetReadEndpoint(ReadEndpointT&& value) { m_readEndpointHasBeenSet =
true; m_readEndpoint = std::forward<ReadEndpointT>(value); }
79 template<
typename ReadEndpo
intT = Endpo
int>
89 template<
typename PreferredAvailabilityZoneT = Aws::String>
90 void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) { m_preferredAvailabilityZoneHasBeenSet =
true; m_preferredAvailabilityZone = std::forward<PreferredAvailabilityZoneT>(value); }
91 template<
typename PreferredAvailabilityZoneT = Aws::String>
101 template<
typename PreferredOutpostArnT = Aws::String>
102 void SetPreferredOutpostArn(PreferredOutpostArnT&& value) { m_preferredOutpostArnHasBeenSet =
true; m_preferredOutpostArn = std::forward<PreferredOutpostArnT>(value); }
103 template<
typename PreferredOutpostArnT = Aws::String>
115 template<
typename CurrentRoleT = Aws::String>
116 void SetCurrentRole(CurrentRoleT&& value) { m_currentRoleHasBeenSet =
true; m_currentRole = std::forward<CurrentRoleT>(value); }
117 template<
typename CurrentRoleT = Aws::String>
123 bool m_cacheClusterIdHasBeenSet =
false;
126 bool m_cacheNodeIdHasBeenSet =
false;
129 bool m_readEndpointHasBeenSet =
false;
132 bool m_preferredAvailabilityZoneHasBeenSet =
false;
135 bool m_preferredOutpostArnHasBeenSet =
false;
138 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