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/ScaleConfig.h>
15#include <aws/elasticache/model/LogDeliveryConfigurationRequest.h>
55 template<
typename CacheClusterIdT = Aws::String>
56 void SetCacheClusterId(CacheClusterIdT&& value) { m_cacheClusterIdHasBeenSet =
true; m_cacheClusterId = std::forward<CacheClusterIdT>(value); }
57 template<
typename CacheClusterIdT = Aws::String>
93 inline void SetNumCacheNodes(
int value) { m_numCacheNodesHasBeenSet =
true; m_numCacheNodes = value; }
111 template<
typename CacheNodeIdsToRemoveT = Aws::Vector<Aws::String>>
112 void SetCacheNodeIdsToRemove(CacheNodeIdsToRemoveT&& value) { m_cacheNodeIdsToRemoveHasBeenSet =
true; m_cacheNodeIdsToRemove = std::forward<CacheNodeIdsToRemoveT>(value); }
113 template<
typename CacheNodeIdsToRemoveT = Aws::Vector<Aws::String>>
115 template<
typename CacheNodeIdsToRemoveT = Aws::String>
180 template<
typename NewAvailabilityZonesT = Aws::Vector<Aws::String>>
181 void SetNewAvailabilityZones(NewAvailabilityZonesT&& value) { m_newAvailabilityZonesHasBeenSet =
true; m_newAvailabilityZones = std::forward<NewAvailabilityZonesT>(value); }
182 template<
typename NewAvailabilityZonesT = Aws::Vector<Aws::String>>
184 template<
typename NewAvailabilityZonesT = Aws::String>
198 template<
typename CacheSecurityGroupNamesT = Aws::Vector<Aws::String>>
199 void SetCacheSecurityGroupNames(CacheSecurityGroupNamesT&& value) { m_cacheSecurityGroupNamesHasBeenSet =
true; m_cacheSecurityGroupNames = std::forward<CacheSecurityGroupNamesT>(value); }
200 template<
typename CacheSecurityGroupNamesT = Aws::Vector<Aws::String>>
202 template<
typename CacheSecurityGroupNamesT = Aws::String>
214 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
215 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
216 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
218 template<
typename SecurityGroupIdsT = Aws::String>
235 template<
typename PreferredMa
intenanceWindowT = Aws::String>
236 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet =
true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
237 template<
typename PreferredMa
intenanceWindowT = Aws::String>
249 template<
typename NotificationTopicArnT = Aws::String>
250 void SetNotificationTopicArn(NotificationTopicArnT&& value) { m_notificationTopicArnHasBeenSet =
true; m_notificationTopicArn = std::forward<NotificationTopicArnT>(value); }
251 template<
typename NotificationTopicArnT = Aws::String>
264 template<
typename CacheParameterGroupNameT = Aws::String>
265 void SetCacheParameterGroupName(CacheParameterGroupNameT&& value) { m_cacheParameterGroupNameHasBeenSet =
true; m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value); }
266 template<
typename CacheParameterGroupNameT = Aws::String>
278 template<
typename NotificationTopicStatusT = Aws::String>
279 void SetNotificationTopicStatus(NotificationTopicStatusT&& value) { m_notificationTopicStatusHasBeenSet =
true; m_notificationTopicStatus = std::forward<NotificationTopicStatusT>(value); }
280 template<
typename NotificationTopicStatusT = Aws::String>
298 inline void SetApplyImmediately(
bool value) { m_applyImmediatelyHasBeenSet =
true; m_applyImmediately = value; }
309 template<
typename EngineT = Aws::String>
310 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
311 template<
typename EngineT = Aws::String>
326 template<
typename EngineVersionT = Aws::String>
327 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
328 template<
typename EngineVersionT = Aws::String>
366 template<
typename SnapshotWindowT = Aws::String>
367 void SetSnapshotWindow(SnapshotWindowT&& value) { m_snapshotWindowHasBeenSet =
true; m_snapshotWindow = std::forward<SnapshotWindowT>(value); }
368 template<
typename SnapshotWindowT = Aws::String>
378 template<
typename CacheNodeTypeT = Aws::String>
379 void SetCacheNodeType(CacheNodeTypeT&& value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType = std::forward<CacheNodeTypeT>(value); }
380 template<
typename CacheNodeTypeT = Aws::String>
396 template<
typename AuthTokenT = Aws::String>
397 void SetAuthToken(AuthTokenT&& value) { m_authTokenHasBeenSet =
true; m_authToken = std::forward<AuthTokenT>(value); }
398 template<
typename AuthTokenT = Aws::String>
424 template<
typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfigurationRequest>>
425 void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) { m_logDeliveryConfigurationsHasBeenSet =
true; m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value); }
426 template<
typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfigurationRequest>>
428 template<
typename LogDeliveryConfigurationsT = LogDeliveryConfigurationRequest>
453 template<
typename ScaleConfigT = ScaleConfig>
454 void SetScaleConfig(ScaleConfigT&& value) { m_scaleConfigHasBeenSet =
true; m_scaleConfig = std::forward<ScaleConfigT>(value); }
455 template<
typename ScaleConfigT = ScaleConfig>
461 bool m_cacheClusterIdHasBeenSet =
false;
463 int m_numCacheNodes{0};
464 bool m_numCacheNodesHasBeenSet =
false;
467 bool m_cacheNodeIdsToRemoveHasBeenSet =
false;
470 bool m_aZModeHasBeenSet =
false;
473 bool m_newAvailabilityZonesHasBeenSet =
false;
476 bool m_cacheSecurityGroupNamesHasBeenSet =
false;
479 bool m_securityGroupIdsHasBeenSet =
false;
482 bool m_preferredMaintenanceWindowHasBeenSet =
false;
485 bool m_notificationTopicArnHasBeenSet =
false;
488 bool m_cacheParameterGroupNameHasBeenSet =
false;
491 bool m_notificationTopicStatusHasBeenSet =
false;
493 bool m_applyImmediately{
false};
494 bool m_applyImmediatelyHasBeenSet =
false;
497 bool m_engineHasBeenSet =
false;
500 bool m_engineVersionHasBeenSet =
false;
502 bool m_autoMinorVersionUpgrade{
false};
503 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
505 int m_snapshotRetentionLimit{0};
506 bool m_snapshotRetentionLimitHasBeenSet =
false;
509 bool m_snapshotWindowHasBeenSet =
false;
512 bool m_cacheNodeTypeHasBeenSet =
false;
515 bool m_authTokenHasBeenSet =
false;
518 bool m_authTokenUpdateStrategyHasBeenSet =
false;
521 bool m_logDeliveryConfigurationsHasBeenSet =
false;
524 bool m_ipDiscoveryHasBeenSet =
false;
526 ScaleConfig m_scaleConfig;
527 bool m_scaleConfigHasBeenSet =
false;
const Aws::String & GetNotificationTopicArn() const
int GetNumCacheNodes() const
bool SecurityGroupIdsHasBeenSet() const
bool SnapshotRetentionLimitHasBeenSet() const
ModifyCacheClusterRequest & WithApplyImmediately(bool value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
void SetSnapshotRetentionLimit(int value)
void SetEngine(EngineT &&value)
IpDiscovery GetIpDiscovery() const
const Aws::String & GetNotificationTopicStatus() const
ModifyCacheClusterRequest & AddCacheNodeIdsToRemove(CacheNodeIdsToRemoveT &&value)
const Aws::String & GetCacheNodeType() const
bool AuthTokenUpdateStrategyHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
ModifyCacheClusterRequest & WithScaleConfig(ScaleConfigT &&value)
const Aws::String & GetEngineVersion() const
ModifyCacheClusterRequest & WithIpDiscovery(IpDiscovery value)
const Aws::Vector< Aws::String > & GetCacheNodeIdsToRemove() const
AuthTokenUpdateStrategyType GetAuthTokenUpdateStrategy() const
const ScaleConfig & GetScaleConfig() const
bool EngineHasBeenSet() const
void SetIpDiscovery(IpDiscovery value)
AWS_ELASTICACHE_API ModifyCacheClusterRequest()=default
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
bool NewAvailabilityZonesHasBeenSet() const
void SetSnapshotWindow(SnapshotWindowT &&value)
bool CacheNodeTypeHasBeenSet() const
bool NumCacheNodesHasBeenSet() const
ModifyCacheClusterRequest & WithSnapshotRetentionLimit(int value)
bool AutoMinorVersionUpgradeHasBeenSet() const
ModifyCacheClusterRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool SnapshotWindowHasBeenSet() const
void SetNumCacheNodes(int value)
void SetCacheNodeType(CacheNodeTypeT &&value)
bool AZModeHasBeenSet() const
void SetApplyImmediately(bool value)
void SetCacheSecurityGroupNames(CacheSecurityGroupNamesT &&value)
const Aws::Vector< Aws::String > & GetNewAvailabilityZones() const
bool CacheClusterIdHasBeenSet() const
const Aws::String & GetSnapshotWindow() const
ModifyCacheClusterRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool PreferredMaintenanceWindowHasBeenSet() const
bool ApplyImmediatelyHasBeenSet() const
const Aws::Vector< LogDeliveryConfigurationRequest > & GetLogDeliveryConfigurations() const
const Aws::String & GetAuthToken() const
int GetSnapshotRetentionLimit() const
ModifyCacheClusterRequest & WithCacheClusterId(CacheClusterIdT &&value)
const Aws::String & GetCacheParameterGroupName() const
ModifyCacheClusterRequest & WithNotificationTopicStatus(NotificationTopicStatusT &&value)
void SetScaleConfig(ScaleConfigT &&value)
ModifyCacheClusterRequest & WithCacheParameterGroupName(CacheParameterGroupNameT &&value)
ModifyCacheClusterRequest & WithCacheNodeIdsToRemove(CacheNodeIdsToRemoveT &&value)
bool GetAutoMinorVersionUpgrade() const
void SetAutoMinorVersionUpgrade(bool value)
const Aws::String & GetPreferredMaintenanceWindow() const
void SetAuthToken(AuthTokenT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
bool AuthTokenHasBeenSet() const
void SetCacheParameterGroupName(CacheParameterGroupNameT &&value)
ModifyCacheClusterRequest & WithAutoMinorVersionUpgrade(bool value)
ModifyCacheClusterRequest & WithAuthToken(AuthTokenT &&value)
void SetCacheNodeIdsToRemove(CacheNodeIdsToRemoveT &&value)
bool CacheSecurityGroupNamesHasBeenSet() const
ModifyCacheClusterRequest & WithEngineVersion(EngineVersionT &&value)
ModifyCacheClusterRequest & AddNewAvailabilityZones(NewAvailabilityZonesT &&value)
const Aws::String & GetCacheClusterId() const
void SetCacheClusterId(CacheClusterIdT &&value)
bool CacheParameterGroupNameHasBeenSet() const
bool NotificationTopicStatusHasBeenSet() const
ModifyCacheClusterRequest & AddLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
bool LogDeliveryConfigurationsHasBeenSet() const
void SetAuthTokenUpdateStrategy(AuthTokenUpdateStrategyType value)
ModifyCacheClusterRequest & WithCacheSecurityGroupNames(CacheSecurityGroupNamesT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetNotificationTopicArn(NotificationTopicArnT &&value)
void SetNotificationTopicStatus(NotificationTopicStatusT &&value)
const Aws::Vector< Aws::String > & GetCacheSecurityGroupNames() const
ModifyCacheClusterRequest & AddCacheSecurityGroupNames(CacheSecurityGroupNamesT &&value)
bool ScaleConfigHasBeenSet() const
ModifyCacheClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
ModifyCacheClusterRequest & WithCacheNodeType(CacheNodeTypeT &&value)
bool IpDiscoveryHasBeenSet() const
ModifyCacheClusterRequest & WithNumCacheNodes(int value)
ModifyCacheClusterRequest & WithAZMode(AZMode value)
const Aws::String & GetEngine() const
bool NotificationTopicArnHasBeenSet() const
ModifyCacheClusterRequest & WithNotificationTopicArn(NotificationTopicArnT &&value)
bool EngineVersionHasBeenSet() const
ModifyCacheClusterRequest & WithSnapshotWindow(SnapshotWindowT &&value)
bool GetApplyImmediately() const
void SetNewAvailabilityZones(NewAvailabilityZonesT &&value)
void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
ModifyCacheClusterRequest & WithLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
ModifyCacheClusterRequest & WithAuthTokenUpdateStrategy(AuthTokenUpdateStrategyType value)
void SetAZMode(AZMode value)
void SetEngineVersion(EngineVersionT &&value)
bool CacheNodeIdsToRemoveHasBeenSet() const
ModifyCacheClusterRequest & WithEngine(EngineT &&value)
ModifyCacheClusterRequest & WithNewAvailabilityZones(NewAvailabilityZonesT &&value)
AuthTokenUpdateStrategyType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector