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/elasticache/model/AZMode.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticache/model/OutpostMode.h>
13#include <aws/elasticache/model/NetworkType.h>
14#include <aws/elasticache/model/IpDiscovery.h>
15#include <aws/elasticache/model/Tag.h>
16#include <aws/elasticache/model/LogDeliveryConfigurationRequest.h>
62 inline void SetCacheClusterId(
const char* value) { m_cacheClusterIdHasBeenSet =
true; m_cacheClusterId.assign(value); }
83 inline void SetReplicationGroupId(
const char* value) { m_replicationGroupIdHasBeenSet =
true; m_replicationGroupId.assign(value); }
99 inline void SetAZMode(
const AZMode& value) { m_aZModeHasBeenSet =
true; m_aZMode = value; }
100 inline void SetAZMode(
AZMode&& value) { m_aZModeHasBeenSet =
true; m_aZMode = std::move(value); }
117 inline void SetPreferredAvailabilityZone(
const char* value) { m_preferredAvailabilityZoneHasBeenSet =
true; m_preferredAvailabilityZone.assign(value); }
158 inline void SetNumCacheNodes(
int value) { m_numCacheNodesHasBeenSet =
true; m_numCacheNodes = value; }
242 inline void SetCacheNodeType(
const char* value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType.assign(value); }
257 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
279 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
296 inline void SetCacheParameterGroupName(
const char* value) { m_cacheParameterGroupNameHasBeenSet =
true; m_cacheParameterGroupName.assign(value); }
316 inline void SetCacheSubnetGroupName(
const char* value) { m_cacheSubnetGroupNameHasBeenSet =
true; m_cacheSubnetGroupName.assign(value); }
403 inline void SetSnapshotName(
const char* value) { m_snapshotNameHasBeenSet =
true; m_snapshotName.assign(value); }
431 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
445 inline void SetNotificationTopicArn(
const char* value) { m_notificationTopicArnHasBeenSet =
true; m_notificationTopicArn.assign(value); }
490 inline void SetSnapshotWindow(
const char* value) { m_snapshotWindowHasBeenSet =
true; m_snapshotWindow.assign(value); }
511 inline void SetAuthToken(
const char* value) { m_authTokenHasBeenSet =
true; m_authToken.assign(value); }
538 inline void SetPreferredOutpostArn(
const char* value) { m_preferredOutpostArnHasBeenSet =
true; m_preferredOutpostArn.assign(value); }
617 bool m_cacheClusterIdHasBeenSet =
false;
620 bool m_replicationGroupIdHasBeenSet =
false;
623 bool m_aZModeHasBeenSet =
false;
626 bool m_preferredAvailabilityZoneHasBeenSet =
false;
629 bool m_preferredAvailabilityZonesHasBeenSet =
false;
632 bool m_numCacheNodesHasBeenSet =
false;
635 bool m_cacheNodeTypeHasBeenSet =
false;
638 bool m_engineHasBeenSet =
false;
641 bool m_engineVersionHasBeenSet =
false;
644 bool m_cacheParameterGroupNameHasBeenSet =
false;
647 bool m_cacheSubnetGroupNameHasBeenSet =
false;
650 bool m_cacheSecurityGroupNamesHasBeenSet =
false;
653 bool m_securityGroupIdsHasBeenSet =
false;
656 bool m_tagsHasBeenSet =
false;
659 bool m_snapshotArnsHasBeenSet =
false;
662 bool m_snapshotNameHasBeenSet =
false;
665 bool m_preferredMaintenanceWindowHasBeenSet =
false;
668 bool m_portHasBeenSet =
false;
671 bool m_notificationTopicArnHasBeenSet =
false;
673 bool m_autoMinorVersionUpgrade;
674 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
676 int m_snapshotRetentionLimit;
677 bool m_snapshotRetentionLimitHasBeenSet =
false;
680 bool m_snapshotWindowHasBeenSet =
false;
683 bool m_authTokenHasBeenSet =
false;
686 bool m_outpostModeHasBeenSet =
false;
689 bool m_preferredOutpostArnHasBeenSet =
false;
692 bool m_preferredOutpostArnsHasBeenSet =
false;
695 bool m_logDeliveryConfigurationsHasBeenSet =
false;
697 bool m_transitEncryptionEnabled;
698 bool m_transitEncryptionEnabledHasBeenSet =
false;
701 bool m_networkTypeHasBeenSet =
false;
704 bool m_ipDiscoveryHasBeenSet =
false;
bool TransitEncryptionEnabledHasBeenSet() const
CreateCacheClusterRequest & AddCacheSecurityGroupNames(const Aws::String &value)
const Aws::String & GetCacheClusterId() const
CreateCacheClusterRequest & WithSnapshotWindow(const char *value)
bool CacheNodeTypeHasBeenSet() const
const Aws::Vector< Aws::String > & GetSnapshotArns() const
CreateCacheClusterRequest & AddSecurityGroupIds(const char *value)
bool AuthTokenHasBeenSet() const
void SetNotificationTopicArn(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetCacheParameterGroupName() const
void SetReplicationGroupId(const char *value)
bool CacheSecurityGroupNamesHasBeenSet() const
CreateCacheClusterRequest & WithNumCacheNodes(int value)
int GetNumCacheNodes() const
CreateCacheClusterRequest & AddCacheSecurityGroupNames(Aws::String &&value)
CreateCacheClusterRequest & WithPreferredAvailabilityZones(Aws::Vector< Aws::String > &&value)
void SetLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfigurationRequest > &&value)
bool PreferredAvailabilityZonesHasBeenSet() const
CreateCacheClusterRequest & AddCacheSecurityGroupNames(const char *value)
CreateCacheClusterRequest & AddTags(Tag &&value)
void SetNotificationTopicArn(const Aws::String &value)
const Aws::String & GetAuthToken() const
void SetNotificationTopicArn(Aws::String &&value)
CreateCacheClusterRequest & WithAZMode(AZMode &&value)
bool EngineHasBeenSet() const
CreateCacheClusterRequest & WithNotificationTopicArn(const char *value)
void SetPreferredMaintenanceWindow(const char *value)
CreateCacheClusterRequest & WithTransitEncryptionEnabled(bool value)
CreateCacheClusterRequest & WithSnapshotArns(Aws::Vector< Aws::String > &&value)
CreateCacheClusterRequest & WithCacheParameterGroupName(Aws::String &&value)
CreateCacheClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
void SetSnapshotWindow(Aws::String &&value)
void SetNetworkType(const NetworkType &value)
bool EngineVersionHasBeenSet() const
void SetPreferredOutpostArn(const char *value)
void SetIpDiscovery(IpDiscovery &&value)
void SetCacheClusterId(const Aws::String &value)
void SetCacheSecurityGroupNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetCacheSecurityGroupNames() const
bool AZModeHasBeenSet() const
bool GetTransitEncryptionEnabled() const
bool PreferredOutpostArnsHasBeenSet() const
void SetCacheSubnetGroupName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetPreferredAvailabilityZones() const
void SetIpDiscovery(const IpDiscovery &value)
CreateCacheClusterRequest & WithCacheParameterGroupName(const char *value)
void SetSnapshotName(const char *value)
void SetSnapshotName(Aws::String &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateCacheClusterRequest & WithPreferredAvailabilityZone(const Aws::String &value)
CreateCacheClusterRequest & AddPreferredAvailabilityZones(const char *value)
const Aws::String & GetEngine() const
CreateCacheClusterRequest & WithIpDiscovery(const IpDiscovery &value)
CreateCacheClusterRequest & WithSnapshotWindow(Aws::String &&value)
CreateCacheClusterRequest & WithReplicationGroupId(const char *value)
bool TagsHasBeenSet() const
void SetCacheNodeType(const char *value)
void SetCacheSubnetGroupName(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
CreateCacheClusterRequest & WithAuthToken(const char *value)
void SetPreferredOutpostArn(Aws::String &&value)
const Aws::String & GetPreferredOutpostArn() const
bool PreferredMaintenanceWindowHasBeenSet() const
CreateCacheClusterRequest & WithPreferredOutpostArns(Aws::Vector< Aws::String > &&value)
void SetReplicationGroupId(Aws::String &&value)
void SetCacheParameterGroupName(const Aws::String &value)
CreateCacheClusterRequest & WithCacheNodeType(Aws::String &&value)
void SetPreferredAvailabilityZone(const char *value)
CreateCacheClusterRequest & WithEngine(const Aws::String &value)
CreateCacheClusterRequest & WithReplicationGroupId(const Aws::String &value)
CreateCacheClusterRequest & WithLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfigurationRequest > &&value)
const Aws::String & GetReplicationGroupId() const
CreateCacheClusterRequest & WithPreferredAvailabilityZone(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetEngineVersion(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
CreateCacheClusterRequest & AddSnapshotArns(const Aws::String &value)
void SetSnapshotName(const Aws::String &value)
bool GetAutoMinorVersionUpgrade() const
CreateCacheClusterRequest & WithCacheSecurityGroupNames(Aws::Vector< Aws::String > &&value)
CreateCacheClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
CreateCacheClusterRequest & WithEngineVersion(Aws::String &&value)
CreateCacheClusterRequest & AddSnapshotArns(const char *value)
bool AutoMinorVersionUpgradeHasBeenSet() const
void SetPreferredOutpostArns(Aws::Vector< Aws::String > &&value)
void SetPreferredAvailabilityZones(const Aws::Vector< Aws::String > &value)
bool NotificationTopicArnHasBeenSet() const
bool NumCacheNodesHasBeenSet() const
CreateCacheClusterRequest & WithOutpostMode(OutpostMode &&value)
CreateCacheClusterRequest & WithCacheClusterId(const char *value)
void SetCacheParameterGroupName(const char *value)
CreateCacheClusterRequest & WithSnapshotName(const char *value)
CreateCacheClusterRequest & WithReplicationGroupId(Aws::String &&value)
void SetSnapshotArns(const Aws::Vector< Aws::String > &value)
CreateCacheClusterRequest & WithAuthToken(const Aws::String &value)
bool ReplicationGroupIdHasBeenSet() const
const Aws::Vector< LogDeliveryConfigurationRequest > & GetLogDeliveryConfigurations() const
CreateCacheClusterRequest & AddPreferredOutpostArns(Aws::String &&value)
CreateCacheClusterRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetCacheSubnetGroupName(const char *value)
const Aws::Vector< Aws::String > & GetPreferredOutpostArns() const
const Aws::String & GetCacheSubnetGroupName() const
CreateCacheClusterRequest & WithPort(int value)
void SetCacheClusterId(const char *value)
bool SecurityGroupIdsHasBeenSet() const
void SetSnapshotArns(Aws::Vector< Aws::String > &&value)
void SetPreferredAvailabilityZone(const Aws::String &value)
CreateCacheClusterRequest & AddSecurityGroupIds(const Aws::String &value)
CreateCacheClusterRequest & WithPreferredOutpostArn(const char *value)
void SetEngine(const Aws::String &value)
bool SnapshotRetentionLimitHasBeenSet() const
CreateCacheClusterRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateCacheClusterRequest & WithPreferredAvailabilityZone(const char *value)
bool OutpostModeHasBeenSet() const
CreateCacheClusterRequest & WithCacheSecurityGroupNames(const Aws::Vector< Aws::String > &value)
CreateCacheClusterRequest & WithEngineVersion(const Aws::String &value)
const IpDiscovery & GetIpDiscovery() const
CreateCacheClusterRequest & WithCacheParameterGroupName(const Aws::String &value)
CreateCacheClusterRequest & WithSnapshotName(Aws::String &&value)
const Aws::String & GetPreferredMaintenanceWindow() const
bool CacheParameterGroupNameHasBeenSet() const
CreateCacheClusterRequest & WithEngineVersion(const char *value)
CreateCacheClusterRequest & WithCacheNodeType(const char *value)
bool CacheSubnetGroupNameHasBeenSet() const
bool IpDiscoveryHasBeenSet() const
void SetTransitEncryptionEnabled(bool value)
CreateCacheClusterRequest & WithNetworkType(NetworkType &&value)
bool LogDeliveryConfigurationsHasBeenSet() const
const Aws::String & GetNotificationTopicArn() const
void SetEngineVersion(Aws::String &&value)
const Aws::String & GetEngineVersion() const
const AZMode & GetAZMode() const
CreateCacheClusterRequest & WithCacheSubnetGroupName(const Aws::String &value)
bool PortHasBeenSet() const
void SetAZMode(const AZMode &value)
CreateCacheClusterRequest & WithOutpostMode(const OutpostMode &value)
void SetEngine(const char *value)
void SetCacheNodeType(const Aws::String &value)
CreateCacheClusterRequest & AddLogDeliveryConfigurations(const LogDeliveryConfigurationRequest &value)
void SetPreferredAvailabilityZone(Aws::String &&value)
void SetPreferredAvailabilityZones(Aws::Vector< Aws::String > &&value)
CreateCacheClusterRequest & AddLogDeliveryConfigurations(LogDeliveryConfigurationRequest &&value)
CreateCacheClusterRequest & WithNotificationTopicArn(Aws::String &&value)
bool PreferredAvailabilityZoneHasBeenSet() const
CreateCacheClusterRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetSnapshotWindow(const char *value)
CreateCacheClusterRequest & WithPreferredOutpostArn(Aws::String &&value)
void SetOutpostMode(const OutpostMode &value)
CreateCacheClusterRequest & WithPreferredMaintenanceWindow(const char *value)
void SetCacheNodeType(Aws::String &&value)
CreateCacheClusterRequest & WithSnapshotArns(const Aws::Vector< Aws::String > &value)
void SetAuthToken(const char *value)
CreateCacheClusterRequest & WithNetworkType(const NetworkType &value)
CreateCacheClusterRequest & WithCacheSubnetGroupName(const char *value)
bool SnapshotWindowHasBeenSet() const
int GetSnapshotRetentionLimit() const
CreateCacheClusterRequest & AddSecurityGroupIds(Aws::String &&value)
CreateCacheClusterRequest & WithSnapshotRetentionLimit(int value)
CreateCacheClusterRequest & WithNotificationTopicArn(const Aws::String &value)
CreateCacheClusterRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetPreferredAvailabilityZone() const
void SetEngine(Aws::String &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool SnapshotArnsHasBeenSet() const
void SetAZMode(AZMode &&value)
void SetPreferredOutpostArns(const Aws::Vector< Aws::String > &value)
bool NetworkTypeHasBeenSet() const
const NetworkType & GetNetworkType() const
void SetTags(Aws::Vector< Tag > &&value)
bool PreferredOutpostArnHasBeenSet() const
CreateCacheClusterRequest & AddSnapshotArns(Aws::String &&value)
void SetCacheClusterId(Aws::String &&value)
CreateCacheClusterRequest & AddTags(const Tag &value)
CreateCacheClusterRequest & AddPreferredAvailabilityZones(const Aws::String &value)
AWS_ELASTICACHE_API CreateCacheClusterRequest()
CreateCacheClusterRequest & WithCacheSubnetGroupName(Aws::String &&value)
CreateCacheClusterRequest & WithEngine(const char *value)
void SetNumCacheNodes(int value)
void SetNetworkType(NetworkType &&value)
CreateCacheClusterRequest & WithCacheNodeType(const Aws::String &value)
void SetReplicationGroupId(const Aws::String &value)
void SetEngineVersion(const char *value)
CreateCacheClusterRequest & WithPreferredOutpostArn(const Aws::String &value)
bool CacheClusterIdHasBeenSet() const
CreateCacheClusterRequest & AddPreferredOutpostArns(const Aws::String &value)
const Aws::String & GetSnapshotName() const
CreateCacheClusterRequest & WithAZMode(const AZMode &value)
bool SnapshotNameHasBeenSet() const
CreateCacheClusterRequest & WithSnapshotWindow(const Aws::String &value)
const Aws::String & GetSnapshotWindow() const
void SetAuthToken(Aws::String &&value)
void SetAuthToken(const Aws::String &value)
CreateCacheClusterRequest & AddPreferredAvailabilityZones(Aws::String &&value)
CreateCacheClusterRequest & WithAutoMinorVersionUpgrade(bool value)
void SetLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfigurationRequest > &value)
CreateCacheClusterRequest & WithCacheClusterId(const Aws::String &value)
void SetCacheSecurityGroupNames(Aws::Vector< Aws::String > &&value)
CreateCacheClusterRequest & WithPreferredAvailabilityZones(const Aws::Vector< Aws::String > &value)
CreateCacheClusterRequest & WithIpDiscovery(IpDiscovery &&value)
void SetOutpostMode(OutpostMode &&value)
CreateCacheClusterRequest & WithEngine(Aws::String &&value)
CreateCacheClusterRequest & WithAuthToken(Aws::String &&value)
CreateCacheClusterRequest & AddPreferredOutpostArns(const char *value)
CreateCacheClusterRequest & WithSnapshotName(const Aws::String &value)
CreateCacheClusterRequest & WithLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfigurationRequest > &value)
CreateCacheClusterRequest & WithCacheClusterId(Aws::String &&value)
const OutpostMode & GetOutpostMode() const
CreateCacheClusterRequest & WithPreferredOutpostArns(const Aws::Vector< Aws::String > &value)
const Aws::String & GetCacheNodeType() const
void SetSnapshotWindow(const Aws::String &value)
void SetSnapshotRetentionLimit(int value)
void SetAutoMinorVersionUpgrade(bool value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
void SetCacheParameterGroupName(Aws::String &&value)
void SetPreferredOutpostArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector