/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A list of PreferredAvailabilityZones
objects that specifies the
* configuration of a node group in the resharded cluster.See Also:
* AWS
* API Reference
Either the ElastiCache for Redis supplied 4-digit id or a user supplied id * for the node group these configuration values apply to.
*/ inline const Aws::String& GetNodeGroupId() const{ return m_nodeGroupId; } /** *Either the ElastiCache for Redis supplied 4-digit id or a user supplied id * for the node group these configuration values apply to.
*/ inline bool NodeGroupIdHasBeenSet() const { return m_nodeGroupIdHasBeenSet; } /** *Either the ElastiCache for Redis supplied 4-digit id or a user supplied id * for the node group these configuration values apply to.
*/ inline void SetNodeGroupId(const Aws::String& value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId = value; } /** *Either the ElastiCache for Redis supplied 4-digit id or a user supplied id * for the node group these configuration values apply to.
*/ inline void SetNodeGroupId(Aws::String&& value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId = std::move(value); } /** *Either the ElastiCache for Redis supplied 4-digit id or a user supplied id * for the node group these configuration values apply to.
*/ inline void SetNodeGroupId(const char* value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId.assign(value); } /** *Either the ElastiCache for Redis supplied 4-digit id or a user supplied id * for the node group these configuration values apply to.
*/ inline ReshardingConfiguration& WithNodeGroupId(const Aws::String& value) { SetNodeGroupId(value); return *this;} /** *Either the ElastiCache for Redis supplied 4-digit id or a user supplied id * for the node group these configuration values apply to.
*/ inline ReshardingConfiguration& WithNodeGroupId(Aws::String&& value) { SetNodeGroupId(std::move(value)); return *this;} /** *Either the ElastiCache for Redis supplied 4-digit id or a user supplied id * for the node group these configuration values apply to.
*/ inline ReshardingConfiguration& WithNodeGroupId(const char* value) { SetNodeGroupId(value); return *this;} /** *A list of preferred availability zones for the nodes in this cluster.
*/ inline const Aws::VectorA list of preferred availability zones for the nodes in this cluster.
*/ inline bool PreferredAvailabilityZonesHasBeenSet() const { return m_preferredAvailabilityZonesHasBeenSet; } /** *A list of preferred availability zones for the nodes in this cluster.
*/ inline void SetPreferredAvailabilityZones(const Aws::VectorA list of preferred availability zones for the nodes in this cluster.
*/ inline void SetPreferredAvailabilityZones(Aws::VectorA list of preferred availability zones for the nodes in this cluster.
*/ inline ReshardingConfiguration& WithPreferredAvailabilityZones(const Aws::VectorA list of preferred availability zones for the nodes in this cluster.
*/ inline ReshardingConfiguration& WithPreferredAvailabilityZones(Aws::VectorA list of preferred availability zones for the nodes in this cluster.
*/ inline ReshardingConfiguration& AddPreferredAvailabilityZones(const Aws::String& value) { m_preferredAvailabilityZonesHasBeenSet = true; m_preferredAvailabilityZones.push_back(value); return *this; } /** *A list of preferred availability zones for the nodes in this cluster.
*/ inline ReshardingConfiguration& AddPreferredAvailabilityZones(Aws::String&& value) { m_preferredAvailabilityZonesHasBeenSet = true; m_preferredAvailabilityZones.push_back(std::move(value)); return *this; } /** *A list of preferred availability zones for the nodes in this cluster.
*/ inline ReshardingConfiguration& AddPreferredAvailabilityZones(const char* value) { m_preferredAvailabilityZonesHasBeenSet = true; m_preferredAvailabilityZones.push_back(value); return *this; } private: Aws::String m_nodeGroupId; bool m_nodeGroupIdHasBeenSet = false; Aws::Vector