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>
23namespace ElastiCache {
46 template <
typename ServerlessCacheNameT = Aws::String>
48 m_serverlessCacheNameHasBeenSet =
true;
49 m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value);
51 template <
typename ServerlessCacheNameT = Aws::String>
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
82 template <
typename CreateTimeT = Aws::Utils::DateTime>
84 m_createTimeHasBeenSet =
true;
85 m_createTime = std::forward<CreateTimeT>(value);
87 template <
typename CreateTimeT = Aws::Utils::DateTime>
101 template <
typename StatusT = Aws::String>
103 m_statusHasBeenSet =
true;
104 m_status = std::forward<StatusT>(value);
106 template <
typename StatusT = Aws::String>
119 template <
typename EngineT = Aws::String>
121 m_engineHasBeenSet =
true;
122 m_engine = std::forward<EngineT>(value);
124 template <
typename EngineT = Aws::String>
137 template <
typename MajorEngineVersionT = Aws::String>
139 m_majorEngineVersionHasBeenSet =
true;
140 m_majorEngineVersion = std::forward<MajorEngineVersionT>(value);
142 template <
typename MajorEngineVersionT = Aws::String>
156 template <
typename FullEngineVersionT = Aws::String>
158 m_fullEngineVersionHasBeenSet =
true;
159 m_fullEngineVersion = std::forward<FullEngineVersionT>(value);
161 template <
typename FullEngineVersionT = Aws::String>
174 template <
typename CacheUsageLimitsT = CacheUsageLimits>
176 m_cacheUsageLimitsHasBeenSet =
true;
177 m_cacheUsageLimits = std::forward<CacheUsageLimitsT>(value);
179 template <
typename CacheUsageLimitsT = CacheUsageLimits>
193 template <
typename KmsKeyIdT = Aws::String>
195 m_kmsKeyIdHasBeenSet =
true;
196 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
198 template <
typename KmsKeyIdT = Aws::String>
211 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
213 m_securityGroupIdsHasBeenSet =
true;
214 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
216 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
221 template <
typename SecurityGroupIdsT = Aws::String>
223 m_securityGroupIdsHasBeenSet =
true;
224 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
233 template <
typename Endpo
intT = Endpo
int>
235 m_endpointHasBeenSet =
true;
236 m_endpoint = std::forward<EndpointT>(value);
238 template <
typename Endpo
intT = Endpo
int>
249 template <
typename ReaderEndpo
intT = Endpo
int>
251 m_readerEndpointHasBeenSet =
true;
252 m_readerEndpoint = std::forward<ReaderEndpointT>(value);
254 template <
typename ReaderEndpo
intT = Endpo
int>
267 template <
typename ARNT = Aws::String>
269 m_aRNHasBeenSet =
true;
270 m_aRN = std::forward<ARNT>(value);
272 template <
typename ARNT = Aws::String>
274 SetARN(std::forward<ARNT>(value));
286 template <
typename UserGroupIdT = Aws::String>
288 m_userGroupIdHasBeenSet =
true;
289 m_userGroupId = std::forward<UserGroupIdT>(value);
291 template <
typename UserGroupIdT = Aws::String>
307 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
309 m_subnetIdsHasBeenSet =
true;
310 m_subnetIds = std::forward<SubnetIdsT>(value);
312 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
317 template <
typename SubnetIdsT = Aws::String>
319 m_subnetIdsHasBeenSet =
true;
320 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
333 m_snapshotRetentionLimitHasBeenSet =
true;
334 m_snapshotRetentionLimit = value;
350 template <
typename DailySnapshotTimeT = Aws::String>
352 m_dailySnapshotTimeHasBeenSet =
true;
353 m_dailySnapshotTime = std::forward<DailySnapshotTimeT>(value);
355 template <
typename DailySnapshotTimeT = Aws::String>
376 CacheUsageLimits m_cacheUsageLimits;
384 Endpoint m_readerEndpoint;
392 int m_snapshotRetentionLimit{0};
395 bool m_serverlessCacheNameHasBeenSet =
false;
396 bool m_descriptionHasBeenSet =
false;
397 bool m_createTimeHasBeenSet =
false;
398 bool m_statusHasBeenSet =
false;
399 bool m_engineHasBeenSet =
false;
400 bool m_majorEngineVersionHasBeenSet =
false;
401 bool m_fullEngineVersionHasBeenSet =
false;
402 bool m_cacheUsageLimitsHasBeenSet =
false;
403 bool m_kmsKeyIdHasBeenSet =
false;
404 bool m_securityGroupIdsHasBeenSet =
false;
405 bool m_endpointHasBeenSet =
false;
406 bool m_readerEndpointHasBeenSet =
false;
407 bool m_aRNHasBeenSet =
false;
408 bool m_userGroupIdHasBeenSet =
false;
409 bool m_subnetIdsHasBeenSet =
false;
410 bool m_snapshotRetentionLimitHasBeenSet =
false;
411 bool m_dailySnapshotTimeHasBeenSet =
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)
ServerlessCache & WithKmsKeyId(KmsKeyIdT &&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
ServerlessCache & WithCacheUsageLimits(CacheUsageLimitsT &&value)
ServerlessCache & WithUserGroupId(UserGroupIdT &&value)
ServerlessCache & WithFullEngineVersion(FullEngineVersionT &&value)
bool UserGroupIdHasBeenSet() const
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