7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/ReshardingConfiguration.h>
37 inline virtual const char*
GetServiceRequestName()
const override {
return "ModifyReplicationGroupShardConfiguration"; }
55 inline void SetReplicationGroupId(
const char* value) { m_replicationGroupIdHasBeenSet =
true; m_replicationGroupId.assign(value); }
68 inline void SetNodeGroupCount(
int value) { m_nodeGroupCountHasBeenSet =
true; m_nodeGroupCount = value; }
80 inline void SetApplyImmediately(
bool value) { m_applyImmediatelyHasBeenSet =
true; m_applyImmediately = value; }
146 bool m_replicationGroupIdHasBeenSet =
false;
148 int m_nodeGroupCount;
149 bool m_nodeGroupCountHasBeenSet =
false;
151 bool m_applyImmediately;
152 bool m_applyImmediatelyHasBeenSet =
false;
155 bool m_reshardingConfigurationHasBeenSet =
false;
158 bool m_nodeGroupsToRemoveHasBeenSet =
false;
161 bool m_nodeGroupsToRetainHasBeenSet =
false;
ModifyReplicationGroupShardConfigurationRequest & WithNodeGroupsToRetain(const Aws::Vector< Aws::String > &value)
void SetNodeGroupsToRemove(const Aws::Vector< Aws::String > &value)
int GetNodeGroupCount() const
ModifyReplicationGroupShardConfigurationRequest & AddNodeGroupsToRemove(const char *value)
void SetNodeGroupsToRemove(Aws::Vector< Aws::String > &&value)
void SetApplyImmediately(bool value)
ModifyReplicationGroupShardConfigurationRequest & AddNodeGroupsToRemove(Aws::String &&value)
ModifyReplicationGroupShardConfigurationRequest & WithNodeGroupsToRemove(const Aws::Vector< Aws::String > &value)
ModifyReplicationGroupShardConfigurationRequest & WithReplicationGroupId(const char *value)
ModifyReplicationGroupShardConfigurationRequest & AddReshardingConfiguration(ReshardingConfiguration &&value)
ModifyReplicationGroupShardConfigurationRequest & AddNodeGroupsToRemove(const Aws::String &value)
ModifyReplicationGroupShardConfigurationRequest & AddReshardingConfiguration(const ReshardingConfiguration &value)
ModifyReplicationGroupShardConfigurationRequest & WithNodeGroupCount(int value)
void SetReplicationGroupId(const Aws::String &value)
ModifyReplicationGroupShardConfigurationRequest & WithReshardingConfiguration(const Aws::Vector< ReshardingConfiguration > &value)
void SetReplicationGroupId(Aws::String &&value)
ModifyReplicationGroupShardConfigurationRequest & AddNodeGroupsToRetain(const char *value)
AWS_ELASTICACHE_API ModifyReplicationGroupShardConfigurationRequest()
const Aws::Vector< ReshardingConfiguration > & GetReshardingConfiguration() const
bool ApplyImmediatelyHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ReplicationGroupIdHasBeenSet() const
const Aws::String & GetReplicationGroupId() const
void SetReshardingConfiguration(Aws::Vector< ReshardingConfiguration > &&value)
ModifyReplicationGroupShardConfigurationRequest & WithApplyImmediately(bool value)
bool NodeGroupCountHasBeenSet() const
ModifyReplicationGroupShardConfigurationRequest & WithReplicationGroupId(Aws::String &&value)
void SetNodeGroupCount(int value)
void SetNodeGroupsToRetain(Aws::Vector< Aws::String > &&value)
ModifyReplicationGroupShardConfigurationRequest & WithReshardingConfiguration(Aws::Vector< ReshardingConfiguration > &&value)
bool GetApplyImmediately() const
bool NodeGroupsToRemoveHasBeenSet() const
ModifyReplicationGroupShardConfigurationRequest & WithNodeGroupsToRetain(Aws::Vector< Aws::String > &&value)
void SetReplicationGroupId(const char *value)
const Aws::Vector< Aws::String > & GetNodeGroupsToRetain() const
ModifyReplicationGroupShardConfigurationRequest & AddNodeGroupsToRetain(const Aws::String &value)
ModifyReplicationGroupShardConfigurationRequest & WithReplicationGroupId(const Aws::String &value)
ModifyReplicationGroupShardConfigurationRequest & WithNodeGroupsToRemove(Aws::Vector< Aws::String > &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyReplicationGroupShardConfigurationRequest & AddNodeGroupsToRetain(Aws::String &&value)
void SetNodeGroupsToRetain(const Aws::Vector< Aws::String > &value)
void SetReshardingConfiguration(const Aws::Vector< ReshardingConfiguration > &value)
bool ReshardingConfigurationHasBeenSet() const
bool NodeGroupsToRetainHasBeenSet() const
const Aws::Vector< Aws::String > & GetNodeGroupsToRemove() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector