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/NetworkType.h>
16#include <aws/elasticache/model/StorageEncryptionType.h>
26namespace ElastiCache {
49 template <
typename ServerlessCacheNameT = Aws::String>
51 m_serverlessCacheNameHasBeenSet =
true;
52 m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value);
54 template <
typename ServerlessCacheNameT = Aws::String>
67 template <
typename DescriptionT = Aws::String>
69 m_descriptionHasBeenSet =
true;
70 m_description = std::forward<DescriptionT>(value);
72 template <
typename DescriptionT = Aws::String>
85 template <
typename CreateTimeT = Aws::Utils::DateTime>
87 m_createTimeHasBeenSet =
true;
88 m_createTime = std::forward<CreateTimeT>(value);
90 template <
typename CreateTimeT = Aws::Utils::DateTime>
104 template <
typename StatusT = Aws::String>
106 m_statusHasBeenSet =
true;
107 m_status = std::forward<StatusT>(value);
109 template <
typename StatusT = Aws::String>
122 template <
typename EngineT = Aws::String>
124 m_engineHasBeenSet =
true;
125 m_engine = std::forward<EngineT>(value);
127 template <
typename EngineT = Aws::String>
140 template <
typename MajorEngineVersionT = Aws::String>
142 m_majorEngineVersionHasBeenSet =
true;
143 m_majorEngineVersion = std::forward<MajorEngineVersionT>(value);
145 template <
typename MajorEngineVersionT = Aws::String>
159 template <
typename FullEngineVersionT = Aws::String>
161 m_fullEngineVersionHasBeenSet =
true;
162 m_fullEngineVersion = std::forward<FullEngineVersionT>(value);
164 template <
typename FullEngineVersionT = Aws::String>
177 template <
typename CacheUsageLimitsT = CacheUsageLimits>
179 m_cacheUsageLimitsHasBeenSet =
true;
180 m_cacheUsageLimits = std::forward<CacheUsageLimitsT>(value);
182 template <
typename CacheUsageLimitsT = CacheUsageLimits>
196 template <
typename KmsKeyIdT = Aws::String>
198 m_kmsKeyIdHasBeenSet =
true;
199 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
201 template <
typename KmsKeyIdT = Aws::String>
218 m_storageEncryptionTypeHasBeenSet =
true;
219 m_storageEncryptionType = value;
233 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
235 m_securityGroupIdsHasBeenSet =
true;
236 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
238 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
243 template <
typename SecurityGroupIdsT = Aws::String>
245 m_securityGroupIdsHasBeenSet =
true;
246 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
255 template <
typename Endpo
intT = Endpo
int>
257 m_endpointHasBeenSet =
true;
258 m_endpoint = std::forward<EndpointT>(value);
260 template <
typename Endpo
intT = Endpo
int>
271 template <
typename ReaderEndpo
intT = Endpo
int>
273 m_readerEndpointHasBeenSet =
true;
274 m_readerEndpoint = std::forward<ReaderEndpointT>(value);
276 template <
typename ReaderEndpo
intT = Endpo
int>
289 template <
typename ARNT = Aws::String>
291 m_aRNHasBeenSet =
true;
292 m_aRN = std::forward<ARNT>(value);
294 template <
typename ARNT = Aws::String>
296 SetARN(std::forward<ARNT>(value));
308 template <
typename UserGroupIdT = Aws::String>
310 m_userGroupIdHasBeenSet =
true;
311 m_userGroupId = std::forward<UserGroupIdT>(value);
313 template <
typename UserGroupIdT = Aws::String>
329 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
331 m_subnetIdsHasBeenSet =
true;
332 m_subnetIds = std::forward<SubnetIdsT>(value);
334 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
339 template <
typename SubnetIdsT = Aws::String>
341 m_subnetIdsHasBeenSet =
true;
342 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
356 m_snapshotRetentionLimitHasBeenSet =
true;
357 m_snapshotRetentionLimit = value;
373 template <
typename DailySnapshotTimeT = Aws::String>
375 m_dailySnapshotTimeHasBeenSet =
true;
376 m_dailySnapshotTime = std::forward<DailySnapshotTimeT>(value);
378 template <
typename DailySnapshotTimeT = Aws::String>
396 m_networkTypeHasBeenSet =
true;
397 m_networkType = value;
413 m_connectionTypeHasBeenSet =
true;
414 m_connectionType = value;
436 CacheUsageLimits m_cacheUsageLimits;
446 Endpoint m_readerEndpoint;
454 int m_snapshotRetentionLimit{0};
461 bool m_serverlessCacheNameHasBeenSet =
false;
462 bool m_descriptionHasBeenSet =
false;
463 bool m_createTimeHasBeenSet =
false;
464 bool m_statusHasBeenSet =
false;
465 bool m_engineHasBeenSet =
false;
466 bool m_majorEngineVersionHasBeenSet =
false;
467 bool m_fullEngineVersionHasBeenSet =
false;
468 bool m_cacheUsageLimitsHasBeenSet =
false;
469 bool m_kmsKeyIdHasBeenSet =
false;
470 bool m_storageEncryptionTypeHasBeenSet =
false;
471 bool m_securityGroupIdsHasBeenSet =
false;
472 bool m_endpointHasBeenSet =
false;
473 bool m_readerEndpointHasBeenSet =
false;
474 bool m_aRNHasBeenSet =
false;
475 bool m_userGroupIdHasBeenSet =
false;
476 bool m_subnetIdsHasBeenSet =
false;
477 bool m_snapshotRetentionLimitHasBeenSet =
false;
478 bool m_dailySnapshotTimeHasBeenSet =
false;
479 bool m_networkTypeHasBeenSet =
false;
480 bool m_connectionTypeHasBeenSet =
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 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)
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 & WithStorageEncryptionType(StorageEncryptionType value)
const Aws::String & GetFullEngineVersion() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetKmsKeyId() const
void SetStatus(StatusT &&value)
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::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream