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/NodeGroupConfiguration.h>
21namespace ElastiCache {
45 template <
typename CacheClusterIdT = Aws::String>
47 m_cacheClusterIdHasBeenSet =
true;
48 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
50 template <
typename CacheClusterIdT = Aws::String>
63 template <
typename NodeGroupIdT = Aws::String>
65 m_nodeGroupIdHasBeenSet =
true;
66 m_nodeGroupId = std::forward<NodeGroupIdT>(value);
68 template <
typename NodeGroupIdT = Aws::String>
81 template <
typename CacheNodeIdT = Aws::String>
83 m_cacheNodeIdHasBeenSet =
true;
84 m_cacheNodeId = std::forward<CacheNodeIdT>(value);
86 template <
typename CacheNodeIdT = Aws::String>
99 template <
typename NodeGroupConfigurationT = NodeGroupConfiguration>
101 m_nodeGroupConfigurationHasBeenSet =
true;
102 m_nodeGroupConfiguration = std::forward<NodeGroupConfigurationT>(value);
104 template <
typename NodeGroupConfigurationT = NodeGroupConfiguration>
117 template <
typename CacheSizeT = Aws::String>
119 m_cacheSizeHasBeenSet =
true;
120 m_cacheSize = std::forward<CacheSizeT>(value);
122 template <
typename CacheSizeT = Aws::String>
135 template <
typename CacheNodeCreateTimeT = Aws::Utils::DateTime>
137 m_cacheNodeCreateTimeHasBeenSet =
true;
138 m_cacheNodeCreateTime = std::forward<CacheNodeCreateTimeT>(value);
140 template <
typename CacheNodeCreateTimeT = Aws::Utils::DateTime>
154 template <
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
156 m_snapshotCreateTimeHasBeenSet =
true;
157 m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value);
159 template <
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
179 bool m_cacheClusterIdHasBeenSet =
false;
180 bool m_nodeGroupIdHasBeenSet =
false;
181 bool m_cacheNodeIdHasBeenSet =
false;
182 bool m_nodeGroupConfigurationHasBeenSet =
false;
183 bool m_cacheSizeHasBeenSet =
false;
184 bool m_cacheNodeCreateTimeHasBeenSet =
false;
185 bool m_snapshotCreateTimeHasBeenSet =
false;
NodeSnapshot & WithCacheSize(CacheSizeT &&value)
bool SnapshotCreateTimeHasBeenSet() const
bool CacheClusterIdHasBeenSet() const
AWS_ELASTICACHE_API NodeSnapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const NodeGroupConfiguration & GetNodeGroupConfiguration() const
AWS_ELASTICACHE_API NodeSnapshot()=default
bool NodeGroupConfigurationHasBeenSet() const
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
void SetCacheSize(CacheSizeT &&value)
void SetNodeGroupId(NodeGroupIdT &&value)
bool NodeGroupIdHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NodeSnapshot & WithCacheNodeId(CacheNodeIdT &&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
void SetCacheNodeId(CacheNodeIdT &&value)
NodeSnapshot & WithCacheNodeCreateTime(CacheNodeCreateTimeT &&value)
bool CacheNodeCreateTimeHasBeenSet() const
void SetCacheNodeCreateTime(CacheNodeCreateTimeT &&value)
const Aws::Utils::DateTime & GetCacheNodeCreateTime() const
bool CacheSizeHasBeenSet() const
void SetCacheClusterId(CacheClusterIdT &&value)
NodeSnapshot & WithNodeGroupConfiguration(NodeGroupConfigurationT &&value)
NodeSnapshot & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
const Aws::String & GetNodeGroupId() const
const Aws::String & GetCacheNodeId() const
void SetNodeGroupConfiguration(NodeGroupConfigurationT &&value)
NodeSnapshot & WithCacheClusterId(CacheClusterIdT &&value)
NodeSnapshot & WithNodeGroupId(NodeGroupIdT &&value)
bool CacheNodeIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream