7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/ElastiCache_EXPORTS.h>
12#include <aws/elasticache/model/CacheUsageLimits.h>
13#include <aws/elasticache/model/ConnectionType.h>
14#include <aws/elasticache/model/Endpoint.h>
15#include <aws/elasticache/model/MigrationSummary.h>
16#include <aws/elasticache/model/NetworkType.h>
17#include <aws/elasticache/model/StorageEncryptionType.h>
27namespace ElastiCache {
50 template <
typename ServerlessCacheNameT = Aws::String>
52 m_serverlessCacheNameHasBeenSet =
true;
53 m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value);
55 template <
typename ServerlessCacheNameT = Aws::String>
68 template <
typename DescriptionT = Aws::String>
70 m_descriptionHasBeenSet =
true;
71 m_description = std::forward<DescriptionT>(value);
73 template <
typename DescriptionT = Aws::String>
86 template <
typename CreateTimeT = Aws::Utils::DateTime>
88 m_createTimeHasBeenSet =
true;
89 m_createTime = std::forward<CreateTimeT>(value);
91 template <
typename CreateTimeT = Aws::Utils::DateTime>
105 template <
typename StatusT = Aws::String>
107 m_statusHasBeenSet =
true;
108 m_status = std::forward<StatusT>(value);
110 template <
typename StatusT = Aws::String>
123 template <
typename EngineT = Aws::String>
125 m_engineHasBeenSet =
true;
126 m_engine = std::forward<EngineT>(value);
128 template <
typename EngineT = Aws::String>
141 template <
typename MajorEngineVersionT = Aws::String>
143 m_majorEngineVersionHasBeenSet =
true;
144 m_majorEngineVersion = std::forward<MajorEngineVersionT>(value);
146 template <
typename MajorEngineVersionT = Aws::String>
160 template <
typename FullEngineVersionT = Aws::String>
162 m_fullEngineVersionHasBeenSet =
true;
163 m_fullEngineVersion = std::forward<FullEngineVersionT>(value);
165 template <
typename FullEngineVersionT = Aws::String>
178 template <
typename CacheUsageLimitsT = CacheUsageLimits>
180 m_cacheUsageLimitsHasBeenSet =
true;
181 m_cacheUsageLimits = std::forward<CacheUsageLimitsT>(value);
183 template <
typename CacheUsageLimitsT = CacheUsageLimits>
197 template <
typename KmsKeyIdT = Aws::String>
199 m_kmsKeyIdHasBeenSet =
true;
200 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
202 template <
typename KmsKeyIdT = Aws::String>
219 m_storageEncryptionTypeHasBeenSet =
true;
220 m_storageEncryptionType = value;
234 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
236 m_securityGroupIdsHasBeenSet =
true;
237 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
239 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
244 template <
typename SecurityGroupIdsT = Aws::String>
246 m_securityGroupIdsHasBeenSet =
true;
247 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
256 template <
typename Endpo
intT = Endpo
int>
258 m_endpointHasBeenSet =
true;
259 m_endpoint = std::forward<EndpointT>(value);
261 template <
typename Endpo
intT = Endpo
int>
272 template <
typename ReaderEndpo
intT = Endpo
int>
274 m_readerEndpointHasBeenSet =
true;
275 m_readerEndpoint = std::forward<ReaderEndpointT>(value);
277 template <
typename ReaderEndpo
intT = Endpo
int>
290 template <
typename ARNT = Aws::String>
292 m_aRNHasBeenSet =
true;
293 m_aRN = std::forward<ARNT>(value);
295 template <
typename ARNT = Aws::String>
297 SetARN(std::forward<ARNT>(value));
309 template <
typename UserGroupIdT = Aws::String>
311 m_userGroupIdHasBeenSet =
true;
312 m_userGroupId = std::forward<UserGroupIdT>(value);
314 template <
typename UserGroupIdT = Aws::String>
330 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
332 m_subnetIdsHasBeenSet =
true;
333 m_subnetIds = std::forward<SubnetIdsT>(value);
335 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
340 template <
typename SubnetIdsT = Aws::String>
342 m_subnetIdsHasBeenSet =
true;
343 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
357 m_snapshotRetentionLimitHasBeenSet =
true;
358 m_snapshotRetentionLimit = value;
374 template <
typename DailySnapshotTimeT = Aws::String>
376 m_dailySnapshotTimeHasBeenSet =
true;
377 m_dailySnapshotTime = std::forward<DailySnapshotTimeT>(value);
379 template <
typename DailySnapshotTimeT = Aws::String>
397 m_networkTypeHasBeenSet =
true;
398 m_networkType = value;
414 m_connectionTypeHasBeenSet =
true;
415 m_connectionType = value;
429 template <
typename MigrationT = MigrationSummary>
431 m_migrationHasBeenSet =
true;
432 m_migration = std::forward<MigrationT>(value);
434 template <
typename MigrationT = MigrationSummary>
455 CacheUsageLimits m_cacheUsageLimits;
465 Endpoint m_readerEndpoint;
473 int m_snapshotRetentionLimit{0};
481 MigrationSummary m_migration;
482 bool m_serverlessCacheNameHasBeenSet =
false;
483 bool m_descriptionHasBeenSet =
false;
484 bool m_createTimeHasBeenSet =
false;
485 bool m_statusHasBeenSet =
false;
486 bool m_engineHasBeenSet =
false;
487 bool m_majorEngineVersionHasBeenSet =
false;
488 bool m_fullEngineVersionHasBeenSet =
false;
489 bool m_cacheUsageLimitsHasBeenSet =
false;
490 bool m_kmsKeyIdHasBeenSet =
false;
491 bool m_storageEncryptionTypeHasBeenSet =
false;
492 bool m_securityGroupIdsHasBeenSet =
false;
493 bool m_endpointHasBeenSet =
false;
494 bool m_readerEndpointHasBeenSet =
false;
495 bool m_aRNHasBeenSet =
false;
496 bool m_userGroupIdHasBeenSet =
false;
497 bool m_subnetIdsHasBeenSet =
false;
498 bool m_snapshotRetentionLimitHasBeenSet =
false;
499 bool m_dailySnapshotTimeHasBeenSet =
false;
500 bool m_networkTypeHasBeenSet =
false;
501 bool m_connectionTypeHasBeenSet =
false;
502 bool m_migrationHasBeenSet =
false;
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
void SetCacheUsageLimits(CacheUsageLimitsT &&value)
ServerlessCache & WithConnectionType(ConnectionType value)
ServerlessCache & WithServerlessCacheName(ServerlessCacheNameT &&value)
AWS_ELASTICACHE_API ServerlessCache()=default
ServerlessCache & WithEndpoint(EndpointT &&value)
const Aws::String & GetDescription() const
bool SubnetIdsHasBeenSet() const
ServerlessCache & WithARN(ARNT &&value)
ServerlessCache & WithCreateTime(CreateTimeT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetDailySnapshotTime(DailySnapshotTimeT &&value)
bool EngineHasBeenSet() const
AWS_ELASTICACHE_API ServerlessCache(const Aws::Utils::Xml::XmlNode &xmlNode)
ServerlessCache & WithReaderEndpoint(ReaderEndpointT &&value)
void SetMajorEngineVersion(MajorEngineVersionT &&value)
void SetSubnetIds(SubnetIdsT &&value)
ServerlessCache & WithDailySnapshotTime(DailySnapshotTimeT &&value)
ServerlessCache & WithStatus(StatusT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
const Aws::String & GetEngine() const
void SetMigration(MigrationT &&value)
void SetCreateTime(CreateTimeT &&value)
void SetUserGroupId(UserGroupIdT &&value)
bool EndpointHasBeenSet() const
ServerlessCache & AddSubnetIds(SubnetIdsT &&value)
NetworkType GetNetworkType() const
ServerlessCache & WithKmsKeyId(KmsKeyIdT &&value)
void SetNetworkType(NetworkType value)
const Endpoint & GetEndpoint() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
int GetSnapshotRetentionLimit() const
const Aws::String & GetARN() const
const CacheUsageLimits & GetCacheUsageLimits() const
bool CreateTimeHasBeenSet() const
void SetConnectionType(ConnectionType value)
ServerlessCache & WithEngine(EngineT &&value)
bool DescriptionHasBeenSet() const
ServerlessCache & WithDescription(DescriptionT &&value)
bool DailySnapshotTimeHasBeenSet() const
ServerlessCache & WithSnapshotRetentionLimit(int value)
bool CacheUsageLimitsHasBeenSet() const
AWS_ELASTICACHE_API ServerlessCache & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKmsKeyId(KmsKeyIdT &&value)
bool FullEngineVersionHasBeenSet() const
const Aws::String & GetServerlessCacheName() const
bool ServerlessCacheNameHasBeenSet() const
bool NetworkTypeHasBeenSet() const
ServerlessCache & WithCacheUsageLimits(CacheUsageLimitsT &&value)
ServerlessCache & WithUserGroupId(UserGroupIdT &&value)
ServerlessCache & WithFullEngineVersion(FullEngineVersionT &&value)
ConnectionType GetConnectionType() const
bool UserGroupIdHasBeenSet() const
void SetStorageEncryptionType(StorageEncryptionType value)
ServerlessCache & WithNetworkType(NetworkType value)
ServerlessCache & WithMajorEngineVersion(MajorEngineVersionT &&value)
const MigrationSummary & GetMigration() const
bool ReaderEndpointHasBeenSet() const
ServerlessCache & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetEndpoint(EndpointT &&value)
void SetSnapshotRetentionLimit(int value)
const Aws::String & GetDailySnapshotTime() const
void SetFullEngineVersion(FullEngineVersionT &&value)
ServerlessCache & WithMigration(MigrationT &&value)
ServerlessCache & WithStorageEncryptionType(StorageEncryptionType value)
const Aws::String & GetFullEngineVersion() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetKmsKeyId() const
void SetStatus(StatusT &&value)
bool MigrationHasBeenSet() const
bool StorageEncryptionTypeHasBeenSet() const
void SetServerlessCacheName(ServerlessCacheNameT &&value)
const Aws::String & GetUserGroupId() const
const Endpoint & GetReaderEndpoint() const
bool SecurityGroupIdsHasBeenSet() const
void SetEngine(EngineT &&value)
bool SnapshotRetentionLimitHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool StatusHasBeenSet() const
StorageEncryptionType GetStorageEncryptionType() const
bool ConnectionTypeHasBeenSet() const
const Aws::String & GetMajorEngineVersion() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetReaderEndpoint(ReaderEndpointT &&value)
bool MajorEngineVersionHasBeenSet() const
bool ARNHasBeenSet() const
ServerlessCache & WithSubnetIds(SubnetIdsT &&value)
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetStatus() const
ServerlessCache & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetARN(ARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream
std::vector< T, Aws::Allocator< T > > Vector