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>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticache/model/NodeGroupMember.h>
59 inline void SetNodeGroupId(
const char* value) { m_nodeGroupIdHasBeenSet =
true; m_nodeGroupId.assign(value); }
74 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
113 inline void SetSlots(
const char* value) { m_slotsHasBeenSet =
true; m_slots.assign(value); }
136 bool m_nodeGroupIdHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
142 bool m_primaryEndpointHasBeenSet =
false;
145 bool m_readerEndpointHasBeenSet =
false;
148 bool m_slotsHasBeenSet =
false;
151 bool m_nodeGroupMembersHasBeenSet =
false;
NodeGroup & WithNodeGroupMembers(const Aws::Vector< NodeGroupMember > &value)
AWS_ELASTICACHE_API NodeGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Endpoint & GetPrimaryEndpoint() const
NodeGroup & WithReaderEndpoint(Endpoint &&value)
NodeGroup & WithNodeGroupId(const Aws::String &value)
void SetPrimaryEndpoint(const Endpoint &value)
NodeGroup & WithStatus(const char *value)
NodeGroup & WithStatus(Aws::String &&value)
void SetReaderEndpoint(Endpoint &&value)
bool PrimaryEndpointHasBeenSet() const
bool NodeGroupIdHasBeenSet() const
void SetNodeGroupMembers(const Aws::Vector< NodeGroupMember > &value)
bool StatusHasBeenSet() const
NodeGroup & AddNodeGroupMembers(NodeGroupMember &&value)
NodeGroup & WithSlots(Aws::String &&value)
void SetStatus(Aws::String &&value)
bool NodeGroupMembersHasBeenSet() const
void SetNodeGroupId(const Aws::String &value)
void SetNodeGroupId(Aws::String &&value)
const Endpoint & GetReaderEndpoint() const
void SetStatus(const Aws::String &value)
NodeGroup & WithNodeGroupMembers(Aws::Vector< NodeGroupMember > &&value)
NodeGroup & WithReaderEndpoint(const Endpoint &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NodeGroup & WithNodeGroupId(Aws::String &&value)
void SetNodeGroupMembers(Aws::Vector< NodeGroupMember > &&value)
void SetSlots(const char *value)
void SetStatus(const char *value)
NodeGroup & WithPrimaryEndpoint(Endpoint &&value)
const Aws::String & GetNodeGroupId() const
NodeGroup & WithStatus(const Aws::String &value)
NodeGroup & AddNodeGroupMembers(const NodeGroupMember &value)
AWS_ELASTICACHE_API NodeGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
NodeGroup & WithPrimaryEndpoint(const Endpoint &value)
AWS_ELASTICACHE_API NodeGroup()
bool ReaderEndpointHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetSlots() const
const Aws::Vector< NodeGroupMember > & GetNodeGroupMembers() const
void SetPrimaryEndpoint(Endpoint &&value)
void SetSlots(const Aws::String &value)
void SetSlots(Aws::String &&value)
void SetReaderEndpoint(const Endpoint &value)
NodeGroup & WithNodeGroupId(const char *value)
void SetNodeGroupId(const char *value)
bool SlotsHasBeenSet() const
NodeGroup & WithSlots(const Aws::String &value)
const Aws::String & GetStatus() const
NodeGroup & WithSlots(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream