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/elasticache/model/NodeGroupConfiguration.h>
11#include <aws/core/utils/DateTime.h>
53 inline void SetCacheClusterId(
const char* value) { m_cacheClusterIdHasBeenSet =
true; m_cacheClusterId.assign(value); }
67 inline void SetNodeGroupId(
const char* value) { m_nodeGroupIdHasBeenSet =
true; m_nodeGroupId.assign(value); }
81 inline void SetCacheNodeId(
const char* value) { m_cacheNodeIdHasBeenSet =
true; m_cacheNodeId.assign(value); }
107 inline void SetCacheSize(
const char* value) { m_cacheSizeHasBeenSet =
true; m_cacheSize.assign(value); }
140 bool m_cacheClusterIdHasBeenSet =
false;
143 bool m_nodeGroupIdHasBeenSet =
false;
146 bool m_cacheNodeIdHasBeenSet =
false;
149 bool m_nodeGroupConfigurationHasBeenSet =
false;
152 bool m_cacheSizeHasBeenSet =
false;
155 bool m_cacheNodeCreateTimeHasBeenSet =
false;
158 bool m_snapshotCreateTimeHasBeenSet =
false;
NodeSnapshot & WithCacheClusterId(const Aws::String &value)
void SetCacheSize(const Aws::String &value)
NodeSnapshot & WithCacheNodeCreateTime(Aws::Utils::DateTime &&value)
bool SnapshotCreateTimeHasBeenSet() const
void SetSnapshotCreateTime(const Aws::Utils::DateTime &value)
void SetNodeGroupId(const Aws::String &value)
NodeSnapshot & WithNodeGroupConfiguration(const NodeGroupConfiguration &value)
bool CacheClusterIdHasBeenSet() const
AWS_ELASTICACHE_API NodeSnapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const NodeGroupConfiguration & GetNodeGroupConfiguration() const
void SetCacheSize(Aws::String &&value)
NodeSnapshot & WithCacheNodeCreateTime(const Aws::Utils::DateTime &value)
void SetCacheClusterId(const char *value)
bool NodeGroupConfigurationHasBeenSet() const
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
void SetNodeGroupId(Aws::String &&value)
void SetNodeGroupId(const char *value)
NodeSnapshot & WithNodeGroupConfiguration(NodeGroupConfiguration &&value)
void SetSnapshotCreateTime(Aws::Utils::DateTime &&value)
NodeSnapshot & WithCacheSize(const char *value)
NodeSnapshot & WithCacheNodeId(const char *value)
NodeSnapshot & WithNodeGroupId(const char *value)
void SetNodeGroupConfiguration(const NodeGroupConfiguration &value)
NodeSnapshot & WithNodeGroupId(Aws::String &&value)
bool NodeGroupIdHasBeenSet() const
void SetCacheSize(const char *value)
NodeSnapshot & WithCacheClusterId(Aws::String &&value)
NodeSnapshot & WithCacheNodeId(Aws::String &&value)
NodeSnapshot & WithCacheSize(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCacheNodeId(const Aws::String &value)
void SetCacheNodeCreateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetCacheClusterId() const
AWS_ELASTICACHE_API NodeSnapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCacheSize() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool CacheNodeCreateTimeHasBeenSet() const
void SetCacheClusterId(Aws::String &&value)
NodeSnapshot & WithNodeGroupId(const Aws::String &value)
NodeSnapshot & WithSnapshotCreateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCacheNodeCreateTime() const
NodeSnapshot & WithCacheSize(const Aws::String &value)
bool CacheSizeHasBeenSet() const
const Aws::String & GetNodeGroupId() const
void SetCacheClusterId(const Aws::String &value)
void SetCacheNodeId(Aws::String &&value)
NodeSnapshot & WithSnapshotCreateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetCacheNodeId() const
void SetCacheNodeId(const char *value)
NodeSnapshot & WithCacheNodeId(const Aws::String &value)
void SetCacheNodeCreateTime(Aws::Utils::DateTime &&value)
bool CacheNodeIdHasBeenSet() const
void SetNodeGroupConfiguration(NodeGroupConfiguration &&value)
AWS_ELASTICACHE_API NodeSnapshot()
NodeSnapshot & WithCacheClusterId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream