AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyReplicationGroupRequest.h
1
6#pragma once
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/AuthTokenUpdateStrategyType.h>
12#include <aws/elasticache/model/IpDiscovery.h>
13#include <aws/elasticache/model/TransitEncryptionMode.h>
14#include <aws/elasticache/model/ClusterMode.h>
15#include <aws/elasticache/model/LogDeliveryConfigurationRequest.h>
16#include <utility>
17
18namespace Aws
19{
20namespace ElastiCache
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_ELASTICACHE_API ModifyReplicationGroupRequest();
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "ModifyReplicationGroup"; }
41
42 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
43
44 protected:
45 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
46
47 public:
48
50
53 inline const Aws::String& GetReplicationGroupId() const{ return m_replicationGroupId; }
54 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
55 inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; }
56 inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::move(value); }
57 inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); }
60 inline ModifyReplicationGroupRequest& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;}
62
64
68 inline const Aws::String& GetReplicationGroupDescription() const{ return m_replicationGroupDescription; }
69 inline bool ReplicationGroupDescriptionHasBeenSet() const { return m_replicationGroupDescriptionHasBeenSet; }
70 inline void SetReplicationGroupDescription(const Aws::String& value) { m_replicationGroupDescriptionHasBeenSet = true; m_replicationGroupDescription = value; }
71 inline void SetReplicationGroupDescription(Aws::String&& value) { m_replicationGroupDescriptionHasBeenSet = true; m_replicationGroupDescription = std::move(value); }
72 inline void SetReplicationGroupDescription(const char* value) { m_replicationGroupDescriptionHasBeenSet = true; m_replicationGroupDescription.assign(value); }
77
79
85 inline const Aws::String& GetPrimaryClusterId() const{ return m_primaryClusterId; }
86 inline bool PrimaryClusterIdHasBeenSet() const { return m_primaryClusterIdHasBeenSet; }
87 inline void SetPrimaryClusterId(const Aws::String& value) { m_primaryClusterIdHasBeenSet = true; m_primaryClusterId = value; }
88 inline void SetPrimaryClusterId(Aws::String&& value) { m_primaryClusterIdHasBeenSet = true; m_primaryClusterId = std::move(value); }
89 inline void SetPrimaryClusterId(const char* value) { m_primaryClusterIdHasBeenSet = true; m_primaryClusterId.assign(value); }
91 inline ModifyReplicationGroupRequest& WithPrimaryClusterId(Aws::String&& value) { SetPrimaryClusterId(std::move(value)); return *this;}
92 inline ModifyReplicationGroupRequest& WithPrimaryClusterId(const char* value) { SetPrimaryClusterId(value); return *this;}
94
96
101 inline const Aws::String& GetSnapshottingClusterId() const{ return m_snapshottingClusterId; }
102 inline bool SnapshottingClusterIdHasBeenSet() const { return m_snapshottingClusterIdHasBeenSet; }
103 inline void SetSnapshottingClusterId(const Aws::String& value) { m_snapshottingClusterIdHasBeenSet = true; m_snapshottingClusterId = value; }
104 inline void SetSnapshottingClusterId(Aws::String&& value) { m_snapshottingClusterIdHasBeenSet = true; m_snapshottingClusterId = std::move(value); }
105 inline void SetSnapshottingClusterId(const char* value) { m_snapshottingClusterIdHasBeenSet = true; m_snapshottingClusterId.assign(value); }
108 inline ModifyReplicationGroupRequest& WithSnapshottingClusterId(const char* value) { SetSnapshottingClusterId(value); return *this;}
110
112
117 inline bool GetAutomaticFailoverEnabled() const{ return m_automaticFailoverEnabled; }
118 inline bool AutomaticFailoverEnabledHasBeenSet() const { return m_automaticFailoverEnabledHasBeenSet; }
119 inline void SetAutomaticFailoverEnabled(bool value) { m_automaticFailoverEnabledHasBeenSet = true; m_automaticFailoverEnabled = value; }
122
124
127 inline bool GetMultiAZEnabled() const{ return m_multiAZEnabled; }
128 inline bool MultiAZEnabledHasBeenSet() const { return m_multiAZEnabledHasBeenSet; }
129 inline void SetMultiAZEnabled(bool value) { m_multiAZEnabledHasBeenSet = true; m_multiAZEnabled = value; }
130 inline ModifyReplicationGroupRequest& WithMultiAZEnabled(bool value) { SetMultiAZEnabled(value); return *this;}
132
134
142 inline const Aws::Vector<Aws::String>& GetCacheSecurityGroupNames() const{ return m_cacheSecurityGroupNames; }
143 inline bool CacheSecurityGroupNamesHasBeenSet() const { return m_cacheSecurityGroupNamesHasBeenSet; }
144 inline void SetCacheSecurityGroupNames(const Aws::Vector<Aws::String>& value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames = value; }
145 inline void SetCacheSecurityGroupNames(Aws::Vector<Aws::String>&& value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames = std::move(value); }
148 inline ModifyReplicationGroupRequest& AddCacheSecurityGroupNames(const Aws::String& value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames.push_back(value); return *this; }
149 inline ModifyReplicationGroupRequest& AddCacheSecurityGroupNames(Aws::String&& value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames.push_back(std::move(value)); return *this; }
150 inline ModifyReplicationGroupRequest& AddCacheSecurityGroupNames(const char* value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames.push_back(value); return *this; }
152
154
159 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
160 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
161 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
162 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
165 inline ModifyReplicationGroupRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
166 inline ModifyReplicationGroupRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
167 inline ModifyReplicationGroupRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
169
171
181 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
182 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
183 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
184 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
185 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
190
192
197 inline const Aws::String& GetNotificationTopicArn() const{ return m_notificationTopicArn; }
198 inline bool NotificationTopicArnHasBeenSet() const { return m_notificationTopicArnHasBeenSet; }
199 inline void SetNotificationTopicArn(const Aws::String& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = value; }
200 inline void SetNotificationTopicArn(Aws::String&& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = std::move(value); }
201 inline void SetNotificationTopicArn(const char* value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn.assign(value); }
204 inline ModifyReplicationGroupRequest& WithNotificationTopicArn(const char* value) { SetNotificationTopicArn(value); return *this;}
206
208
214 inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; }
215 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
216 inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
217 inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::move(value); }
218 inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); }
223
225
230 inline const Aws::String& GetNotificationTopicStatus() const{ return m_notificationTopicStatus; }
231 inline bool NotificationTopicStatusHasBeenSet() const { return m_notificationTopicStatusHasBeenSet; }
232 inline void SetNotificationTopicStatus(const Aws::String& value) { m_notificationTopicStatusHasBeenSet = true; m_notificationTopicStatus = value; }
233 inline void SetNotificationTopicStatus(Aws::String&& value) { m_notificationTopicStatusHasBeenSet = true; m_notificationTopicStatus = std::move(value); }
234 inline void SetNotificationTopicStatus(const char* value) { m_notificationTopicStatusHasBeenSet = true; m_notificationTopicStatus.assign(value); }
239
241
250 inline bool GetApplyImmediately() const{ return m_applyImmediately; }
251 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
252 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
253 inline ModifyReplicationGroupRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
255
257
261 inline const Aws::String& GetEngine() const{ return m_engine; }
262 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
263 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
264 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
265 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
266 inline ModifyReplicationGroupRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
267 inline ModifyReplicationGroupRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
268 inline ModifyReplicationGroupRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
270
272
282 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
283 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
284 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
285 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
286 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
288 inline ModifyReplicationGroupRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
289 inline ModifyReplicationGroupRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
291
293
298 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
299 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
300 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
303
305
312 inline int GetSnapshotRetentionLimit() const{ return m_snapshotRetentionLimit; }
313 inline bool SnapshotRetentionLimitHasBeenSet() const { return m_snapshotRetentionLimitHasBeenSet; }
314 inline void SetSnapshotRetentionLimit(int value) { m_snapshotRetentionLimitHasBeenSet = true; m_snapshotRetentionLimit = value; }
317
319
326 inline const Aws::String& GetSnapshotWindow() const{ return m_snapshotWindow; }
327 inline bool SnapshotWindowHasBeenSet() const { return m_snapshotWindowHasBeenSet; }
328 inline void SetSnapshotWindow(const Aws::String& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = value; }
329 inline void SetSnapshotWindow(Aws::String&& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = std::move(value); }
330 inline void SetSnapshotWindow(const char* value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow.assign(value); }
332 inline ModifyReplicationGroupRequest& WithSnapshotWindow(Aws::String&& value) { SetSnapshotWindow(std::move(value)); return *this;}
333 inline ModifyReplicationGroupRequest& WithSnapshotWindow(const char* value) { SetSnapshotWindow(value); return *this;}
335
337
340 inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
341 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
342 inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
343 inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::move(value); }
344 inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
346 inline ModifyReplicationGroupRequest& WithCacheNodeType(Aws::String&& value) { SetCacheNodeType(std::move(value)); return *this;}
347 inline ModifyReplicationGroupRequest& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
349
351
361 inline const Aws::String& GetAuthToken() const{ return m_authToken; }
362 inline bool AuthTokenHasBeenSet() const { return m_authTokenHasBeenSet; }
363 inline void SetAuthToken(const Aws::String& value) { m_authTokenHasBeenSet = true; m_authToken = value; }
364 inline void SetAuthToken(Aws::String&& value) { m_authTokenHasBeenSet = true; m_authToken = std::move(value); }
365 inline void SetAuthToken(const char* value) { m_authTokenHasBeenSet = true; m_authToken.assign(value); }
366 inline ModifyReplicationGroupRequest& WithAuthToken(const Aws::String& value) { SetAuthToken(value); return *this;}
367 inline ModifyReplicationGroupRequest& WithAuthToken(Aws::String&& value) { SetAuthToken(std::move(value)); return *this;}
368 inline ModifyReplicationGroupRequest& WithAuthToken(const char* value) { SetAuthToken(value); return *this;}
370
372
381 inline const AuthTokenUpdateStrategyType& GetAuthTokenUpdateStrategy() const{ return m_authTokenUpdateStrategy; }
382 inline bool AuthTokenUpdateStrategyHasBeenSet() const { return m_authTokenUpdateStrategyHasBeenSet; }
383 inline void SetAuthTokenUpdateStrategy(const AuthTokenUpdateStrategyType& value) { m_authTokenUpdateStrategyHasBeenSet = true; m_authTokenUpdateStrategy = value; }
384 inline void SetAuthTokenUpdateStrategy(AuthTokenUpdateStrategyType&& value) { m_authTokenUpdateStrategyHasBeenSet = true; m_authTokenUpdateStrategy = std::move(value); }
388
390
393 inline const Aws::Vector<Aws::String>& GetUserGroupIdsToAdd() const{ return m_userGroupIdsToAdd; }
394 inline bool UserGroupIdsToAddHasBeenSet() const { return m_userGroupIdsToAddHasBeenSet; }
395 inline void SetUserGroupIdsToAdd(const Aws::Vector<Aws::String>& value) { m_userGroupIdsToAddHasBeenSet = true; m_userGroupIdsToAdd = value; }
396 inline void SetUserGroupIdsToAdd(Aws::Vector<Aws::String>&& value) { m_userGroupIdsToAddHasBeenSet = true; m_userGroupIdsToAdd = std::move(value); }
399 inline ModifyReplicationGroupRequest& AddUserGroupIdsToAdd(const Aws::String& value) { m_userGroupIdsToAddHasBeenSet = true; m_userGroupIdsToAdd.push_back(value); return *this; }
400 inline ModifyReplicationGroupRequest& AddUserGroupIdsToAdd(Aws::String&& value) { m_userGroupIdsToAddHasBeenSet = true; m_userGroupIdsToAdd.push_back(std::move(value)); return *this; }
401 inline ModifyReplicationGroupRequest& AddUserGroupIdsToAdd(const char* value) { m_userGroupIdsToAddHasBeenSet = true; m_userGroupIdsToAdd.push_back(value); return *this; }
403
405
409 inline const Aws::Vector<Aws::String>& GetUserGroupIdsToRemove() const{ return m_userGroupIdsToRemove; }
410 inline bool UserGroupIdsToRemoveHasBeenSet() const { return m_userGroupIdsToRemoveHasBeenSet; }
411 inline void SetUserGroupIdsToRemove(const Aws::Vector<Aws::String>& value) { m_userGroupIdsToRemoveHasBeenSet = true; m_userGroupIdsToRemove = value; }
412 inline void SetUserGroupIdsToRemove(Aws::Vector<Aws::String>&& value) { m_userGroupIdsToRemoveHasBeenSet = true; m_userGroupIdsToRemove = std::move(value); }
415 inline ModifyReplicationGroupRequest& AddUserGroupIdsToRemove(const Aws::String& value) { m_userGroupIdsToRemoveHasBeenSet = true; m_userGroupIdsToRemove.push_back(value); return *this; }
416 inline ModifyReplicationGroupRequest& AddUserGroupIdsToRemove(Aws::String&& value) { m_userGroupIdsToRemoveHasBeenSet = true; m_userGroupIdsToRemove.push_back(std::move(value)); return *this; }
417 inline ModifyReplicationGroupRequest& AddUserGroupIdsToRemove(const char* value) { m_userGroupIdsToRemoveHasBeenSet = true; m_userGroupIdsToRemove.push_back(value); return *this; }
419
421
424 inline bool GetRemoveUserGroups() const{ return m_removeUserGroups; }
425 inline bool RemoveUserGroupsHasBeenSet() const { return m_removeUserGroupsHasBeenSet; }
426 inline void SetRemoveUserGroups(bool value) { m_removeUserGroupsHasBeenSet = true; m_removeUserGroups = value; }
427 inline ModifyReplicationGroupRequest& WithRemoveUserGroups(bool value) { SetRemoveUserGroups(value); return *this;}
429
431
434 inline const Aws::Vector<LogDeliveryConfigurationRequest>& GetLogDeliveryConfigurations() const{ return m_logDeliveryConfigurations; }
435 inline bool LogDeliveryConfigurationsHasBeenSet() const { return m_logDeliveryConfigurationsHasBeenSet; }
436 inline void SetLogDeliveryConfigurations(const Aws::Vector<LogDeliveryConfigurationRequest>& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = value; }
437 inline void SetLogDeliveryConfigurations(Aws::Vector<LogDeliveryConfigurationRequest>&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = std::move(value); }
440 inline ModifyReplicationGroupRequest& AddLogDeliveryConfigurations(const LogDeliveryConfigurationRequest& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.push_back(value); return *this; }
441 inline ModifyReplicationGroupRequest& AddLogDeliveryConfigurations(LogDeliveryConfigurationRequest&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.push_back(std::move(value)); return *this; }
443
445
452 inline const IpDiscovery& GetIpDiscovery() const{ return m_ipDiscovery; }
453 inline bool IpDiscoveryHasBeenSet() const { return m_ipDiscoveryHasBeenSet; }
454 inline void SetIpDiscovery(const IpDiscovery& value) { m_ipDiscoveryHasBeenSet = true; m_ipDiscovery = value; }
455 inline void SetIpDiscovery(IpDiscovery&& value) { m_ipDiscoveryHasBeenSet = true; m_ipDiscovery = std::move(value); }
456 inline ModifyReplicationGroupRequest& WithIpDiscovery(const IpDiscovery& value) { SetIpDiscovery(value); return *this;}
457 inline ModifyReplicationGroupRequest& WithIpDiscovery(IpDiscovery&& value) { SetIpDiscovery(std::move(value)); return *this;}
459
461
466 inline bool GetTransitEncryptionEnabled() const{ return m_transitEncryptionEnabled; }
467 inline bool TransitEncryptionEnabledHasBeenSet() const { return m_transitEncryptionEnabledHasBeenSet; }
468 inline void SetTransitEncryptionEnabled(bool value) { m_transitEncryptionEnabledHasBeenSet = true; m_transitEncryptionEnabled = value; }
471
473
486 inline const TransitEncryptionMode& GetTransitEncryptionMode() const{ return m_transitEncryptionMode; }
487 inline bool TransitEncryptionModeHasBeenSet() const { return m_transitEncryptionModeHasBeenSet; }
488 inline void SetTransitEncryptionMode(const TransitEncryptionMode& value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = value; }
489 inline void SetTransitEncryptionMode(TransitEncryptionMode&& value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = std::move(value); }
493
495
503 inline const ClusterMode& GetClusterMode() const{ return m_clusterMode; }
504 inline bool ClusterModeHasBeenSet() const { return m_clusterModeHasBeenSet; }
505 inline void SetClusterMode(const ClusterMode& value) { m_clusterModeHasBeenSet = true; m_clusterMode = value; }
506 inline void SetClusterMode(ClusterMode&& value) { m_clusterModeHasBeenSet = true; m_clusterMode = std::move(value); }
507 inline ModifyReplicationGroupRequest& WithClusterMode(const ClusterMode& value) { SetClusterMode(value); return *this;}
508 inline ModifyReplicationGroupRequest& WithClusterMode(ClusterMode&& value) { SetClusterMode(std::move(value)); return *this;}
510 private:
511
512 Aws::String m_replicationGroupId;
513 bool m_replicationGroupIdHasBeenSet = false;
514
515 Aws::String m_replicationGroupDescription;
516 bool m_replicationGroupDescriptionHasBeenSet = false;
517
518 Aws::String m_primaryClusterId;
519 bool m_primaryClusterIdHasBeenSet = false;
520
521 Aws::String m_snapshottingClusterId;
522 bool m_snapshottingClusterIdHasBeenSet = false;
523
524 bool m_automaticFailoverEnabled;
525 bool m_automaticFailoverEnabledHasBeenSet = false;
526
527 bool m_multiAZEnabled;
528 bool m_multiAZEnabledHasBeenSet = false;
529
530 Aws::Vector<Aws::String> m_cacheSecurityGroupNames;
531 bool m_cacheSecurityGroupNamesHasBeenSet = false;
532
533 Aws::Vector<Aws::String> m_securityGroupIds;
534 bool m_securityGroupIdsHasBeenSet = false;
535
536 Aws::String m_preferredMaintenanceWindow;
537 bool m_preferredMaintenanceWindowHasBeenSet = false;
538
539 Aws::String m_notificationTopicArn;
540 bool m_notificationTopicArnHasBeenSet = false;
541
542 Aws::String m_cacheParameterGroupName;
543 bool m_cacheParameterGroupNameHasBeenSet = false;
544
545 Aws::String m_notificationTopicStatus;
546 bool m_notificationTopicStatusHasBeenSet = false;
547
548 bool m_applyImmediately;
549 bool m_applyImmediatelyHasBeenSet = false;
550
551 Aws::String m_engine;
552 bool m_engineHasBeenSet = false;
553
554 Aws::String m_engineVersion;
555 bool m_engineVersionHasBeenSet = false;
556
557 bool m_autoMinorVersionUpgrade;
558 bool m_autoMinorVersionUpgradeHasBeenSet = false;
559
560 int m_snapshotRetentionLimit;
561 bool m_snapshotRetentionLimitHasBeenSet = false;
562
563 Aws::String m_snapshotWindow;
564 bool m_snapshotWindowHasBeenSet = false;
565
566 Aws::String m_cacheNodeType;
567 bool m_cacheNodeTypeHasBeenSet = false;
568
569 Aws::String m_authToken;
570 bool m_authTokenHasBeenSet = false;
571
572 AuthTokenUpdateStrategyType m_authTokenUpdateStrategy;
573 bool m_authTokenUpdateStrategyHasBeenSet = false;
574
575 Aws::Vector<Aws::String> m_userGroupIdsToAdd;
576 bool m_userGroupIdsToAddHasBeenSet = false;
577
578 Aws::Vector<Aws::String> m_userGroupIdsToRemove;
579 bool m_userGroupIdsToRemoveHasBeenSet = false;
580
581 bool m_removeUserGroups;
582 bool m_removeUserGroupsHasBeenSet = false;
583
584 Aws::Vector<LogDeliveryConfigurationRequest> m_logDeliveryConfigurations;
585 bool m_logDeliveryConfigurationsHasBeenSet = false;
586
587 IpDiscovery m_ipDiscovery;
588 bool m_ipDiscoveryHasBeenSet = false;
589
590 bool m_transitEncryptionEnabled;
591 bool m_transitEncryptionEnabledHasBeenSet = false;
592
593 TransitEncryptionMode m_transitEncryptionMode;
594 bool m_transitEncryptionModeHasBeenSet = false;
595
596 ClusterMode m_clusterMode;
597 bool m_clusterModeHasBeenSet = false;
598 };
599
600} // namespace Model
601} // namespace ElastiCache
602} // namespace Aws
ModifyReplicationGroupRequest & WithTransitEncryptionMode(const TransitEncryptionMode &value)
void SetLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfigurationRequest > &value)
ModifyReplicationGroupRequest & WithEngine(const Aws::String &value)
ModifyReplicationGroupRequest & WithCacheSecurityGroupNames(Aws::Vector< Aws::String > &&value)
ModifyReplicationGroupRequest & WithSnapshotWindow(const char *value)
ModifyReplicationGroupRequest & AddUserGroupIdsToAdd(Aws::String &&value)
ModifyReplicationGroupRequest & WithClusterMode(const ClusterMode &value)
ModifyReplicationGroupRequest & WithNotificationTopicStatus(const Aws::String &value)
ModifyReplicationGroupRequest & WithCacheParameterGroupName(const Aws::String &value)
ModifyReplicationGroupRequest & WithIpDiscovery(IpDiscovery &&value)
ModifyReplicationGroupRequest & WithApplyImmediately(bool value)
ModifyReplicationGroupRequest & WithSnapshottingClusterId(const char *value)
ModifyReplicationGroupRequest & AddSecurityGroupIds(Aws::String &&value)
ModifyReplicationGroupRequest & WithCacheParameterGroupName(Aws::String &&value)
ModifyReplicationGroupRequest & WithNotificationTopicArn(const char *value)
ModifyReplicationGroupRequest & WithNotificationTopicStatus(const char *value)
ModifyReplicationGroupRequest & WithAutomaticFailoverEnabled(bool value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetUserGroupIdsToAdd() const
ModifyReplicationGroupRequest & AddCacheSecurityGroupNames(const char *value)
const Aws::Vector< Aws::String > & GetCacheSecurityGroupNames() const
ModifyReplicationGroupRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
ModifyReplicationGroupRequest & WithCacheNodeType(Aws::String &&value)
ModifyReplicationGroupRequest & WithRemoveUserGroups(bool value)
ModifyReplicationGroupRequest & WithCacheNodeType(const Aws::String &value)
ModifyReplicationGroupRequest & WithClusterMode(ClusterMode &&value)
ModifyReplicationGroupRequest & AddCacheSecurityGroupNames(Aws::String &&value)
ModifyReplicationGroupRequest & AddCacheSecurityGroupNames(const Aws::String &value)
ModifyReplicationGroupRequest & WithUserGroupIdsToAdd(Aws::Vector< Aws::String > &&value)
ModifyReplicationGroupRequest & WithReplicationGroupDescription(const char *value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
void SetCacheSecurityGroupNames(const Aws::Vector< Aws::String > &value)
void SetLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfigurationRequest > &&value)
ModifyReplicationGroupRequest & AddLogDeliveryConfigurations(const LogDeliveryConfigurationRequest &value)
ModifyReplicationGroupRequest & WithNotificationTopicArn(Aws::String &&value)
ModifyReplicationGroupRequest & WithSnapshotWindow(const Aws::String &value)
ModifyReplicationGroupRequest & WithSnapshottingClusterId(Aws::String &&value)
void SetAuthTokenUpdateStrategy(AuthTokenUpdateStrategyType &&value)
ModifyReplicationGroupRequest & WithLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfigurationRequest > &value)
ModifyReplicationGroupRequest & WithNotificationTopicStatus(Aws::String &&value)
ModifyReplicationGroupRequest & WithTransitEncryptionMode(TransitEncryptionMode &&value)
ModifyReplicationGroupRequest & WithUserGroupIdsToAdd(const Aws::Vector< Aws::String > &value)
ModifyReplicationGroupRequest & WithAuthTokenUpdateStrategy(AuthTokenUpdateStrategyType &&value)
const Aws::Vector< Aws::String > & GetUserGroupIdsToRemove() const
ModifyReplicationGroupRequest & WithPrimaryClusterId(const char *value)
ModifyReplicationGroupRequest & WithReplicationGroupId(const Aws::String &value)
ModifyReplicationGroupRequest & WithUserGroupIdsToRemove(const Aws::Vector< Aws::String > &value)
ModifyReplicationGroupRequest & WithSnapshottingClusterId(const Aws::String &value)
ModifyReplicationGroupRequest & WithAutoMinorVersionUpgrade(bool value)
ModifyReplicationGroupRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyReplicationGroupRequest & WithPreferredMaintenanceWindow(const char *value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyReplicationGroupRequest & WithLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfigurationRequest > &&value)
ModifyReplicationGroupRequest & WithNotificationTopicArn(const Aws::String &value)
ModifyReplicationGroupRequest & AddLogDeliveryConfigurations(LogDeliveryConfigurationRequest &&value)
ModifyReplicationGroupRequest & WithCacheSecurityGroupNames(const Aws::Vector< Aws::String > &value)
ModifyReplicationGroupRequest & AddUserGroupIdsToRemove(const Aws::String &value)
ModifyReplicationGroupRequest & WithIpDiscovery(const IpDiscovery &value)
ModifyReplicationGroupRequest & WithTransitEncryptionEnabled(bool value)
ModifyReplicationGroupRequest & WithEngine(Aws::String &&value)
void SetUserGroupIdsToRemove(const Aws::Vector< Aws::String > &value)
ModifyReplicationGroupRequest & WithPrimaryClusterId(Aws::String &&value)
ModifyReplicationGroupRequest & WithReplicationGroupDescription(Aws::String &&value)
ModifyReplicationGroupRequest & WithAuthToken(const char *value)
void SetAuthTokenUpdateStrategy(const AuthTokenUpdateStrategyType &value)
void SetUserGroupIdsToAdd(const Aws::Vector< Aws::String > &value)
const Aws::Vector< LogDeliveryConfigurationRequest > & GetLogDeliveryConfigurations() const
ModifyReplicationGroupRequest & WithCacheNodeType(const char *value)
ModifyReplicationGroupRequest & WithSnapshotWindow(Aws::String &&value)
ModifyReplicationGroupRequest & WithPrimaryClusterId(const Aws::String &value)
ModifyReplicationGroupRequest & WithCacheParameterGroupName(const char *value)
ModifyReplicationGroupRequest & WithAuthToken(Aws::String &&value)
ModifyReplicationGroupRequest & AddSecurityGroupIds(const char *value)
ModifyReplicationGroupRequest & AddSecurityGroupIds(const Aws::String &value)
ModifyReplicationGroupRequest & WithAuthToken(const Aws::String &value)
ModifyReplicationGroupRequest & WithMultiAZEnabled(bool value)
ModifyReplicationGroupRequest & AddUserGroupIdsToAdd(const Aws::String &value)
ModifyReplicationGroupRequest & WithReplicationGroupDescription(const Aws::String &value)
ModifyReplicationGroupRequest & WithUserGroupIdsToRemove(Aws::Vector< Aws::String > &&value)
void SetCacheSecurityGroupNames(Aws::Vector< Aws::String > &&value)
ModifyReplicationGroupRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyReplicationGroupRequest & WithReplicationGroupId(Aws::String &&value)
ModifyReplicationGroupRequest & WithEngine(const char *value)
ModifyReplicationGroupRequest & WithSnapshotRetentionLimit(int value)
ModifyReplicationGroupRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
ModifyReplicationGroupRequest & WithEngineVersion(const Aws::String &value)
ModifyReplicationGroupRequest & WithAuthTokenUpdateStrategy(const AuthTokenUpdateStrategyType &value)
const AuthTokenUpdateStrategyType & GetAuthTokenUpdateStrategy() const
ModifyReplicationGroupRequest & AddUserGroupIdsToRemove(const char *value)
ModifyReplicationGroupRequest & WithReplicationGroupId(const char *value)
ModifyReplicationGroupRequest & WithEngineVersion(Aws::String &&value)
ModifyReplicationGroupRequest & AddUserGroupIdsToAdd(const char *value)
ModifyReplicationGroupRequest & WithEngineVersion(const char *value)
ModifyReplicationGroupRequest & AddUserGroupIdsToRemove(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector