/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input for a
* ModifyReplicationGroupShardConfiguration
operation.See
* Also:
AWS
* API Reference
The name of the Redis (cluster mode enabled) cluster (replication group) on * which the shards are to be configured.
*/ inline const Aws::String& GetReplicationGroupId() const{ return m_replicationGroupId; } /** *The name of the Redis (cluster mode enabled) cluster (replication group) on * which the shards are to be configured.
*/ inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; } /** *The name of the Redis (cluster mode enabled) cluster (replication group) on * which the shards are to be configured.
*/ inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; } /** *The name of the Redis (cluster mode enabled) cluster (replication group) on * which the shards are to be configured.
*/ inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::move(value); } /** *The name of the Redis (cluster mode enabled) cluster (replication group) on * which the shards are to be configured.
*/ inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); } /** *The name of the Redis (cluster mode enabled) cluster (replication group) on * which the shards are to be configured.
*/ inline ModifyReplicationGroupShardConfigurationRequest& WithReplicationGroupId(const Aws::String& value) { SetReplicationGroupId(value); return *this;} /** *The name of the Redis (cluster mode enabled) cluster (replication group) on * which the shards are to be configured.
*/ inline ModifyReplicationGroupShardConfigurationRequest& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(std::move(value)); return *this;} /** *The name of the Redis (cluster mode enabled) cluster (replication group) on * which the shards are to be configured.
*/ inline ModifyReplicationGroupShardConfigurationRequest& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;} /** *The number of node groups (shards) that results from the modification of the * shard configuration.
*/ inline int GetNodeGroupCount() const{ return m_nodeGroupCount; } /** *The number of node groups (shards) that results from the modification of the * shard configuration.
*/ inline bool NodeGroupCountHasBeenSet() const { return m_nodeGroupCountHasBeenSet; } /** *The number of node groups (shards) that results from the modification of the * shard configuration.
*/ inline void SetNodeGroupCount(int value) { m_nodeGroupCountHasBeenSet = true; m_nodeGroupCount = value; } /** *The number of node groups (shards) that results from the modification of the * shard configuration.
*/ inline ModifyReplicationGroupShardConfigurationRequest& WithNodeGroupCount(int value) { SetNodeGroupCount(value); return *this;} /** *Indicates that the shard reconfiguration process begins immediately. At
* present, the only permitted value for this parameter is true
.
Value: true
*/ inline bool GetApplyImmediately() const{ return m_applyImmediately; } /** *Indicates that the shard reconfiguration process begins immediately. At
* present, the only permitted value for this parameter is true
.
Value: true
*/ inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; } /** *Indicates that the shard reconfiguration process begins immediately. At
* present, the only permitted value for this parameter is true
.
Value: true
*/ inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; } /** *Indicates that the shard reconfiguration process begins immediately. At
* present, the only permitted value for this parameter is true
.
Value: true
*/ inline ModifyReplicationGroupShardConfigurationRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;} /** *Specifies the preferred availability zones for each node group in the
* cluster. If the value of NodeGroupCount
is greater than the current
* number of node groups (shards), you can use this parameter to specify the
* preferred availability zones of the cluster's shards. If you omit this parameter
* ElastiCache selects availability zones for you.
You can specify this
* parameter only if the value of NodeGroupCount
is greater than the
* current number of node groups (shards).
Specifies the preferred availability zones for each node group in the
* cluster. If the value of NodeGroupCount
is greater than the current
* number of node groups (shards), you can use this parameter to specify the
* preferred availability zones of the cluster's shards. If you omit this parameter
* ElastiCache selects availability zones for you.
You can specify this
* parameter only if the value of NodeGroupCount
is greater than the
* current number of node groups (shards).
Specifies the preferred availability zones for each node group in the
* cluster. If the value of NodeGroupCount
is greater than the current
* number of node groups (shards), you can use this parameter to specify the
* preferred availability zones of the cluster's shards. If you omit this parameter
* ElastiCache selects availability zones for you.
You can specify this
* parameter only if the value of NodeGroupCount
is greater than the
* current number of node groups (shards).
Specifies the preferred availability zones for each node group in the
* cluster. If the value of NodeGroupCount
is greater than the current
* number of node groups (shards), you can use this parameter to specify the
* preferred availability zones of the cluster's shards. If you omit this parameter
* ElastiCache selects availability zones for you.
You can specify this
* parameter only if the value of NodeGroupCount
is greater than the
* current number of node groups (shards).
Specifies the preferred availability zones for each node group in the
* cluster. If the value of NodeGroupCount
is greater than the current
* number of node groups (shards), you can use this parameter to specify the
* preferred availability zones of the cluster's shards. If you omit this parameter
* ElastiCache selects availability zones for you.
You can specify this
* parameter only if the value of NodeGroupCount
is greater than the
* current number of node groups (shards).
Specifies the preferred availability zones for each node group in the
* cluster. If the value of NodeGroupCount
is greater than the current
* number of node groups (shards), you can use this parameter to specify the
* preferred availability zones of the cluster's shards. If you omit this parameter
* ElastiCache selects availability zones for you.
You can specify this
* parameter only if the value of NodeGroupCount
is greater than the
* current number of node groups (shards).
Specifies the preferred availability zones for each node group in the
* cluster. If the value of NodeGroupCount
is greater than the current
* number of node groups (shards), you can use this parameter to specify the
* preferred availability zones of the cluster's shards. If you omit this parameter
* ElastiCache selects availability zones for you.
You can specify this
* parameter only if the value of NodeGroupCount
is greater than the
* current number of node groups (shards).
Specifies the preferred availability zones for each node group in the
* cluster. If the value of NodeGroupCount
is greater than the current
* number of node groups (shards), you can use this parameter to specify the
* preferred availability zones of the cluster's shards. If you omit this parameter
* ElastiCache selects availability zones for you.
You can specify this
* parameter only if the value of NodeGroupCount
is greater than the
* current number of node groups (shards).
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRemove
is
* a list of NodeGroupId
s to remove from the cluster.
ElastiCache for Redis will attempt to remove all node groups listed by
* NodeGroupsToRemove
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRemove
is
* a list of NodeGroupId
s to remove from the cluster.
ElastiCache for Redis will attempt to remove all node groups listed by
* NodeGroupsToRemove
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRemove
is
* a list of NodeGroupId
s to remove from the cluster.
ElastiCache for Redis will attempt to remove all node groups listed by
* NodeGroupsToRemove
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRemove
is
* a list of NodeGroupId
s to remove from the cluster.
ElastiCache for Redis will attempt to remove all node groups listed by
* NodeGroupsToRemove
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRemove
is
* a list of NodeGroupId
s to remove from the cluster.
ElastiCache for Redis will attempt to remove all node groups listed by
* NodeGroupsToRemove
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRemove
is
* a list of NodeGroupId
s to remove from the cluster.
ElastiCache for Redis will attempt to remove all node groups listed by
* NodeGroupsToRemove
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRemove
is
* a list of NodeGroupId
s to remove from the cluster.
ElastiCache for Redis will attempt to remove all node groups listed by
* NodeGroupsToRemove
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRemove
is
* a list of NodeGroupId
s to remove from the cluster.
ElastiCache for Redis will attempt to remove all node groups listed by
* NodeGroupsToRemove
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRemove
is
* a list of NodeGroupId
s to remove from the cluster.
ElastiCache for Redis will attempt to remove all node groups listed by
* NodeGroupsToRemove
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRetain
is
* a list of NodeGroupId
s to retain in the cluster.
ElastiCache
* for Redis will attempt to remove all node groups except those listed by
* NodeGroupsToRetain
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRetain
is
* a list of NodeGroupId
s to retain in the cluster.
ElastiCache
* for Redis will attempt to remove all node groups except those listed by
* NodeGroupsToRetain
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRetain
is
* a list of NodeGroupId
s to retain in the cluster.
ElastiCache
* for Redis will attempt to remove all node groups except those listed by
* NodeGroupsToRetain
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRetain
is
* a list of NodeGroupId
s to retain in the cluster.
ElastiCache
* for Redis will attempt to remove all node groups except those listed by
* NodeGroupsToRetain
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRetain
is
* a list of NodeGroupId
s to retain in the cluster.
ElastiCache
* for Redis will attempt to remove all node groups except those listed by
* NodeGroupsToRetain
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRetain
is
* a list of NodeGroupId
s to retain in the cluster.
ElastiCache
* for Redis will attempt to remove all node groups except those listed by
* NodeGroupsToRetain
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRetain
is
* a list of NodeGroupId
s to retain in the cluster.
ElastiCache
* for Redis will attempt to remove all node groups except those listed by
* NodeGroupsToRetain
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRetain
is
* a list of NodeGroupId
s to retain in the cluster.
ElastiCache
* for Redis will attempt to remove all node groups except those listed by
* NodeGroupsToRetain
from the cluster.
If the value of NodeGroupCount
is less than the current number
* of node groups (shards), then either NodeGroupsToRemove
or
* NodeGroupsToRetain
is required. NodeGroupsToRetain
is
* a list of NodeGroupId
s to retain in the cluster.
ElastiCache
* for Redis will attempt to remove all node groups except those listed by
* NodeGroupsToRetain
from the cluster.