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/AuthTokenUpdateStrategyType.h>
12#include <aws/elasticache/model/ClusterMode.h>
13#include <aws/elasticache/model/IpDiscovery.h>
14#include <aws/elasticache/model/LogDeliveryConfigurationRequest.h>
15#include <aws/elasticache/model/TransitEncryptionMode.h>
20namespace ElastiCache {
51 template <
typename ReplicationGroupIdT = Aws::String>
53 m_replicationGroupIdHasBeenSet =
true;
54 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
56 template <
typename ReplicationGroupIdT = Aws::String>
70 template <
typename ReplicationGroupDescriptionT = Aws::String>
72 m_replicationGroupDescriptionHasBeenSet =
true;
73 m_replicationGroupDescription = std::forward<ReplicationGroupDescriptionT>(value);
75 template <
typename ReplicationGroupDescriptionT = Aws::String>
91 template <
typename PrimaryClusterIdT = Aws::String>
93 m_primaryClusterIdHasBeenSet =
true;
94 m_primaryClusterId = std::forward<PrimaryClusterIdT>(value);
96 template <
typename PrimaryClusterIdT = Aws::String>
111 template <
typename SnapshottingClusterIdT = Aws::String>
113 m_snapshottingClusterIdHasBeenSet =
true;
114 m_snapshottingClusterId = std::forward<SnapshottingClusterIdT>(value);
116 template <
typename SnapshottingClusterIdT = Aws::String>
132 m_automaticFailoverEnabledHasBeenSet =
true;
133 m_automaticFailoverEnabled = value;
148 m_multiAZEnabledHasBeenSet =
true;
149 m_multiAZEnabled = value;
168 template <
typename CacheSecurityGroupNamesT = Aws::Vector<Aws::String>>
170 m_cacheSecurityGroupNamesHasBeenSet =
true;
171 m_cacheSecurityGroupNames = std::forward<CacheSecurityGroupNamesT>(value);
173 template <
typename CacheSecurityGroupNamesT = Aws::Vector<Aws::String>>
178 template <
typename CacheSecurityGroupNamesT = Aws::String>
180 m_cacheSecurityGroupNamesHasBeenSet =
true;
181 m_cacheSecurityGroupNames.emplace_back(std::forward<CacheSecurityGroupNamesT>(value));
194 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
196 m_securityGroupIdsHasBeenSet =
true;
197 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
199 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
204 template <
typename SecurityGroupIdsT = Aws::String>
206 m_securityGroupIdsHasBeenSet =
true;
207 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
225 template <
typename PreferredMa
intenanceWindowT = Aws::String>
227 m_preferredMaintenanceWindowHasBeenSet =
true;
228 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
230 template <
typename PreferredMa
intenanceWindowT = Aws::String>
245 template <
typename NotificationTopicArnT = Aws::String>
247 m_notificationTopicArnHasBeenSet =
true;
248 m_notificationTopicArn = std::forward<NotificationTopicArnT>(value);
250 template <
typename NotificationTopicArnT = Aws::String>
266 template <
typename CacheParameterGroupNameT = Aws::String>
268 m_cacheParameterGroupNameHasBeenSet =
true;
269 m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value);
271 template <
typename CacheParameterGroupNameT = Aws::String>
286 template <
typename NotificationTopicStatusT = Aws::String>
288 m_notificationTopicStatusHasBeenSet =
true;
289 m_notificationTopicStatus = std::forward<NotificationTopicStatusT>(value);
291 template <
typename NotificationTopicStatusT = Aws::String>
311 m_applyImmediatelyHasBeenSet =
true;
312 m_applyImmediately = value;
327 template <
typename EngineT = Aws::String>
329 m_engineHasBeenSet =
true;
330 m_engine = std::forward<EngineT>(value);
332 template <
typename EngineT = Aws::String>
352 template <
typename EngineVersionT = Aws::String>
354 m_engineVersionHasBeenSet =
true;
355 m_engineVersion = std::forward<EngineVersionT>(value);
357 template <
typename EngineVersionT = Aws::String>
373 m_autoMinorVersionUpgradeHasBeenSet =
true;
374 m_autoMinorVersionUpgrade = value;
393 m_snapshotRetentionLimitHasBeenSet =
true;
394 m_snapshotRetentionLimit = value;
412 template <
typename SnapshotWindowT = Aws::String>
414 m_snapshotWindowHasBeenSet =
true;
415 m_snapshotWindow = std::forward<SnapshotWindowT>(value);
417 template <
typename SnapshotWindowT = Aws::String>
430 template <
typename CacheNodeTypeT = Aws::String>
432 m_cacheNodeTypeHasBeenSet =
true;
433 m_cacheNodeType = std::forward<CacheNodeTypeT>(value);
435 template <
typename CacheNodeTypeT = Aws::String>
455 template <
typename AuthTokenT = Aws::String>
457 m_authTokenHasBeenSet =
true;
458 m_authToken = std::forward<AuthTokenT>(value);
460 template <
typename AuthTokenT = Aws::String>
480 m_authTokenUpdateStrategyHasBeenSet =
true;
481 m_authTokenUpdateStrategy = value;
495 template <
typename UserGroupIdsToAddT = Aws::Vector<Aws::String>>
497 m_userGroupIdsToAddHasBeenSet =
true;
498 m_userGroupIdsToAdd = std::forward<UserGroupIdsToAddT>(value);
500 template <
typename UserGroupIdsToAddT = Aws::Vector<Aws::String>>
505 template <
typename UserGroupIdsToAddT = Aws::String>
507 m_userGroupIdsToAddHasBeenSet =
true;
508 m_userGroupIdsToAdd.emplace_back(std::forward<UserGroupIdsToAddT>(value));
520 template <
typename UserGroupIdsToRemoveT = Aws::Vector<Aws::String>>
522 m_userGroupIdsToRemoveHasBeenSet =
true;
523 m_userGroupIdsToRemove = std::forward<UserGroupIdsToRemoveT>(value);
525 template <
typename UserGroupIdsToRemoveT = Aws::Vector<Aws::String>>
530 template <
typename UserGroupIdsToRemoveT = Aws::String>
532 m_userGroupIdsToRemoveHasBeenSet =
true;
533 m_userGroupIdsToRemove.emplace_back(std::forward<UserGroupIdsToRemoveT>(value));
545 m_removeUserGroupsHasBeenSet =
true;
546 m_removeUserGroups = value;
560 template <
typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfigurationRequest>>
562 m_logDeliveryConfigurationsHasBeenSet =
true;
563 m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value);
565 template <
typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfigurationRequest>>
570 template <
typename LogDeliveryConfigurationsT = LogDeliveryConfigurationRequest>
572 m_logDeliveryConfigurationsHasBeenSet =
true;
573 m_logDeliveryConfigurations.emplace_back(std::forward<LogDeliveryConfigurationsT>(value));
589 m_ipDiscoveryHasBeenSet =
true;
590 m_ipDiscovery = value;
607 m_transitEncryptionEnabledHasBeenSet =
true;
608 m_transitEncryptionEnabled = value;
633 m_transitEncryptionModeHasBeenSet =
true;
634 m_transitEncryptionMode = value;
654 m_clusterModeHasBeenSet =
true;
655 m_clusterMode = value;
671 bool m_automaticFailoverEnabled{
false};
673 bool m_multiAZEnabled{
false};
687 bool m_applyImmediately{
false};
693 bool m_autoMinorVersionUpgrade{
false};
695 int m_snapshotRetentionLimit{0};
709 bool m_removeUserGroups{
false};
715 bool m_transitEncryptionEnabled{
false};
720 bool m_replicationGroupIdHasBeenSet =
false;
721 bool m_replicationGroupDescriptionHasBeenSet =
false;
722 bool m_primaryClusterIdHasBeenSet =
false;
723 bool m_snapshottingClusterIdHasBeenSet =
false;
724 bool m_automaticFailoverEnabledHasBeenSet =
false;
725 bool m_multiAZEnabledHasBeenSet =
false;
726 bool m_cacheSecurityGroupNamesHasBeenSet =
false;
727 bool m_securityGroupIdsHasBeenSet =
false;
728 bool m_preferredMaintenanceWindowHasBeenSet =
false;
729 bool m_notificationTopicArnHasBeenSet =
false;
730 bool m_cacheParameterGroupNameHasBeenSet =
false;
731 bool m_notificationTopicStatusHasBeenSet =
false;
732 bool m_applyImmediatelyHasBeenSet =
false;
733 bool m_engineHasBeenSet =
false;
734 bool m_engineVersionHasBeenSet =
false;
735 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
736 bool m_snapshotRetentionLimitHasBeenSet =
false;
737 bool m_snapshotWindowHasBeenSet =
false;
738 bool m_cacheNodeTypeHasBeenSet =
false;
739 bool m_authTokenHasBeenSet =
false;
740 bool m_authTokenUpdateStrategyHasBeenSet =
false;
741 bool m_userGroupIdsToAddHasBeenSet =
false;
742 bool m_userGroupIdsToRemoveHasBeenSet =
false;
743 bool m_removeUserGroupsHasBeenSet =
false;
744 bool m_logDeliveryConfigurationsHasBeenSet =
false;
745 bool m_ipDiscoveryHasBeenSet =
false;
746 bool m_transitEncryptionEnabledHasBeenSet =
false;
747 bool m_transitEncryptionModeHasBeenSet =
false;
748 bool m_clusterModeHasBeenSet =
false;
AWS_ELASTICACHE_API ModifyReplicationGroupRequest()=default
const Aws::String & GetNotificationTopicArn() const
void SetTransitEncryptionMode(TransitEncryptionMode value)
ModifyReplicationGroupRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetAutomaticFailoverEnabled(bool value)
bool AuthTokenHasBeenSet() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
bool MultiAZEnabledHasBeenSet() const
AuthTokenUpdateStrategyType GetAuthTokenUpdateStrategy() const
ModifyReplicationGroupRequest & WithClusterMode(ClusterMode value)
void SetSnapshotWindow(SnapshotWindowT &&value)
bool TransitEncryptionEnabledHasBeenSet() const
ModifyReplicationGroupRequest & WithApplyImmediately(bool value)
ModifyReplicationGroupRequest & WithTransitEncryptionMode(TransitEncryptionMode value)
const Aws::String & GetEngineVersion() const
void SetRemoveUserGroups(bool value)
void SetTransitEncryptionEnabled(bool value)
ModifyReplicationGroupRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
ModifyReplicationGroupRequest & WithSnapshottingClusterId(SnapshottingClusterIdT &&value)
void SetEngine(EngineT &&value)
bool PreferredMaintenanceWindowHasBeenSet() const
ModifyReplicationGroupRequest & AddLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
ModifyReplicationGroupRequest & WithAutomaticFailoverEnabled(bool value)
int GetSnapshotRetentionLimit() const
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool NotificationTopicArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetUserGroupIdsToAdd() const
bool GetAutoMinorVersionUpgrade() const
bool AutomaticFailoverEnabledHasBeenSet() const
const Aws::String & GetSnapshotWindow() const
void SetSnapshottingClusterId(SnapshottingClusterIdT &&value)
const Aws::Vector< Aws::String > & GetCacheSecurityGroupNames() const
void SetReplicationGroupDescription(ReplicationGroupDescriptionT &&value)
bool LogDeliveryConfigurationsHasBeenSet() const
void SetNotificationTopicArn(NotificationTopicArnT &&value)
ModifyReplicationGroupRequest & WithEngineVersion(EngineVersionT &&value)
bool ReplicationGroupIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ModifyReplicationGroupRequest & WithRemoveUserGroups(bool value)
const Aws::String & GetAuthToken() const
void SetAuthTokenUpdateStrategy(AuthTokenUpdateStrategyType value)
bool SecurityGroupIdsHasBeenSet() const
bool GetRemoveUserGroups() const
const Aws::String & GetCacheNodeType() const
ModifyReplicationGroupRequest & WithPrimaryClusterId(PrimaryClusterIdT &&value)
TransitEncryptionMode GetTransitEncryptionMode() const
ModifyReplicationGroupRequest & WithCacheParameterGroupName(CacheParameterGroupNameT &&value)
ModifyReplicationGroupRequest & AddUserGroupIdsToRemove(UserGroupIdsToRemoveT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
bool TransitEncryptionModeHasBeenSet() const
ModifyReplicationGroupRequest & AddCacheSecurityGroupNames(CacheSecurityGroupNamesT &&value)
void SetClusterMode(ClusterMode value)
ModifyReplicationGroupRequest & WithReplicationGroupDescription(ReplicationGroupDescriptionT &&value)
bool SnapshotWindowHasBeenSet() const
bool CacheNodeTypeHasBeenSet() const
bool CacheParameterGroupNameHasBeenSet() const
bool PrimaryClusterIdHasBeenSet() const
void SetAutoMinorVersionUpgrade(bool value)
ModifyReplicationGroupRequest & WithIpDiscovery(IpDiscovery value)
bool EngineVersionHasBeenSet() const
bool ApplyImmediatelyHasBeenSet() const
void SetCacheSecurityGroupNames(CacheSecurityGroupNamesT &&value)
const Aws::Vector< Aws::String > & GetUserGroupIdsToRemove() const
bool ReplicationGroupDescriptionHasBeenSet() const
ModifyReplicationGroupRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
ModifyReplicationGroupRequest & WithAutoMinorVersionUpgrade(bool value)
void SetMultiAZEnabled(bool value)
bool EngineHasBeenSet() const
bool UserGroupIdsToRemoveHasBeenSet() const
bool RemoveUserGroupsHasBeenSet() const
const Aws::String & GetEngine() const
ModifyReplicationGroupRequest & AddUserGroupIdsToAdd(UserGroupIdsToAddT &&value)
bool ClusterModeHasBeenSet() const
bool UserGroupIdsToAddHasBeenSet() const
ModifyReplicationGroupRequest & WithAuthTokenUpdateStrategy(AuthTokenUpdateStrategyType value)
bool NotificationTopicStatusHasBeenSet() const
const Aws::String & GetReplicationGroupDescription() const
ModifyReplicationGroupRequest & WithTransitEncryptionEnabled(bool value)
bool GetApplyImmediately() const
ModifyReplicationGroupRequest & WithNotificationTopicArn(NotificationTopicArnT &&value)
void SetNotificationTopicStatus(NotificationTopicStatusT &&value)
const Aws::String & GetCacheParameterGroupName() const
ModifyReplicationGroupRequest & WithReplicationGroupId(ReplicationGroupIdT &&value)
ModifyReplicationGroupRequest & WithAuthToken(AuthTokenT &&value)
void SetPrimaryClusterId(PrimaryClusterIdT &&value)
void SetEngineVersion(EngineVersionT &&value)
void SetIpDiscovery(IpDiscovery value)
bool SnapshottingClusterIdHasBeenSet() const
const Aws::Vector< LogDeliveryConfigurationRequest > & GetLogDeliveryConfigurations() const
bool IpDiscoveryHasBeenSet() const
ModifyReplicationGroupRequest & WithNotificationTopicStatus(NotificationTopicStatusT &&value)
bool AutoMinorVersionUpgradeHasBeenSet() const
bool GetTransitEncryptionEnabled() const
bool GetMultiAZEnabled() const
bool GetAutomaticFailoverEnabled() const
void SetCacheParameterGroupName(CacheParameterGroupNameT &&value)
ModifyReplicationGroupRequest & WithMultiAZEnabled(bool value)
ModifyReplicationGroupRequest & WithCacheSecurityGroupNames(CacheSecurityGroupNamesT &&value)
const Aws::String & GetSnapshottingClusterId() const
void SetCacheNodeType(CacheNodeTypeT &&value)
void SetReplicationGroupId(ReplicationGroupIdT &&value)
void SetApplyImmediately(bool value)
bool CacheSecurityGroupNamesHasBeenSet() const
ModifyReplicationGroupRequest & WithLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
IpDiscovery GetIpDiscovery() const
void SetAuthToken(AuthTokenT &&value)
const Aws::String & GetReplicationGroupId() const
bool SnapshotRetentionLimitHasBeenSet() const
ClusterMode GetClusterMode() const
const Aws::String & GetNotificationTopicStatus() const
bool AuthTokenUpdateStrategyHasBeenSet() const
ModifyReplicationGroupRequest & WithSnapshotRetentionLimit(int value)
const Aws::String & GetPrimaryClusterId() const
ModifyReplicationGroupRequest & WithSnapshotWindow(SnapshotWindowT &&value)
void SetUserGroupIdsToAdd(UserGroupIdsToAddT &&value)
const Aws::String & GetPreferredMaintenanceWindow() const
ModifyReplicationGroupRequest & WithCacheNodeType(CacheNodeTypeT &&value)
void SetUserGroupIdsToRemove(UserGroupIdsToRemoveT &&value)
ModifyReplicationGroupRequest & WithUserGroupIdsToAdd(UserGroupIdsToAddT &&value)
ModifyReplicationGroupRequest & WithEngine(EngineT &&value)
void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
ModifyReplicationGroupRequest & WithUserGroupIdsToRemove(UserGroupIdsToRemoveT &&value)
void SetSnapshotRetentionLimit(int value)
AuthTokenUpdateStrategyType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector