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/AZMode.h>
12#include <aws/elasticache/model/AuthTokenUpdateStrategyType.h>
13#include <aws/elasticache/model/IpDiscovery.h>
14#include <aws/elasticache/model/LogDeliveryConfigurationRequest.h>
56 inline void SetCacheClusterId(
const char* value) { m_cacheClusterIdHasBeenSet =
true; m_cacheClusterId.assign(value); }
94 inline void SetNumCacheNodes(
int value) { m_numCacheNodesHasBeenSet =
true; m_numCacheNodes = value; }
134 inline void SetAZMode(
const AZMode& value) { m_aZModeHasBeenSet =
true; m_aZMode = value; }
135 inline void SetAZMode(
AZMode&& value) { m_aZModeHasBeenSet =
true; m_aZMode = std::move(value); }
260 inline void SetNotificationTopicArn(
const char* value) { m_notificationTopicArnHasBeenSet =
true; m_notificationTopicArn.assign(value); }
277 inline void SetCacheParameterGroupName(
const char* value) { m_cacheParameterGroupNameHasBeenSet =
true; m_cacheParameterGroupName.assign(value); }
293 inline void SetNotificationTopicStatus(
const char* value) { m_notificationTopicStatusHasBeenSet =
true; m_notificationTopicStatus.assign(value); }
313 inline void SetApplyImmediately(
bool value) { m_applyImmediatelyHasBeenSet =
true; m_applyImmediately = value; }
326 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
345 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
387 inline void SetSnapshotWindow(
const char* value) { m_snapshotWindowHasBeenSet =
true; m_snapshotWindow.assign(value); }
401 inline void SetCacheNodeType(
const char* value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType.assign(value); }
421 inline void SetAuthToken(
const char* value) { m_authTokenHasBeenSet =
true; m_authToken.assign(value); }
477 bool m_cacheClusterIdHasBeenSet =
false;
480 bool m_numCacheNodesHasBeenSet =
false;
483 bool m_cacheNodeIdsToRemoveHasBeenSet =
false;
486 bool m_aZModeHasBeenSet =
false;
489 bool m_newAvailabilityZonesHasBeenSet =
false;
492 bool m_cacheSecurityGroupNamesHasBeenSet =
false;
495 bool m_securityGroupIdsHasBeenSet =
false;
498 bool m_preferredMaintenanceWindowHasBeenSet =
false;
501 bool m_notificationTopicArnHasBeenSet =
false;
504 bool m_cacheParameterGroupNameHasBeenSet =
false;
507 bool m_notificationTopicStatusHasBeenSet =
false;
509 bool m_applyImmediately;
510 bool m_applyImmediatelyHasBeenSet =
false;
513 bool m_engineHasBeenSet =
false;
516 bool m_engineVersionHasBeenSet =
false;
518 bool m_autoMinorVersionUpgrade;
519 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
521 int m_snapshotRetentionLimit;
522 bool m_snapshotRetentionLimitHasBeenSet =
false;
525 bool m_snapshotWindowHasBeenSet =
false;
528 bool m_cacheNodeTypeHasBeenSet =
false;
531 bool m_authTokenHasBeenSet =
false;
534 bool m_authTokenUpdateStrategyHasBeenSet =
false;
537 bool m_logDeliveryConfigurationsHasBeenSet =
false;
540 bool m_ipDiscoveryHasBeenSet =
false;
const Aws::String & GetNotificationTopicArn() const
void SetCacheClusterId(Aws::String &&value)
int GetNumCacheNodes() const
void SetLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfigurationRequest > &&value)
bool SecurityGroupIdsHasBeenSet() const
bool SnapshotRetentionLimitHasBeenSet() const
ModifyCacheClusterRequest & WithNewAvailabilityZones(Aws::Vector< Aws::String > &&value)
ModifyCacheClusterRequest & WithApplyImmediately(bool value)
ModifyCacheClusterRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetCacheNodeIdsToRemove(const Aws::Vector< Aws::String > &value)
void SetSnapshotRetentionLimit(int value)
void SetIpDiscovery(const IpDiscovery &value)
void SetIpDiscovery(IpDiscovery &&value)
void SetCacheSecurityGroupNames(Aws::Vector< Aws::String > &&value)
const Aws::String & GetNotificationTopicStatus() const
void SetCacheClusterId(const Aws::String &value)
ModifyCacheClusterRequest & AddLogDeliveryConfigurations(const LogDeliveryConfigurationRequest &value)
const Aws::String & GetCacheNodeType() const
bool AuthTokenUpdateStrategyHasBeenSet() const
void SetCacheNodeType(const char *value)
virtual const char * GetServiceRequestName() const override
void SetAZMode(const AZMode &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
ModifyCacheClusterRequest & WithCacheSecurityGroupNames(const Aws::Vector< Aws::String > &value)
const Aws::String & GetEngineVersion() const
ModifyCacheClusterRequest & WithCacheParameterGroupName(Aws::String &&value)
ModifyCacheClusterRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCacheNodeIdsToRemove() const
ModifyCacheClusterRequest & WithSnapshotWindow(const Aws::String &value)
ModifyCacheClusterRequest & AddCacheSecurityGroupNames(const Aws::String &value)
bool EngineHasBeenSet() const
ModifyCacheClusterRequest & WithEngine(const Aws::String &value)
void SetCacheClusterId(const char *value)
ModifyCacheClusterRequest & WithCacheParameterGroupName(const char *value)
void SetEngine(Aws::String &&value)
bool NewAvailabilityZonesHasBeenSet() const
ModifyCacheClusterRequest & AddSecurityGroupIds(Aws::String &&value)
void SetLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfigurationRequest > &value)
bool CacheNodeTypeHasBeenSet() const
ModifyCacheClusterRequest & WithNotificationTopicArn(Aws::String &&value)
ModifyCacheClusterRequest & WithLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfigurationRequest > &value)
bool NumCacheNodesHasBeenSet() const
ModifyCacheClusterRequest & WithSnapshotRetentionLimit(int value)
bool AutoMinorVersionUpgradeHasBeenSet() const
ModifyCacheClusterRequest & WithAuthTokenUpdateStrategy(AuthTokenUpdateStrategyType &&value)
ModifyCacheClusterRequest & WithSnapshotWindow(const char *value)
void SetCacheParameterGroupName(const Aws::String &value)
bool SnapshotWindowHasBeenSet() const
void SetNumCacheNodes(int value)
ModifyCacheClusterRequest & WithCacheNodeType(Aws::String &&value)
bool AZModeHasBeenSet() const
ModifyCacheClusterRequest & WithCacheNodeIdsToRemove(Aws::Vector< Aws::String > &&value)
void SetApplyImmediately(bool value)
void SetNotificationTopicStatus(const char *value)
void SetSnapshotWindow(const char *value)
const Aws::Vector< Aws::String > & GetNewAvailabilityZones() const
bool CacheClusterIdHasBeenSet() const
ModifyCacheClusterRequest & WithIpDiscovery(IpDiscovery &&value)
const Aws::String & GetSnapshotWindow() const
ModifyCacheClusterRequest & WithSnapshotWindow(Aws::String &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyCacheClusterRequest & WithNotificationTopicStatus(Aws::String &&value)
ModifyCacheClusterRequest & WithCacheParameterGroupName(const Aws::String &value)
void SetNotificationTopicStatus(const Aws::String &value)
ModifyCacheClusterRequest & WithNotificationTopicStatus(const char *value)
void SetNotificationTopicArn(const Aws::String &value)
ModifyCacheClusterRequest & WithAZMode(const AZMode &value)
bool PreferredMaintenanceWindowHasBeenSet() const
bool ApplyImmediatelyHasBeenSet() const
ModifyCacheClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
void SetEngineVersion(const Aws::String &value)
const Aws::Vector< LogDeliveryConfigurationRequest > & GetLogDeliveryConfigurations() const
ModifyCacheClusterRequest & AddLogDeliveryConfigurations(LogDeliveryConfigurationRequest &&value)
ModifyCacheClusterRequest & AddNewAvailabilityZones(const char *value)
const Aws::String & GetAuthToken() const
ModifyCacheClusterRequest & WithPreferredMaintenanceWindow(const char *value)
ModifyCacheClusterRequest & AddCacheSecurityGroupNames(Aws::String &&value)
void SetCacheNodeIdsToRemove(Aws::Vector< Aws::String > &&value)
ModifyCacheClusterRequest & WithAuthTokenUpdateStrategy(const AuthTokenUpdateStrategyType &value)
int GetSnapshotRetentionLimit() const
void SetAuthToken(const Aws::String &value)
ModifyCacheClusterRequest & WithNotificationTopicArn(const Aws::String &value)
const Aws::String & GetCacheParameterGroupName() const
ModifyCacheClusterRequest & WithAuthToken(const char *value)
void SetNewAvailabilityZones(Aws::Vector< Aws::String > &&value)
void SetPreferredMaintenanceWindow(const char *value)
ModifyCacheClusterRequest & WithAuthToken(Aws::String &&value)
void SetAuthTokenUpdateStrategy(const AuthTokenUpdateStrategyType &value)
ModifyCacheClusterRequest & WithEngineVersion(Aws::String &&value)
ModifyCacheClusterRequest & WithNotificationTopicArn(const char *value)
ModifyCacheClusterRequest & AddNewAvailabilityZones(const Aws::String &value)
void SetEngine(const char *value)
bool GetAutoMinorVersionUpgrade() const
void SetAutoMinorVersionUpgrade(bool value)
ModifyCacheClusterRequest & AddCacheNodeIdsToRemove(Aws::String &&value)
void SetNewAvailabilityZones(const Aws::Vector< Aws::String > &value)
const Aws::String & GetPreferredMaintenanceWindow() const
ModifyCacheClusterRequest & AddCacheNodeIdsToRemove(const char *value)
ModifyCacheClusterRequest & AddCacheSecurityGroupNames(const char *value)
void SetAuthToken(const char *value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
ModifyCacheClusterRequest & WithCacheClusterId(const Aws::String &value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
void SetNotificationTopicArn(Aws::String &&value)
const IpDiscovery & GetIpDiscovery() const
void SetEngineVersion(Aws::String &&value)
bool AuthTokenHasBeenSet() const
ModifyCacheClusterRequest & WithAutoMinorVersionUpgrade(bool value)
ModifyCacheClusterRequest & WithAuthToken(const Aws::String &value)
ModifyCacheClusterRequest & AddSecurityGroupIds(const Aws::String &value)
void SetSnapshotWindow(const Aws::String &value)
ModifyCacheClusterRequest & WithCacheNodeType(const char *value)
ModifyCacheClusterRequest & WithEngineVersion(const char *value)
ModifyCacheClusterRequest & WithEngine(const char *value)
bool CacheSecurityGroupNamesHasBeenSet() const
void SetCacheParameterGroupName(Aws::String &&value)
const Aws::String & GetCacheClusterId() const
void SetCacheNodeType(Aws::String &&value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
ModifyCacheClusterRequest & WithEngine(Aws::String &&value)
bool CacheParameterGroupNameHasBeenSet() const
bool NotificationTopicStatusHasBeenSet() const
void SetCacheParameterGroupName(const char *value)
bool LogDeliveryConfigurationsHasBeenSet() const
ModifyCacheClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetCacheNodeType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetCacheSecurityGroupNames() const
ModifyCacheClusterRequest & WithLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfigurationRequest > &&value)
void SetNotificationTopicStatus(Aws::String &&value)
void SetSnapshotWindow(Aws::String &&value)
void SetNotificationTopicArn(const char *value)
ModifyCacheClusterRequest & WithCacheClusterId(Aws::String &&value)
bool IpDiscoveryHasBeenSet() const
ModifyCacheClusterRequest & AddSecurityGroupIds(const char *value)
ModifyCacheClusterRequest & WithEngineVersion(const Aws::String &value)
void SetAuthTokenUpdateStrategy(AuthTokenUpdateStrategyType &&value)
ModifyCacheClusterRequest & WithNewAvailabilityZones(const Aws::Vector< Aws::String > &value)
ModifyCacheClusterRequest & WithCacheNodeType(const Aws::String &value)
const AZMode & GetAZMode() const
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetEngineVersion(const char *value)
const AuthTokenUpdateStrategyType & GetAuthTokenUpdateStrategy() const
ModifyCacheClusterRequest & WithIpDiscovery(const IpDiscovery &value)
void SetCacheSecurityGroupNames(const Aws::Vector< Aws::String > &value)
ModifyCacheClusterRequest & WithNumCacheNodes(int value)
ModifyCacheClusterRequest & WithCacheNodeIdsToRemove(const Aws::Vector< Aws::String > &value)
ModifyCacheClusterRequest & WithCacheClusterId(const char *value)
ModifyCacheClusterRequest & AddNewAvailabilityZones(Aws::String &&value)
const Aws::String & GetEngine() const
bool NotificationTopicArnHasBeenSet() const
AWS_ELASTICACHE_API ModifyCacheClusterRequest()
bool EngineVersionHasBeenSet() const
void SetAZMode(AZMode &&value)
ModifyCacheClusterRequest & WithNotificationTopicStatus(const Aws::String &value)
bool GetApplyImmediately() const
void SetEngine(const Aws::String &value)
void SetAuthToken(Aws::String &&value)
ModifyCacheClusterRequest & WithCacheSecurityGroupNames(Aws::Vector< Aws::String > &&value)
ModifyCacheClusterRequest & WithAZMode(AZMode &&value)
bool CacheNodeIdsToRemoveHasBeenSet() const
ModifyCacheClusterRequest & AddCacheNodeIdsToRemove(const Aws::String &value)
AuthTokenUpdateStrategyType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector