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>
57 inline void SetReplicationGroupId(
const char* value) { m_replicationGroupIdHasBeenSet =
true; m_replicationGroupId.assign(value); }
72 inline void SetReplicationGroupDescription(
const char* value) { m_replicationGroupDescriptionHasBeenSet =
true; m_replicationGroupDescription.assign(value); }
89 inline void SetPrimaryClusterId(
const char* value) { m_primaryClusterIdHasBeenSet =
true; m_primaryClusterId.assign(value); }
105 inline void SetSnapshottingClusterId(
const char* value) { m_snapshottingClusterIdHasBeenSet =
true; m_snapshottingClusterId.assign(value); }
129 inline void SetMultiAZEnabled(
bool value) { m_multiAZEnabledHasBeenSet =
true; m_multiAZEnabled = value; }
201 inline void SetNotificationTopicArn(
const char* value) { m_notificationTopicArnHasBeenSet =
true; m_notificationTopicArn.assign(value); }
218 inline void SetCacheParameterGroupName(
const char* value) { m_cacheParameterGroupNameHasBeenSet =
true; m_cacheParameterGroupName.assign(value); }
234 inline void SetNotificationTopicStatus(
const char* value) { m_notificationTopicStatusHasBeenSet =
true; m_notificationTopicStatus.assign(value); }
252 inline void SetApplyImmediately(
bool value) { m_applyImmediatelyHasBeenSet =
true; m_applyImmediately = value; }
265 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
286 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
330 inline void SetSnapshotWindow(
const char* value) { m_snapshotWindowHasBeenSet =
true; m_snapshotWindow.assign(value); }
344 inline void SetCacheNodeType(
const char* value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType.assign(value); }
365 inline void SetAuthToken(
const char* value) { m_authTokenHasBeenSet =
true; m_authToken.assign(value); }
426 inline void SetRemoveUserGroups(
bool value) { m_removeUserGroupsHasBeenSet =
true; m_removeUserGroups = value; }
513 bool m_replicationGroupIdHasBeenSet =
false;
516 bool m_replicationGroupDescriptionHasBeenSet =
false;
519 bool m_primaryClusterIdHasBeenSet =
false;
522 bool m_snapshottingClusterIdHasBeenSet =
false;
524 bool m_automaticFailoverEnabled;
525 bool m_automaticFailoverEnabledHasBeenSet =
false;
527 bool m_multiAZEnabled;
528 bool m_multiAZEnabledHasBeenSet =
false;
531 bool m_cacheSecurityGroupNamesHasBeenSet =
false;
534 bool m_securityGroupIdsHasBeenSet =
false;
537 bool m_preferredMaintenanceWindowHasBeenSet =
false;
540 bool m_notificationTopicArnHasBeenSet =
false;
543 bool m_cacheParameterGroupNameHasBeenSet =
false;
546 bool m_notificationTopicStatusHasBeenSet =
false;
548 bool m_applyImmediately;
549 bool m_applyImmediatelyHasBeenSet =
false;
552 bool m_engineHasBeenSet =
false;
555 bool m_engineVersionHasBeenSet =
false;
557 bool m_autoMinorVersionUpgrade;
558 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
560 int m_snapshotRetentionLimit;
561 bool m_snapshotRetentionLimitHasBeenSet =
false;
564 bool m_snapshotWindowHasBeenSet =
false;
567 bool m_cacheNodeTypeHasBeenSet =
false;
570 bool m_authTokenHasBeenSet =
false;
573 bool m_authTokenUpdateStrategyHasBeenSet =
false;
576 bool m_userGroupIdsToAddHasBeenSet =
false;
579 bool m_userGroupIdsToRemoveHasBeenSet =
false;
581 bool m_removeUserGroups;
582 bool m_removeUserGroupsHasBeenSet =
false;
585 bool m_logDeliveryConfigurationsHasBeenSet =
false;
588 bool m_ipDiscoveryHasBeenSet =
false;
590 bool m_transitEncryptionEnabled;
591 bool m_transitEncryptionEnabledHasBeenSet =
false;
594 bool m_transitEncryptionModeHasBeenSet =
false;
597 bool m_clusterModeHasBeenSet =
false;
void SetNotificationTopicArn(const char *value)
ModifyReplicationGroupRequest & WithTransitEncryptionMode(const TransitEncryptionMode &value)
void SetLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfigurationRequest > &value)
const Aws::String & GetNotificationTopicArn() const
ModifyReplicationGroupRequest & WithEngine(const Aws::String &value)
void SetAutomaticFailoverEnabled(bool value)
void SetAuthToken(Aws::String &&value)
void SetPreferredMaintenanceWindow(const char *value)
void SetReplicationGroupDescription(const Aws::String &value)
ModifyReplicationGroupRequest & WithCacheSecurityGroupNames(Aws::Vector< Aws::String > &&value)
bool AuthTokenHasBeenSet() const
ModifyReplicationGroupRequest & WithSnapshotWindow(const char *value)
bool MultiAZEnabledHasBeenSet() const
ModifyReplicationGroupRequest & AddUserGroupIdsToAdd(Aws::String &&value)
ModifyReplicationGroupRequest & WithClusterMode(const ClusterMode &value)
ModifyReplicationGroupRequest & WithNotificationTopicStatus(const Aws::String &value)
ModifyReplicationGroupRequest & WithCacheParameterGroupName(const Aws::String &value)
void SetPrimaryClusterId(const Aws::String &value)
ModifyReplicationGroupRequest & WithIpDiscovery(IpDiscovery &&value)
bool TransitEncryptionEnabledHasBeenSet() const
void SetNotificationTopicStatus(const char *value)
ModifyReplicationGroupRequest & WithApplyImmediately(bool value)
ModifyReplicationGroupRequest & WithSnapshottingClusterId(const char *value)
ModifyReplicationGroupRequest & AddSecurityGroupIds(Aws::String &&value)
void SetNotificationTopicArn(Aws::String &&value)
ModifyReplicationGroupRequest & WithCacheParameterGroupName(Aws::String &&value)
ModifyReplicationGroupRequest & WithNotificationTopicArn(const char *value)
const Aws::String & GetEngineVersion() const
void SetRemoveUserGroups(bool value)
void SetTransitEncryptionEnabled(bool value)
ModifyReplicationGroupRequest & WithNotificationTopicStatus(const char *value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetTransitEncryptionMode(const TransitEncryptionMode &value)
bool PreferredMaintenanceWindowHasBeenSet() const
void SetIpDiscovery(IpDiscovery &&value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
ModifyReplicationGroupRequest & WithAutomaticFailoverEnabled(bool value)
void SetSnapshotWindow(const char *value)
int GetSnapshotRetentionLimit() const
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool NotificationTopicArnHasBeenSet() const
void SetIpDiscovery(const IpDiscovery &value)
const Aws::Vector< Aws::String > & GetUserGroupIdsToAdd() const
bool GetAutoMinorVersionUpgrade() const
bool AutomaticFailoverEnabledHasBeenSet() const
const Aws::String & GetSnapshotWindow() const
void SetSnapshotWindow(Aws::String &&value)
ModifyReplicationGroupRequest & AddCacheSecurityGroupNames(const char *value)
const Aws::Vector< Aws::String > & GetCacheSecurityGroupNames() const
bool LogDeliveryConfigurationsHasBeenSet() const
ModifyReplicationGroupRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
void SetSnapshotWindow(const Aws::String &value)
ModifyReplicationGroupRequest & WithCacheNodeType(Aws::String &&value)
bool ReplicationGroupIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ModifyReplicationGroupRequest & WithRemoveUserGroups(bool value)
void SetCacheParameterGroupName(Aws::String &&value)
ModifyReplicationGroupRequest & WithCacheNodeType(const Aws::String &value)
void SetClusterMode(const ClusterMode &value)
void SetReplicationGroupId(const Aws::String &value)
ModifyReplicationGroupRequest & WithClusterMode(ClusterMode &&value)
const Aws::String & GetAuthToken() const
const IpDiscovery & GetIpDiscovery() const
void SetReplicationGroupId(const char *value)
bool SecurityGroupIdsHasBeenSet() const
void SetCacheNodeType(const char *value)
ModifyReplicationGroupRequest & AddCacheSecurityGroupNames(Aws::String &&value)
void SetCacheParameterGroupName(const char *value)
bool GetRemoveUserGroups() const
const Aws::String & GetCacheNodeType() const
ModifyReplicationGroupRequest & AddCacheSecurityGroupNames(const Aws::String &value)
void SetSnapshottingClusterId(Aws::String &&value)
void SetNotificationTopicArn(const Aws::String &value)
void SetReplicationGroupDescription(const char *value)
ModifyReplicationGroupRequest & WithUserGroupIdsToAdd(Aws::Vector< Aws::String > &&value)
ModifyReplicationGroupRequest & WithReplicationGroupDescription(const char *value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
bool TransitEncryptionModeHasBeenSet() const
void SetCacheSecurityGroupNames(const Aws::Vector< Aws::String > &value)
void SetEngineVersion(Aws::String &&value)
void SetLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfigurationRequest > &&value)
void SetCacheParameterGroupName(const Aws::String &value)
ModifyReplicationGroupRequest & AddLogDeliveryConfigurations(const LogDeliveryConfigurationRequest &value)
ModifyReplicationGroupRequest & WithNotificationTopicArn(Aws::String &&value)
bool SnapshotWindowHasBeenSet() const
void SetReplicationGroupId(Aws::String &&value)
bool CacheNodeTypeHasBeenSet() const
ModifyReplicationGroupRequest & WithSnapshotWindow(const Aws::String &value)
ModifyReplicationGroupRequest & WithSnapshottingClusterId(Aws::String &&value)
void SetAuthTokenUpdateStrategy(AuthTokenUpdateStrategyType &&value)
ModifyReplicationGroupRequest & WithLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfigurationRequest > &value)
bool CacheParameterGroupNameHasBeenSet() const
bool PrimaryClusterIdHasBeenSet() const
AWS_ELASTICACHE_API ModifyReplicationGroupRequest()
void SetAutoMinorVersionUpgrade(bool value)
ModifyReplicationGroupRequest & WithNotificationTopicStatus(Aws::String &&value)
ModifyReplicationGroupRequest & WithTransitEncryptionMode(TransitEncryptionMode &&value)
bool EngineVersionHasBeenSet() const
bool ApplyImmediatelyHasBeenSet() const
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)
bool ReplicationGroupDescriptionHasBeenSet() const
ModifyReplicationGroupRequest & WithSnapshottingClusterId(const Aws::String &value)
ModifyReplicationGroupRequest & WithAutoMinorVersionUpgrade(bool value)
void SetNotificationTopicStatus(const Aws::String &value)
ModifyReplicationGroupRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyReplicationGroupRequest & WithPreferredMaintenanceWindow(const char *value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetCacheNodeType(const Aws::String &value)
void SetMultiAZEnabled(bool value)
ModifyReplicationGroupRequest & WithLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfigurationRequest > &&value)
bool EngineHasBeenSet() const
void SetSnapshottingClusterId(const char *value)
bool UserGroupIdsToRemoveHasBeenSet() const
bool RemoveUserGroupsHasBeenSet() const
const Aws::String & GetEngine() const
ModifyReplicationGroupRequest & WithNotificationTopicArn(const Aws::String &value)
bool ClusterModeHasBeenSet() const
bool UserGroupIdsToAddHasBeenSet() const
ModifyReplicationGroupRequest & AddLogDeliveryConfigurations(LogDeliveryConfigurationRequest &&value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
bool NotificationTopicStatusHasBeenSet() const
const Aws::String & GetReplicationGroupDescription() const
ModifyReplicationGroupRequest & WithCacheSecurityGroupNames(const Aws::Vector< Aws::String > &value)
ModifyReplicationGroupRequest & AddUserGroupIdsToRemove(const Aws::String &value)
ModifyReplicationGroupRequest & WithIpDiscovery(const IpDiscovery &value)
ModifyReplicationGroupRequest & WithTransitEncryptionEnabled(bool value)
void SetEngineVersion(const char *value)
const TransitEncryptionMode & GetTransitEncryptionMode() const
const ClusterMode & GetClusterMode() const
ModifyReplicationGroupRequest & WithEngine(Aws::String &&value)
bool GetApplyImmediately() const
void SetUserGroupIdsToRemove(const Aws::Vector< Aws::String > &value)
ModifyReplicationGroupRequest & WithPrimaryClusterId(Aws::String &&value)
void SetEngineVersion(const Aws::String &value)
void SetPrimaryClusterId(Aws::String &&value)
const Aws::String & GetCacheParameterGroupName() const
ModifyReplicationGroupRequest & WithReplicationGroupDescription(Aws::String &&value)
ModifyReplicationGroupRequest & WithAuthToken(const char *value)
void SetAuthTokenUpdateStrategy(const AuthTokenUpdateStrategyType &value)
void SetUserGroupIdsToAdd(Aws::Vector< Aws::String > &&value)
bool SnapshottingClusterIdHasBeenSet() const
void SetUserGroupIdsToAdd(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetEngine(const char *value)
void SetNotificationTopicStatus(Aws::String &&value)
const Aws::Vector< LogDeliveryConfigurationRequest > & GetLogDeliveryConfigurations() const
ModifyReplicationGroupRequest & WithCacheNodeType(const char *value)
void SetEngine(const Aws::String &value)
void SetSnapshottingClusterId(const Aws::String &value)
ModifyReplicationGroupRequest & WithSnapshotWindow(Aws::String &&value)
ModifyReplicationGroupRequest & WithPrimaryClusterId(const Aws::String &value)
bool IpDiscoveryHasBeenSet() const
void SetAuthToken(const char *value)
ModifyReplicationGroupRequest & WithCacheParameterGroupName(const char *value)
ModifyReplicationGroupRequest & WithAuthToken(Aws::String &&value)
ModifyReplicationGroupRequest & AddSecurityGroupIds(const char *value)
bool AutoMinorVersionUpgradeHasBeenSet() const
bool GetTransitEncryptionEnabled() const
ModifyReplicationGroupRequest & AddSecurityGroupIds(const Aws::String &value)
bool GetMultiAZEnabled() const
bool GetAutomaticFailoverEnabled() const
ModifyReplicationGroupRequest & WithAuthToken(const Aws::String &value)
ModifyReplicationGroupRequest & WithMultiAZEnabled(bool value)
const Aws::String & GetSnapshottingClusterId() const
void SetTransitEncryptionMode(TransitEncryptionMode &&value)
void SetEngine(Aws::String &&value)
void SetPrimaryClusterId(const char *value)
ModifyReplicationGroupRequest & AddUserGroupIdsToAdd(const Aws::String &value)
void SetApplyImmediately(bool value)
bool CacheSecurityGroupNamesHasBeenSet() const
ModifyReplicationGroupRequest & WithReplicationGroupDescription(const Aws::String &value)
void SetReplicationGroupDescription(Aws::String &&value)
ModifyReplicationGroupRequest & WithUserGroupIdsToRemove(Aws::Vector< Aws::String > &&value)
void SetCacheSecurityGroupNames(Aws::Vector< Aws::String > &&value)
const Aws::String & GetReplicationGroupId() const
void SetClusterMode(ClusterMode &&value)
ModifyReplicationGroupRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyReplicationGroupRequest & WithReplicationGroupId(Aws::String &&value)
bool SnapshotRetentionLimitHasBeenSet() const
void SetUserGroupIdsToRemove(Aws::Vector< Aws::String > &&value)
ModifyReplicationGroupRequest & WithEngine(const char *value)
void SetCacheNodeType(Aws::String &&value)
const Aws::String & GetNotificationTopicStatus() const
bool AuthTokenUpdateStrategyHasBeenSet() const
ModifyReplicationGroupRequest & WithSnapshotRetentionLimit(int value)
ModifyReplicationGroupRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
ModifyReplicationGroupRequest & WithEngineVersion(const Aws::String &value)
ModifyReplicationGroupRequest & WithAuthTokenUpdateStrategy(const AuthTokenUpdateStrategyType &value)
void SetAuthToken(const Aws::String &value)
const Aws::String & GetPrimaryClusterId() const
const Aws::String & GetPreferredMaintenanceWindow() const
const AuthTokenUpdateStrategyType & GetAuthTokenUpdateStrategy() const
ModifyReplicationGroupRequest & AddUserGroupIdsToRemove(const char *value)
ModifyReplicationGroupRequest & WithReplicationGroupId(const char *value)
ModifyReplicationGroupRequest & WithEngineVersion(Aws::String &&value)
void SetSnapshotRetentionLimit(int value)
ModifyReplicationGroupRequest & AddUserGroupIdsToAdd(const char *value)
ModifyReplicationGroupRequest & WithEngineVersion(const char *value)
ModifyReplicationGroupRequest & AddUserGroupIdsToRemove(Aws::String &&value)
AuthTokenUpdateStrategyType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector