7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/elasticache/model/ServerlessCacheConfiguration.h>
52 template<
typename ServerlessCacheSnapshotNameT = Aws::String>
53 void SetServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT&& value) { m_serverlessCacheSnapshotNameHasBeenSet =
true; m_serverlessCacheSnapshotName = std::forward<ServerlessCacheSnapshotNameT>(value); }
54 template<
typename ServerlessCacheSnapshotNameT = Aws::String>
65 template<
typename ARNT = Aws::String>
66 void SetARN(ARNT&& value) { m_aRNHasBeenSet =
true; m_aRN = std::forward<ARNT>(value); }
67 template<
typename ARNT = Aws::String>
79 template<
typename KmsKeyIdT = Aws::String>
80 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
81 template<
typename KmsKeyIdT = Aws::String>
92 template<
typename SnapshotTypeT = Aws::String>
93 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet =
true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
94 template<
typename SnapshotTypeT = Aws::String>
105 template<
typename StatusT = Aws::String>
106 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
107 template<
typename StatusT = Aws::String>
119 template<
typename CreateTimeT = Aws::Utils::DateTime>
120 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
121 template<
typename CreateTimeT = Aws::Utils::DateTime>
132 template<
typename ExpiryTimeT = Aws::Utils::DateTime>
133 void SetExpiryTime(ExpiryTimeT&& value) { m_expiryTimeHasBeenSet =
true; m_expiryTime = std::forward<ExpiryTimeT>(value); }
134 template<
typename ExpiryTimeT = Aws::Utils::DateTime>
145 template<
typename BytesUsedForCacheT = Aws::String>
146 void SetBytesUsedForCache(BytesUsedForCacheT&& value) { m_bytesUsedForCacheHasBeenSet =
true; m_bytesUsedForCache = std::forward<BytesUsedForCacheT>(value); }
147 template<
typename BytesUsedForCacheT = Aws::String>
158 template<
typename ServerlessCacheConfigurationT = ServerlessCacheConfiguration>
159 void SetServerlessCacheConfiguration(ServerlessCacheConfigurationT&& value) { m_serverlessCacheConfigurationHasBeenSet =
true; m_serverlessCacheConfiguration = std::forward<ServerlessCacheConfigurationT>(value); }
160 template<
typename ServerlessCacheConfigurationT = ServerlessCacheConfiguration>
166 bool m_serverlessCacheSnapshotNameHasBeenSet =
false;
169 bool m_aRNHasBeenSet =
false;
172 bool m_kmsKeyIdHasBeenSet =
false;
175 bool m_snapshotTypeHasBeenSet =
false;
178 bool m_statusHasBeenSet =
false;
181 bool m_createTimeHasBeenSet =
false;
184 bool m_expiryTimeHasBeenSet =
false;
187 bool m_bytesUsedForCacheHasBeenSet =
false;
189 ServerlessCacheConfiguration m_serverlessCacheConfiguration;
190 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