7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCacheRequest.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.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>
15#include <aws/elasticache/model/ScaleConfig.h>
20namespace ElastiCache {
51 template <
typename CacheClusterIdT = Aws::String>
53 m_cacheClusterIdHasBeenSet =
true;
54 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
56 template <
typename CacheClusterIdT = Aws::String>
96 m_numCacheNodesHasBeenSet =
true;
97 m_numCacheNodes = value;
119 template <
typename CacheNodeIdsToRemoveT = Aws::Vector<Aws::String>>
121 m_cacheNodeIdsToRemoveHasBeenSet =
true;
122 m_cacheNodeIdsToRemove = std::forward<CacheNodeIdsToRemoveT>(value);
124 template <
typename CacheNodeIdsToRemoveT = Aws::Vector<Aws::String>>
129 template <
typename CacheNodeIdsToRemoveT = Aws::String>
131 m_cacheNodeIdsToRemoveHasBeenSet =
true;
132 m_cacheNodeIdsToRemove.emplace_back(std::forward<CacheNodeIdsToRemoveT>(value));
151 m_aZModeHasBeenSet =
true;
204 template <
typename NewAvailabilityZonesT = Aws::Vector<Aws::String>>
206 m_newAvailabilityZonesHasBeenSet =
true;
207 m_newAvailabilityZones = std::forward<NewAvailabilityZonesT>(value);
209 template <
typename NewAvailabilityZonesT = Aws::Vector<Aws::String>>
214 template <
typename NewAvailabilityZonesT = Aws::String>
216 m_newAvailabilityZonesHasBeenSet =
true;
217 m_newAvailabilityZones.emplace_back(std::forward<NewAvailabilityZonesT>(value));
232 template <
typename CacheSecurityGroupNamesT = Aws::Vector<Aws::String>>
234 m_cacheSecurityGroupNamesHasBeenSet =
true;
235 m_cacheSecurityGroupNames = std::forward<CacheSecurityGroupNamesT>(value);
237 template <
typename CacheSecurityGroupNamesT = Aws::Vector<Aws::String>>
242 template <
typename CacheSecurityGroupNamesT = Aws::String>
244 m_cacheSecurityGroupNamesHasBeenSet =
true;
245 m_cacheSecurityGroupNames.emplace_back(std::forward<CacheSecurityGroupNamesT>(value));
258 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
260 m_securityGroupIdsHasBeenSet =
true;
261 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
263 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
268 template <
typename SecurityGroupIdsT = Aws::String>
270 m_securityGroupIdsHasBeenSet =
true;
271 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
289 template <
typename PreferredMa
intenanceWindowT = Aws::String>
291 m_preferredMaintenanceWindowHasBeenSet =
true;
292 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
294 template <
typename PreferredMa
intenanceWindowT = Aws::String>
309 template <
typename NotificationTopicArnT = Aws::String>
311 m_notificationTopicArnHasBeenSet =
true;
312 m_notificationTopicArn = std::forward<NotificationTopicArnT>(value);
314 template <
typename NotificationTopicArnT = Aws::String>
330 template <
typename CacheParameterGroupNameT = Aws::String>
332 m_cacheParameterGroupNameHasBeenSet =
true;
333 m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value);
335 template <
typename CacheParameterGroupNameT = Aws::String>
350 template <
typename NotificationTopicStatusT = Aws::String>
352 m_notificationTopicStatusHasBeenSet =
true;
353 m_notificationTopicStatus = std::forward<NotificationTopicStatusT>(value);
355 template <
typename NotificationTopicStatusT = Aws::String>
377 m_applyImmediatelyHasBeenSet =
true;
378 m_applyImmediately = value;
393 template <
typename EngineT = Aws::String>
395 m_engineHasBeenSet =
true;
396 m_engine = std::forward<EngineT>(value);
398 template <
typename EngineT = Aws::String>
416 template <
typename EngineVersionT = Aws::String>
418 m_engineVersionHasBeenSet =
true;
419 m_engineVersion = std::forward<EngineVersionT>(value);
421 template <
typename EngineVersionT = Aws::String>
437 m_autoMinorVersionUpgradeHasBeenSet =
true;
438 m_autoMinorVersionUpgrade = value;
458 m_snapshotRetentionLimitHasBeenSet =
true;
459 m_snapshotRetentionLimit = value;
474 template <
typename SnapshotWindowT = Aws::String>
476 m_snapshotWindowHasBeenSet =
true;
477 m_snapshotWindow = std::forward<SnapshotWindowT>(value);
479 template <
typename SnapshotWindowT = Aws::String>
492 template <
typename CacheNodeTypeT = Aws::String>
494 m_cacheNodeTypeHasBeenSet =
true;
495 m_cacheNodeType = std::forward<CacheNodeTypeT>(value);
497 template <
typename CacheNodeTypeT = Aws::String>
516 template <
typename AuthTokenT = Aws::String>
518 m_authTokenHasBeenSet =
true;
519 m_authToken = std::forward<AuthTokenT>(value);
521 template <
typename AuthTokenT = Aws::String>
541 m_authTokenUpdateStrategyHasBeenSet =
true;
542 m_authTokenUpdateStrategy = value;
556 template <
typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfigurationRequest>>
558 m_logDeliveryConfigurationsHasBeenSet =
true;
559 m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value);
561 template <
typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfigurationRequest>>
566 template <
typename LogDeliveryConfigurationsT = LogDeliveryConfigurationRequest>
568 m_logDeliveryConfigurationsHasBeenSet =
true;
569 m_logDeliveryConfigurations.emplace_back(std::forward<LogDeliveryConfigurationsT>(value));
585 m_ipDiscoveryHasBeenSet =
true;
586 m_ipDiscovery = value;
601 template <
typename ScaleConfigT = ScaleConfig>
603 m_scaleConfigHasBeenSet =
true;
604 m_scaleConfig = std::forward<ScaleConfigT>(value);
606 template <
typename ScaleConfigT = ScaleConfig>
615 int m_numCacheNodes{0};
635 bool m_applyImmediately{
false};
641 bool m_autoMinorVersionUpgrade{
false};
643 int m_snapshotRetentionLimit{0};
657 ScaleConfig m_scaleConfig;
658 bool m_cacheClusterIdHasBeenSet =
false;
659 bool m_numCacheNodesHasBeenSet =
false;
660 bool m_cacheNodeIdsToRemoveHasBeenSet =
false;
661 bool m_aZModeHasBeenSet =
false;
662 bool m_newAvailabilityZonesHasBeenSet =
false;
663 bool m_cacheSecurityGroupNamesHasBeenSet =
false;
664 bool m_securityGroupIdsHasBeenSet =
false;
665 bool m_preferredMaintenanceWindowHasBeenSet =
false;
666 bool m_notificationTopicArnHasBeenSet =
false;
667 bool m_cacheParameterGroupNameHasBeenSet =
false;
668 bool m_notificationTopicStatusHasBeenSet =
false;
669 bool m_applyImmediatelyHasBeenSet =
false;
670 bool m_engineHasBeenSet =
false;
671 bool m_engineVersionHasBeenSet =
false;
672 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
673 bool m_snapshotRetentionLimitHasBeenSet =
false;
674 bool m_snapshotWindowHasBeenSet =
false;
675 bool m_cacheNodeTypeHasBeenSet =
false;
676 bool m_authTokenHasBeenSet =
false;
677 bool m_authTokenUpdateStrategyHasBeenSet =
false;
678 bool m_logDeliveryConfigurationsHasBeenSet =
false;
679 bool m_ipDiscoveryHasBeenSet =
false;
680 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