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/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/ServerlessCacheConfiguration.h>
21namespace ElastiCache {
46 template <
typename ServerlessCacheSnapshotNameT = Aws::String>
48 m_serverlessCacheSnapshotNameHasBeenSet =
true;
49 m_serverlessCacheSnapshotName = std::forward<ServerlessCacheSnapshotNameT>(value);
51 template <
typename ServerlessCacheSnapshotNameT = Aws::String>
65 template <
typename ARNT = Aws::String>
67 m_aRNHasBeenSet =
true;
68 m_aRN = std::forward<ARNT>(value);
70 template <
typename ARNT = Aws::String>
72 SetARN(std::forward<ARNT>(value));
85 template <
typename KmsKeyIdT = Aws::String>
87 m_kmsKeyIdHasBeenSet =
true;
88 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
90 template <
typename KmsKeyIdT = Aws::String>
104 template <
typename SnapshotTypeT = Aws::String>
106 m_snapshotTypeHasBeenSet =
true;
107 m_snapshotType = std::forward<SnapshotTypeT>(value);
109 template <
typename SnapshotTypeT = Aws::String>
123 template <
typename StatusT = Aws::String>
125 m_statusHasBeenSet =
true;
126 m_status = std::forward<StatusT>(value);
128 template <
typename StatusT = Aws::String>
143 template <
typename CreateTimeT = Aws::Utils::DateTime>
145 m_createTimeHasBeenSet =
true;
146 m_createTime = std::forward<CreateTimeT>(value);
148 template <
typename CreateTimeT = Aws::Utils::DateTime>
162 template <
typename ExpiryTimeT = Aws::Utils::DateTime>
164 m_expiryTimeHasBeenSet =
true;
165 m_expiryTime = std::forward<ExpiryTimeT>(value);
167 template <
typename ExpiryTimeT = Aws::Utils::DateTime>
181 template <
typename BytesUsedForCacheT = Aws::String>
183 m_bytesUsedForCacheHasBeenSet =
true;
184 m_bytesUsedForCache = std::forward<BytesUsedForCacheT>(value);
186 template <
typename BytesUsedForCacheT = Aws::String>
200 template <
typename ServerlessCacheConfigurationT = ServerlessCacheConfiguration>
202 m_serverlessCacheConfigurationHasBeenSet =
true;
203 m_serverlessCacheConfiguration = std::forward<ServerlessCacheConfigurationT>(value);
205 template <
typename ServerlessCacheConfigurationT = ServerlessCacheConfiguration>
228 ServerlessCacheConfiguration m_serverlessCacheConfiguration;
229 bool m_serverlessCacheSnapshotNameHasBeenSet =
false;
230 bool m_aRNHasBeenSet =
false;
231 bool m_kmsKeyIdHasBeenSet =
false;
232 bool m_snapshotTypeHasBeenSet =
false;
233 bool m_statusHasBeenSet =
false;
234 bool m_createTimeHasBeenSet =
false;
235 bool m_expiryTimeHasBeenSet =
false;
236 bool m_bytesUsedForCacheHasBeenSet =
false;
237 bool m_serverlessCacheConfigurationHasBeenSet =
false;
void SetARN(ARNT &&value)
bool ExpiryTimeHasBeenSet() const
AWS_ELASTICACHE_API ServerlessCacheSnapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetBytesUsedForCache() const
ServerlessCacheSnapshot & WithARN(ARNT &&value)
ServerlessCacheSnapshot & WithSnapshotType(SnapshotTypeT &&value)
void SetSnapshotType(SnapshotTypeT &&value)
void SetServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT &&value)
AWS_ELASTICACHE_API ServerlessCacheSnapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
ServerlessCacheSnapshot & WithServerlessCacheConfiguration(ServerlessCacheConfigurationT &&value)
bool ServerlessCacheSnapshotNameHasBeenSet() const
const ServerlessCacheConfiguration & GetServerlessCacheConfiguration() const
const Aws::String & GetARN() const
const Aws::String & GetKmsKeyId() const
bool ServerlessCacheConfigurationHasBeenSet() const
bool StatusHasBeenSet() const
bool CreateTimeHasBeenSet() const
ServerlessCacheSnapshot & WithStatus(StatusT &&value)
ServerlessCacheSnapshot & WithKmsKeyId(KmsKeyIdT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
ServerlessCacheSnapshot & WithCreateTime(CreateTimeT &&value)
ServerlessCacheSnapshot & WithServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT &&value)
bool KmsKeyIdHasBeenSet() const
bool SnapshotTypeHasBeenSet() const
void SetBytesUsedForCache(BytesUsedForCacheT &&value)
void SetStatus(StatusT &&value)
ServerlessCacheSnapshot & WithBytesUsedForCache(BytesUsedForCacheT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
bool BytesUsedForCacheHasBeenSet() const
const Aws::String & GetStatus() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::DateTime & GetExpiryTime() const
AWS_ELASTICACHE_API ServerlessCacheSnapshot()=default
const Aws::String & GetSnapshotType() const
ServerlessCacheSnapshot & WithExpiryTime(ExpiryTimeT &&value)
void SetExpiryTime(ExpiryTimeT &&value)
bool ARNHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetServerlessCacheConfiguration(ServerlessCacheConfigurationT &&value)
const Aws::String & GetServerlessCacheSnapshotName() const
void SetCreateTime(CreateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream