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>
54 inline void SetServerlessCacheSnapshotName(
const char* value) { m_serverlessCacheSnapshotNameHasBeenSet =
true; m_serverlessCacheSnapshotName.assign(value); }
68 inline void SetARN(
Aws::String&& value) { m_aRNHasBeenSet =
true; m_aRN = std::move(value); }
69 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
85 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
100 inline void SetSnapshotType(
const char* value) { m_snapshotTypeHasBeenSet =
true; m_snapshotType.assign(value); }
115 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
157 inline void SetBytesUsedForCache(
const char* value) { m_bytesUsedForCacheHasBeenSet =
true; m_bytesUsedForCache.assign(value); }
178 bool m_serverlessCacheSnapshotNameHasBeenSet =
false;
181 bool m_aRNHasBeenSet =
false;
184 bool m_kmsKeyIdHasBeenSet =
false;
187 bool m_snapshotTypeHasBeenSet =
false;
190 bool m_statusHasBeenSet =
false;
193 bool m_createTimeHasBeenSet =
false;
196 bool m_expiryTimeHasBeenSet =
false;
199 bool m_bytesUsedForCacheHasBeenSet =
false;
202 bool m_serverlessCacheConfigurationHasBeenSet =
false;
bool ExpiryTimeHasBeenSet() const
ServerlessCacheSnapshot & WithExpiryTime(const Aws::Utils::DateTime &value)
AWS_ELASTICACHE_API ServerlessCacheSnapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBytesUsedForCache(const Aws::String &value)
const Aws::String & GetBytesUsedForCache() const
void SetServerlessCacheSnapshotName(const char *value)
ServerlessCacheSnapshot & WithServerlessCacheSnapshotName(Aws::String &&value)
void SetExpiryTime(Aws::Utils::DateTime &&value)
void SetKmsKeyId(const Aws::String &value)
void SetKmsKeyId(Aws::String &&value)
ServerlessCacheSnapshot & WithKmsKeyId(const char *value)
ServerlessCacheSnapshot & WithKmsKeyId(Aws::String &&value)
void SetExpiryTime(const Aws::Utils::DateTime &value)
void SetStatus(const char *value)
void SetCreateTime(const Aws::Utils::DateTime &value)
AWS_ELASTICACHE_API ServerlessCacheSnapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
ServerlessCacheSnapshot & WithServerlessCacheSnapshotName(const Aws::String &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetBytesUsedForCache(Aws::String &&value)
ServerlessCacheSnapshot & WithBytesUsedForCache(const Aws::String &value)
void SetSnapshotType(const char *value)
ServerlessCacheSnapshot & WithARN(const char *value)
ServerlessCacheSnapshot & WithSnapshotType(const Aws::String &value)
bool ServerlessCacheSnapshotNameHasBeenSet() const
void SetKmsKeyId(const char *value)
const ServerlessCacheConfiguration & GetServerlessCacheConfiguration() const
const Aws::String & GetARN() const
const Aws::String & GetKmsKeyId() const
void SetServerlessCacheSnapshotName(Aws::String &&value)
bool ServerlessCacheConfigurationHasBeenSet() const
void SetBytesUsedForCache(const char *value)
bool StatusHasBeenSet() const
bool CreateTimeHasBeenSet() const
void SetServerlessCacheConfiguration(const ServerlessCacheConfiguration &value)
ServerlessCacheSnapshot & WithServerlessCacheConfiguration(ServerlessCacheConfiguration &&value)
ServerlessCacheSnapshot & WithExpiryTime(Aws::Utils::DateTime &&value)
ServerlessCacheSnapshot & WithStatus(Aws::String &&value)
ServerlessCacheSnapshot & WithSnapshotType(const char *value)
bool KmsKeyIdHasBeenSet() const
bool SnapshotTypeHasBeenSet() const
AWS_ELASTICACHE_API ServerlessCacheSnapshot()
ServerlessCacheSnapshot & WithCreateTime(const Aws::Utils::DateTime &value)
ServerlessCacheSnapshot & WithBytesUsedForCache(const char *value)
ServerlessCacheSnapshot & WithARN(Aws::String &&value)
void SetStatus(Aws::String &&value)
const Aws::Utils::DateTime & GetCreateTime() const
bool BytesUsedForCacheHasBeenSet() const
void SetServerlessCacheConfiguration(ServerlessCacheConfiguration &&value)
ServerlessCacheSnapshot & WithBytesUsedForCache(Aws::String &&value)
ServerlessCacheSnapshot & WithSnapshotType(Aws::String &&value)
void SetARN(const char *value)
const Aws::String & GetStatus() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::DateTime & GetExpiryTime() const
ServerlessCacheSnapshot & WithStatus(const char *value)
const Aws::String & GetSnapshotType() const
bool ARNHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ServerlessCacheSnapshot & WithARN(const Aws::String &value)
void SetSnapshotType(Aws::String &&value)
ServerlessCacheSnapshot & WithStatus(const Aws::String &value)
void SetARN(const Aws::String &value)
ServerlessCacheSnapshot & WithServerlessCacheConfiguration(const ServerlessCacheConfiguration &value)
void SetStatus(const Aws::String &value)
ServerlessCacheSnapshot & WithCreateTime(Aws::Utils::DateTime &&value)
ServerlessCacheSnapshot & WithServerlessCacheSnapshotName(const char *value)
ServerlessCacheSnapshot & WithKmsKeyId(const Aws::String &value)
void SetServerlessCacheSnapshotName(const Aws::String &value)
const Aws::String & GetServerlessCacheSnapshotName() const
void SetSnapshotType(const Aws::String &value)
void SetARN(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream