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/Endpoint.h>
14#include <aws/elasticache/model/NetworkType.h>
24namespace ElastiCache {
47 template <
typename ServerlessCacheNameT = Aws::String>
49 m_serverlessCacheNameHasBeenSet =
true;
50 m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value);
52 template <
typename ServerlessCacheNameT = Aws::String>
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
83 template <
typename CreateTimeT = Aws::Utils::DateTime>
85 m_createTimeHasBeenSet =
true;
86 m_createTime = std::forward<CreateTimeT>(value);
88 template <
typename CreateTimeT = Aws::Utils::DateTime>
102 template <
typename StatusT = Aws::String>
104 m_statusHasBeenSet =
true;
105 m_status = std::forward<StatusT>(value);
107 template <
typename StatusT = Aws::String>
120 template <
typename EngineT = Aws::String>
122 m_engineHasBeenSet =
true;
123 m_engine = std::forward<EngineT>(value);
125 template <
typename EngineT = Aws::String>
138 template <
typename MajorEngineVersionT = Aws::String>
140 m_majorEngineVersionHasBeenSet =
true;
141 m_majorEngineVersion = std::forward<MajorEngineVersionT>(value);
143 template <
typename MajorEngineVersionT = Aws::String>
157 template <
typename FullEngineVersionT = Aws::String>
159 m_fullEngineVersionHasBeenSet =
true;
160 m_fullEngineVersion = std::forward<FullEngineVersionT>(value);
162 template <
typename FullEngineVersionT = Aws::String>
175 template <
typename CacheUsageLimitsT = CacheUsageLimits>
177 m_cacheUsageLimitsHasBeenSet =
true;
178 m_cacheUsageLimits = std::forward<CacheUsageLimitsT>(value);
180 template <
typename CacheUsageLimitsT = CacheUsageLimits>
194 template <
typename KmsKeyIdT = Aws::String>
196 m_kmsKeyIdHasBeenSet =
true;
197 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
199 template <
typename KmsKeyIdT = Aws::String>
212 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
214 m_securityGroupIdsHasBeenSet =
true;
215 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
217 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
222 template <
typename SecurityGroupIdsT = Aws::String>
224 m_securityGroupIdsHasBeenSet =
true;
225 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
234 template <
typename Endpo
intT = Endpo
int>
236 m_endpointHasBeenSet =
true;
237 m_endpoint = std::forward<EndpointT>(value);
239 template <
typename Endpo
intT = Endpo
int>
250 template <
typename ReaderEndpo
intT = Endpo
int>
252 m_readerEndpointHasBeenSet =
true;
253 m_readerEndpoint = std::forward<ReaderEndpointT>(value);
255 template <
typename ReaderEndpo
intT = Endpo
int>
268 template <
typename ARNT = Aws::String>
270 m_aRNHasBeenSet =
true;
271 m_aRN = std::forward<ARNT>(value);
273 template <
typename ARNT = Aws::String>
275 SetARN(std::forward<ARNT>(value));
287 template <
typename UserGroupIdT = Aws::String>
289 m_userGroupIdHasBeenSet =
true;
290 m_userGroupId = std::forward<UserGroupIdT>(value);
292 template <
typename UserGroupIdT = Aws::String>
308 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
310 m_subnetIdsHasBeenSet =
true;
311 m_subnetIds = std::forward<SubnetIdsT>(value);
313 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
318 template <
typename SubnetIdsT = Aws::String>
320 m_subnetIdsHasBeenSet =
true;
321 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
335 m_snapshotRetentionLimitHasBeenSet =
true;
336 m_snapshotRetentionLimit = value;
352 template <
typename DailySnapshotTimeT = Aws::String>
354 m_dailySnapshotTimeHasBeenSet =
true;
355 m_dailySnapshotTime = std::forward<DailySnapshotTimeT>(value);
357 template <
typename DailySnapshotTimeT = Aws::String>
375 m_networkTypeHasBeenSet =
true;
376 m_networkType = value;
398 CacheUsageLimits m_cacheUsageLimits;
406 Endpoint m_readerEndpoint;
414 int m_snapshotRetentionLimit{0};
419 bool m_serverlessCacheNameHasBeenSet =
false;
420 bool m_descriptionHasBeenSet =
false;
421 bool m_createTimeHasBeenSet =
false;
422 bool m_statusHasBeenSet =
false;
423 bool m_engineHasBeenSet =
false;
424 bool m_majorEngineVersionHasBeenSet =
false;
425 bool m_fullEngineVersionHasBeenSet =
false;
426 bool m_cacheUsageLimitsHasBeenSet =
false;
427 bool m_kmsKeyIdHasBeenSet =
false;
428 bool m_securityGroupIdsHasBeenSet =
false;
429 bool m_endpointHasBeenSet =
false;
430 bool m_readerEndpointHasBeenSet =
false;
431 bool m_aRNHasBeenSet =
false;
432 bool m_userGroupIdHasBeenSet =
false;
433 bool m_subnetIdsHasBeenSet =
false;
434 bool m_snapshotRetentionLimitHasBeenSet =
false;
435 bool m_dailySnapshotTimeHasBeenSet =
false;
436 bool m_networkTypeHasBeenSet =
false;
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
void SetCacheUsageLimits(CacheUsageLimitsT &&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
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)
bool UserGroupIdHasBeenSet() const
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)
const Aws::String & GetFullEngineVersion() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetKmsKeyId() const
void SetStatus(StatusT &&value)
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
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