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/core/utils/memory/stl/AWSVector.h>
55 inline void SetNodeGroupId(
const char* value) { m_nodeGroupIdHasBeenSet =
true; m_nodeGroupId.assign(value); }
71 inline void SetSlots(
const char* value) { m_slotsHasBeenSet =
true; m_slots.assign(value); }
83 inline void SetReplicaCount(
int value) { m_replicaCountHasBeenSet =
true; m_replicaCount = value; }
96 inline void SetPrimaryAvailabilityZone(
const char* value) { m_primaryAvailabilityZoneHasBeenSet =
true; m_primaryAvailabilityZone.assign(value); }
128 inline void SetPrimaryOutpostArn(
const char* value) { m_primaryOutpostArnHasBeenSet =
true; m_primaryOutpostArn.assign(value); }
151 bool m_nodeGroupIdHasBeenSet =
false;
154 bool m_slotsHasBeenSet =
false;
157 bool m_replicaCountHasBeenSet =
false;
160 bool m_primaryAvailabilityZoneHasBeenSet =
false;
163 bool m_replicaAvailabilityZonesHasBeenSet =
false;
166 bool m_primaryOutpostArnHasBeenSet =
false;
169 bool m_replicaOutpostArnsHasBeenSet =
false;
void SetPrimaryAvailabilityZone(const Aws::String &value)
void SetSlots(const Aws::String &value)
AWS_ELASTICACHE_API NodeGroupConfiguration()
bool PrimaryOutpostArnHasBeenSet() const
bool PrimaryAvailabilityZoneHasBeenSet() const
NodeGroupConfiguration & WithPrimaryOutpostArn(Aws::String &&value)
NodeGroupConfiguration & WithPrimaryAvailabilityZone(const Aws::String &value)
NodeGroupConfiguration & AddReplicaAvailabilityZones(const char *value)
NodeGroupConfiguration & WithSlots(const Aws::String &value)
const Aws::Vector< Aws::String > & GetReplicaAvailabilityZones() const
NodeGroupConfiguration & WithReplicaAvailabilityZones(const Aws::Vector< Aws::String > &value)
NodeGroupConfiguration & WithNodeGroupId(const Aws::String &value)
int GetReplicaCount() const
void SetPrimaryAvailabilityZone(const char *value)
AWS_ELASTICACHE_API NodeGroupConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetPrimaryOutpostArn() const
const Aws::String & GetSlots() const
const Aws::String & GetPrimaryAvailabilityZone() const
void SetNodeGroupId(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NodeGroupConfiguration & WithSlots(Aws::String &&value)
void SetSlots(const char *value)
NodeGroupConfiguration & WithNodeGroupId(const char *value)
void SetReplicaOutpostArns(const Aws::Vector< Aws::String > &value)
NodeGroupConfiguration & AddReplicaAvailabilityZones(Aws::String &&value)
NodeGroupConfiguration & WithReplicaOutpostArns(const Aws::Vector< Aws::String > &value)
bool NodeGroupIdHasBeenSet() const
void SetPrimaryOutpostArn(Aws::String &&value)
const Aws::String & GetNodeGroupId() const
bool SlotsHasBeenSet() const
NodeGroupConfiguration & WithReplicaOutpostArns(Aws::Vector< Aws::String > &&value)
NodeGroupConfiguration & WithNodeGroupId(Aws::String &&value)
NodeGroupConfiguration & WithPrimaryOutpostArn(const char *value)
void SetNodeGroupId(const char *value)
void SetPrimaryOutpostArn(const Aws::String &value)
void SetReplicaAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetReplicaAvailabilityZones(Aws::Vector< Aws::String > &&value)
NodeGroupConfiguration & WithPrimaryAvailabilityZone(Aws::String &&value)
NodeGroupConfiguration & WithPrimaryAvailabilityZone(const char *value)
AWS_ELASTICACHE_API NodeGroupConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetReplicaCount(int value)
void SetSlots(Aws::String &&value)
NodeGroupConfiguration & AddReplicaOutpostArns(const Aws::String &value)
bool ReplicaOutpostArnsHasBeenSet() const
NodeGroupConfiguration & WithSlots(const char *value)
void SetPrimaryOutpostArn(const char *value)
void SetPrimaryAvailabilityZone(Aws::String &&value)
bool ReplicaCountHasBeenSet() const
NodeGroupConfiguration & WithPrimaryOutpostArn(const Aws::String &value)
NodeGroupConfiguration & WithReplicaAvailabilityZones(Aws::Vector< Aws::String > &&value)
NodeGroupConfiguration & AddReplicaAvailabilityZones(const Aws::String &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetNodeGroupId(const Aws::String &value)
void SetReplicaOutpostArns(Aws::Vector< Aws::String > &&value)
NodeGroupConfiguration & WithReplicaCount(int value)
NodeGroupConfiguration & AddReplicaOutpostArns(const char *value)
bool ReplicaAvailabilityZonesHasBeenSet() const
const Aws::Vector< Aws::String > & GetReplicaOutpostArns() const
NodeGroupConfiguration & AddReplicaOutpostArns(Aws::String &&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