7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticache/model/Endpoint.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/elasticache/model/PendingModifiedValues.h>
13#include <aws/elasticache/model/NotificationConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/elasticache/model/CacheParameterGroupStatus.h>
16#include <aws/elasticache/model/NetworkType.h>
17#include <aws/elasticache/model/IpDiscovery.h>
18#include <aws/elasticache/model/TransitEncryptionMode.h>
19#include <aws/elasticache/model/CacheSecurityGroupMembership.h>
20#include <aws/elasticache/model/CacheNode.h>
21#include <aws/elasticache/model/SecurityGroupMembership.h>
22#include <aws/elasticache/model/LogDeliveryConfiguration.h>
65 inline void SetCacheClusterId(
const char* value) { m_cacheClusterIdHasBeenSet =
true; m_cacheClusterId.assign(value); }
95 inline void SetClientDownloadLandingPage(
const char* value) { m_clientDownloadLandingPageHasBeenSet =
true; m_clientDownloadLandingPage.assign(value); }
181 inline void SetCacheNodeType(
const char* value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType.assign(value); }
196 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
210 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
228 inline void SetCacheClusterStatus(
const char* value) { m_cacheClusterStatusHasBeenSet =
true; m_cacheClusterStatus.assign(value); }
242 inline void SetNumCacheNodes(
int value) { m_numCacheNodesHasBeenSet =
true; m_numCacheNodes = value; }
255 inline void SetPreferredAvailabilityZone(
const char* value) { m_preferredAvailabilityZoneHasBeenSet =
true; m_preferredAvailabilityZone.assign(value); }
269 inline void SetPreferredOutpostArn(
const char* value) { m_preferredOutpostArnHasBeenSet =
true; m_preferredOutpostArn.assign(value); }
367 inline void SetCacheSubnetGroupName(
const char* value) { m_cacheSubnetGroupNameHasBeenSet =
true; m_cacheSubnetGroupName.assign(value); }
422 inline void SetReplicationGroupId(
const char* value) { m_replicationGroupIdHasBeenSet =
true; m_replicationGroupId.assign(value); }
452 inline void SetSnapshotWindow(
const char* value) { m_snapshotWindowHasBeenSet =
true; m_snapshotWindow.assign(value); }
465 inline void SetAuthTokenEnabled(
bool value) { m_authTokenEnabledHasBeenSet =
true; m_authTokenEnabled = value; }
518 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
596 bool m_cacheClusterIdHasBeenSet =
false;
599 bool m_configurationEndpointHasBeenSet =
false;
602 bool m_clientDownloadLandingPageHasBeenSet =
false;
605 bool m_cacheNodeTypeHasBeenSet =
false;
608 bool m_engineHasBeenSet =
false;
611 bool m_engineVersionHasBeenSet =
false;
614 bool m_cacheClusterStatusHasBeenSet =
false;
617 bool m_numCacheNodesHasBeenSet =
false;
620 bool m_preferredAvailabilityZoneHasBeenSet =
false;
623 bool m_preferredOutpostArnHasBeenSet =
false;
626 bool m_cacheClusterCreateTimeHasBeenSet =
false;
629 bool m_preferredMaintenanceWindowHasBeenSet =
false;
632 bool m_pendingModifiedValuesHasBeenSet =
false;
635 bool m_notificationConfigurationHasBeenSet =
false;
638 bool m_cacheSecurityGroupsHasBeenSet =
false;
641 bool m_cacheParameterGroupHasBeenSet =
false;
644 bool m_cacheSubnetGroupNameHasBeenSet =
false;
647 bool m_cacheNodesHasBeenSet =
false;
649 bool m_autoMinorVersionUpgrade;
650 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
653 bool m_securityGroupsHasBeenSet =
false;
656 bool m_replicationGroupIdHasBeenSet =
false;
658 int m_snapshotRetentionLimit;
659 bool m_snapshotRetentionLimitHasBeenSet =
false;
662 bool m_snapshotWindowHasBeenSet =
false;
664 bool m_authTokenEnabled;
665 bool m_authTokenEnabledHasBeenSet =
false;
668 bool m_authTokenLastModifiedDateHasBeenSet =
false;
670 bool m_transitEncryptionEnabled;
671 bool m_transitEncryptionEnabledHasBeenSet =
false;
673 bool m_atRestEncryptionEnabled;
674 bool m_atRestEncryptionEnabledHasBeenSet =
false;
677 bool m_aRNHasBeenSet =
false;
679 bool m_replicationGroupLogDeliveryEnabled;
680 bool m_replicationGroupLogDeliveryEnabledHasBeenSet =
false;
683 bool m_logDeliveryConfigurationsHasBeenSet =
false;
686 bool m_networkTypeHasBeenSet =
false;
689 bool m_ipDiscoveryHasBeenSet =
false;
692 bool m_transitEncryptionModeHasBeenSet =
false;
void SetNumCacheNodes(int value)
CacheCluster & WithEngine(Aws::String &&value)
void SetSnapshotRetentionLimit(int value)
void SetCacheSecurityGroups(const Aws::Vector< CacheSecurityGroupMembership > &value)
const Aws::String & GetCacheNodeType() const
bool SnapshotWindowHasBeenSet() const
CacheCluster & WithAutoMinorVersionUpgrade(bool value)
CacheCluster & WithCacheClusterCreateTime(Aws::Utils::DateTime &&value)
AWS_ELASTICACHE_API CacheCluster()
void SetLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfiguration > &&value)
void SetLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfiguration > &value)
bool SnapshotRetentionLimitHasBeenSet() const
CacheCluster & WithTransitEncryptionMode(TransitEncryptionMode &&value)
bool PreferredOutpostArnHasBeenSet() const
CacheCluster & WithSnapshotRetentionLimit(int value)
CacheCluster & AddLogDeliveryConfigurations(LogDeliveryConfiguration &&value)
bool EngineVersionHasBeenSet() const
void SetSnapshotWindow(const char *value)
void SetCacheClusterId(const char *value)
const Aws::String & GetCacheSubnetGroupName() const
bool AuthTokenLastModifiedDateHasBeenSet() const
CacheCluster & WithPreferredOutpostArn(const char *value)
CacheCluster & WithSnapshotWindow(const Aws::String &value)
void SetPreferredMaintenanceWindow(const char *value)
CacheCluster & AddCacheNodes(CacheNode &&value)
bool ClientDownloadLandingPageHasBeenSet() const
void SetCacheNodes(const Aws::Vector< CacheNode > &value)
void SetCacheSubnetGroupName(Aws::String &&value)
void SetCacheClusterId(Aws::String &&value)
void SetTransitEncryptionEnabled(bool value)
CacheCluster & WithCacheSubnetGroupName(const char *value)
const Aws::String & GetClientDownloadLandingPage() const
CacheCluster & WithPreferredOutpostArn(const Aws::String &value)
CacheCluster & AddCacheNodes(const CacheNode &value)
bool IpDiscoveryHasBeenSet() const
CacheCluster & WithPreferredMaintenanceWindow(const char *value)
bool LogDeliveryConfigurationsHasBeenSet() const
CacheCluster & WithPreferredAvailabilityZone(const Aws::String &value)
bool AutoMinorVersionUpgradeHasBeenSet() const
void SetSecurityGroups(const Aws::Vector< SecurityGroupMembership > &value)
const IpDiscovery & GetIpDiscovery() const
void SetCacheClusterStatus(Aws::String &&value)
void SetReplicationGroupLogDeliveryEnabled(bool value)
int GetNumCacheNodes() const
const Aws::String & GetCacheClusterId() const
const Aws::String & GetSnapshotWindow() const
CacheCluster & AddSecurityGroups(SecurityGroupMembership &&value)
CacheCluster & WithCacheClusterStatus(Aws::String &&value)
const Aws::String & GetPreferredOutpostArn() const
CacheCluster & WithPreferredAvailabilityZone(Aws::String &&value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
bool ReplicationGroupIdHasBeenSet() const
bool GetReplicationGroupLogDeliveryEnabled() const
const CacheParameterGroupStatus & GetCacheParameterGroup() const
void SetAutoMinorVersionUpgrade(bool value)
CacheCluster & WithCacheNodeType(const char *value)
bool EngineHasBeenSet() const
void SetCacheSubnetGroupName(const char *value)
const Aws::Vector< CacheSecurityGroupMembership > & GetCacheSecurityGroups() const
CacheCluster & WithCacheClusterId(Aws::String &&value)
bool GetAutoMinorVersionUpgrade() const
bool ARNHasBeenSet() const
CacheCluster & WithNetworkType(const NetworkType &value)
CacheCluster & WithEngine(const Aws::String &value)
CacheCluster & WithCacheClusterStatus(const Aws::String &value)
void SetPreferredOutpostArn(Aws::String &&value)
void SetNetworkType(NetworkType &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TransitEncryptionModeHasBeenSet() const
CacheCluster & WithPreferredOutpostArn(Aws::String &&value)
bool AtRestEncryptionEnabledHasBeenSet() const
const Endpoint & GetConfigurationEndpoint() const
const Aws::String & GetCacheClusterStatus() const
const Aws::String & GetPreferredMaintenanceWindow() const
void SetCacheNodeType(const Aws::String &value)
bool NumCacheNodesHasBeenSet() const
bool PreferredAvailabilityZoneHasBeenSet() const
CacheCluster & WithCacheClusterStatus(const char *value)
void SetAtRestEncryptionEnabled(bool value)
void SetCacheClusterStatus(const Aws::String &value)
int GetSnapshotRetentionLimit() const
void SetCacheParameterGroup(const CacheParameterGroupStatus &value)
CacheCluster & WithSnapshotWindow(const char *value)
CacheCluster & WithEngineVersion(Aws::String &&value)
void SetClientDownloadLandingPage(Aws::String &&value)
bool NotificationConfigurationHasBeenSet() const
void SetAuthTokenLastModifiedDate(Aws::Utils::DateTime &&value)
void SetSecurityGroups(Aws::Vector< SecurityGroupMembership > &&value)
void SetCacheParameterGroup(CacheParameterGroupStatus &&value)
bool PendingModifiedValuesHasBeenSet() const
void SetCacheClusterCreateTime(const Aws::Utils::DateTime &value)
void SetARN(Aws::String &&value)
void SetPendingModifiedValues(const PendingModifiedValues &value)
bool CacheClusterCreateTimeHasBeenSet() const
void SetNotificationConfiguration(const NotificationConfiguration &value)
void SetSnapshotWindow(const Aws::String &value)
CacheCluster & WithCacheNodeType(Aws::String &&value)
CacheCluster & WithLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfiguration > &&value)
CacheCluster & WithClientDownloadLandingPage(Aws::String &&value)
CacheCluster & WithIpDiscovery(const IpDiscovery &value)
void SetReplicationGroupId(const Aws::String &value)
void SetConfigurationEndpoint(Endpoint &&value)
void SetCacheSubnetGroupName(const Aws::String &value)
void SetPreferredAvailabilityZone(const Aws::String &value)
CacheCluster & WithEngine(const char *value)
void SetPreferredAvailabilityZone(Aws::String &&value)
void SetCacheNodeType(const char *value)
bool SecurityGroupsHasBeenSet() const
void SetAuthTokenLastModifiedDate(const Aws::Utils::DateTime &value)
void SetPreferredOutpostArn(const Aws::String &value)
void SetIpDiscovery(IpDiscovery &&value)
CacheCluster & WithTransitEncryptionEnabled(bool value)
void SetClientDownloadLandingPage(const Aws::String &value)
const Aws::String & GetEngineVersion() const
CacheCluster & WithConfigurationEndpoint(Endpoint &&value)
CacheCluster & WithSecurityGroups(const Aws::Vector< SecurityGroupMembership > &value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
CacheCluster & WithNotificationConfiguration(const NotificationConfiguration &value)
void SetCacheClusterId(const Aws::String &value)
bool CacheSubnetGroupNameHasBeenSet() const
AWS_ELASTICACHE_API CacheCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetEngine() const
void SetNetworkType(const NetworkType &value)
CacheCluster & WithCacheClusterCreateTime(const Aws::Utils::DateTime &value)
CacheCluster & WithCacheNodes(const Aws::Vector< CacheNode > &value)
const TransitEncryptionMode & GetTransitEncryptionMode() const
CacheCluster & WithNumCacheNodes(int value)
CacheCluster & WithConfigurationEndpoint(const Endpoint &value)
void SetIpDiscovery(const IpDiscovery &value)
void SetNotificationConfiguration(NotificationConfiguration &&value)
void SetClientDownloadLandingPage(const char *value)
CacheCluster & WithPreferredAvailabilityZone(const char *value)
const Aws::String & GetReplicationGroupId() const
bool CacheNodeTypeHasBeenSet() const
CacheCluster & WithReplicationGroupId(Aws::String &&value)
CacheCluster & WithARN(const char *value)
void SetEngine(const Aws::String &value)
bool ConfigurationEndpointHasBeenSet() const
const Aws::Vector< CacheNode > & GetCacheNodes() const
CacheCluster & WithReplicationGroupLogDeliveryEnabled(bool value)
void SetReplicationGroupId(Aws::String &&value)
const NetworkType & GetNetworkType() const
CacheCluster & WithCacheSubnetGroupName(const Aws::String &value)
CacheCluster & WithARN(const Aws::String &value)
bool PreferredMaintenanceWindowHasBeenSet() const
bool GetAuthTokenEnabled() const
bool GetTransitEncryptionEnabled() const
CacheCluster & WithClientDownloadLandingPage(const char *value)
const Aws::Utils::DateTime & GetCacheClusterCreateTime() const
CacheCluster & WithLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfiguration > &value)
CacheCluster & WithReplicationGroupId(const char *value)
bool CacheClusterIdHasBeenSet() const
CacheCluster & AddLogDeliveryConfigurations(const LogDeliveryConfiguration &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetAuthTokenLastModifiedDate() const
CacheCluster & WithEngineVersion(const char *value)
const Aws::Vector< LogDeliveryConfiguration > & GetLogDeliveryConfigurations() const
CacheCluster & WithAuthTokenEnabled(bool value)
void SetPendingModifiedValues(PendingModifiedValues &&value)
CacheCluster & WithARN(Aws::String &&value)
void SetCacheClusterCreateTime(Aws::Utils::DateTime &&value)
CacheCluster & WithAuthTokenLastModifiedDate(const Aws::Utils::DateTime &value)
void SetPreferredOutpostArn(const char *value)
void SetConfigurationEndpoint(const Endpoint &value)
void SetSnapshotWindow(Aws::String &&value)
CacheCluster & WithPreferredMaintenanceWindow(const Aws::String &value)
bool CacheParameterGroupHasBeenSet() const
void SetTransitEncryptionMode(const TransitEncryptionMode &value)
const NotificationConfiguration & GetNotificationConfiguration() const
bool GetAtRestEncryptionEnabled() const
void SetEngine(const char *value)
bool CacheSecurityGroupsHasBeenSet() const
void SetEngineVersion(const Aws::String &value)
CacheCluster & WithSecurityGroups(Aws::Vector< SecurityGroupMembership > &&value)
bool CacheNodesHasBeenSet() const
AWS_ELASTICACHE_API CacheCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheCluster & WithIpDiscovery(IpDiscovery &&value)
const PendingModifiedValues & GetPendingModifiedValues() const
CacheCluster & WithCacheSecurityGroups(const Aws::Vector< CacheSecurityGroupMembership > &value)
CacheCluster & WithReplicationGroupId(const Aws::String &value)
void SetAuthTokenEnabled(bool value)
void SetEngineVersion(const char *value)
CacheCluster & WithTransitEncryptionMode(const TransitEncryptionMode &value)
CacheCluster & WithCacheSecurityGroups(Aws::Vector< CacheSecurityGroupMembership > &&value)
const Aws::String & GetARN() const
CacheCluster & WithPendingModifiedValues(PendingModifiedValues &&value)
void SetCacheNodes(Aws::Vector< CacheNode > &&value)
bool CacheClusterStatusHasBeenSet() const
CacheCluster & AddCacheSecurityGroups(CacheSecurityGroupMembership &&value)
CacheCluster & WithCacheParameterGroup(const CacheParameterGroupStatus &value)
void SetTransitEncryptionMode(TransitEncryptionMode &&value)
CacheCluster & WithAuthTokenLastModifiedDate(Aws::Utils::DateTime &&value)
void SetARN(const Aws::String &value)
CacheCluster & WithCacheNodes(Aws::Vector< CacheNode > &&value)
const Aws::Vector< SecurityGroupMembership > & GetSecurityGroups() const
CacheCluster & WithCacheClusterId(const Aws::String &value)
bool AuthTokenEnabledHasBeenSet() const
void SetCacheSecurityGroups(Aws::Vector< CacheSecurityGroupMembership > &&value)
CacheCluster & WithNotificationConfiguration(NotificationConfiguration &&value)
void SetARN(const char *value)
CacheCluster & WithCacheClusterId(const char *value)
CacheCluster & WithPendingModifiedValues(const PendingModifiedValues &value)
void SetPreferredAvailabilityZone(const char *value)
void SetReplicationGroupId(const char *value)
CacheCluster & WithCacheNodeType(const Aws::String &value)
CacheCluster & WithPreferredMaintenanceWindow(Aws::String &&value)
bool NetworkTypeHasBeenSet() const
void SetEngineVersion(Aws::String &&value)
CacheCluster & WithAtRestEncryptionEnabled(bool value)
CacheCluster & WithCacheParameterGroup(CacheParameterGroupStatus &&value)
CacheCluster & AddCacheSecurityGroups(const CacheSecurityGroupMembership &value)
CacheCluster & WithNetworkType(NetworkType &&value)
bool ReplicationGroupLogDeliveryEnabledHasBeenSet() const
CacheCluster & WithClientDownloadLandingPage(const Aws::String &value)
CacheCluster & WithSnapshotWindow(Aws::String &&value)
const Aws::String & GetPreferredAvailabilityZone() const
void SetCacheNodeType(Aws::String &&value)
bool TransitEncryptionEnabledHasBeenSet() const
void SetCacheClusterStatus(const char *value)
CacheCluster & WithCacheSubnetGroupName(Aws::String &&value)
CacheCluster & WithEngineVersion(const Aws::String &value)
void SetEngine(Aws::String &&value)
CacheCluster & AddSecurityGroups(const SecurityGroupMembership &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream