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/ConfigureShard.h>
50 inline void SetReplicationGroupId(
const char* value) { m_replicationGroupIdHasBeenSet =
true; m_replicationGroupId.assign(value); }
71 inline void SetNewReplicaCount(
int value) { m_newReplicaCountHasBeenSet =
true; m_newReplicaCount = value; }
115 inline void SetApplyImmediately(
bool value) { m_applyImmediatelyHasBeenSet =
true; m_applyImmediately = value; }
121 bool m_replicationGroupIdHasBeenSet =
false;
123 int m_newReplicaCount;
124 bool m_newReplicaCountHasBeenSet =
false;
127 bool m_replicaConfigurationHasBeenSet =
false;
130 bool m_replicasToRemoveHasBeenSet =
false;
132 bool m_applyImmediately;
133 bool m_applyImmediatelyHasBeenSet =
false;
DecreaseReplicaCountRequest & WithReplicaConfiguration(Aws::Vector< ConfigureShard > &&value)
void SetReplicaConfiguration(Aws::Vector< ConfigureShard > &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetReplicasToRemove(Aws::Vector< Aws::String > &&value)
DecreaseReplicaCountRequest & AddReplicasToRemove(const Aws::String &value)
int GetNewReplicaCount() const
void SetReplicationGroupId(const Aws::String &value)
void SetApplyImmediately(bool value)
DecreaseReplicaCountRequest & AddReplicasToRemove(Aws::String &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DecreaseReplicaCountRequest & WithReplicasToRemove(const Aws::Vector< Aws::String > &value)
DecreaseReplicaCountRequest & WithApplyImmediately(bool value)
DecreaseReplicaCountRequest & AddReplicaConfiguration(const ConfigureShard &value)
const Aws::String & GetReplicationGroupId() const
bool GetApplyImmediately() const
DecreaseReplicaCountRequest & WithReplicasToRemove(Aws::Vector< Aws::String > &&value)
bool ReplicasToRemoveHasBeenSet() const
DecreaseReplicaCountRequest & AddReplicasToRemove(const char *value)
const Aws::Vector< Aws::String > & GetReplicasToRemove() const
bool ReplicaConfigurationHasBeenSet() const
DecreaseReplicaCountRequest & WithReplicationGroupId(const char *value)
void SetNewReplicaCount(int value)
bool ApplyImmediatelyHasBeenSet() const
AWS_ELASTICACHE_API DecreaseReplicaCountRequest()
const Aws::Vector< ConfigureShard > & GetReplicaConfiguration() const
DecreaseReplicaCountRequest & WithNewReplicaCount(int value)
DecreaseReplicaCountRequest & AddReplicaConfiguration(ConfigureShard &&value)
DecreaseReplicaCountRequest & WithReplicaConfiguration(const Aws::Vector< ConfigureShard > &value)
virtual const char * GetServiceRequestName() const override
void SetReplicationGroupId(const char *value)
DecreaseReplicaCountRequest & WithReplicationGroupId(Aws::String &&value)
void SetReplicaConfiguration(const Aws::Vector< ConfigureShard > &value)
bool NewReplicaCountHasBeenSet() const
void SetReplicationGroupId(Aws::String &&value)
bool ReplicationGroupIdHasBeenSet() const
DecreaseReplicaCountRequest & WithReplicationGroupId(const Aws::String &value)
void SetReplicasToRemove(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector