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>
51 template<
typename CacheClusterIdT = Aws::String>
52 void SetCacheClusterId(CacheClusterIdT&& value) { m_cacheClusterIdHasBeenSet =
true; m_cacheClusterId = std::forward<CacheClusterIdT>(value); }
53 template<
typename CacheClusterIdT = Aws::String>
63 template<
typename NodeGroupIdT = Aws::String>
64 void SetNodeGroupId(NodeGroupIdT&& value) { m_nodeGroupIdHasBeenSet =
true; m_nodeGroupId = std::forward<NodeGroupIdT>(value); }
65 template<
typename NodeGroupIdT = Aws::String>
75 template<
typename CacheNodeIdT = Aws::String>
76 void SetCacheNodeId(CacheNodeIdT&& value) { m_cacheNodeIdHasBeenSet =
true; m_cacheNodeId = std::forward<CacheNodeIdT>(value); }
77 template<
typename CacheNodeIdT = Aws::String>
87 template<
typename NodeGroupConfigurationT = NodeGroupConfiguration>
88 void SetNodeGroupConfiguration(NodeGroupConfigurationT&& value) { m_nodeGroupConfigurationHasBeenSet =
true; m_nodeGroupConfiguration = std::forward<NodeGroupConfigurationT>(value); }
89 template<
typename NodeGroupConfigurationT = NodeGroupConfiguration>
99 template<
typename CacheSizeT = Aws::String>
100 void SetCacheSize(CacheSizeT&& value) { m_cacheSizeHasBeenSet =
true; m_cacheSize = std::forward<CacheSizeT>(value); }
101 template<
typename CacheSizeT = Aws::String>
111 template<
typename CacheNodeCreateTimeT = Aws::Utils::DateTime>
112 void SetCacheNodeCreateTime(CacheNodeCreateTimeT&& value) { m_cacheNodeCreateTimeHasBeenSet =
true; m_cacheNodeCreateTime = std::forward<CacheNodeCreateTimeT>(value); }
113 template<
typename CacheNodeCreateTimeT = Aws::Utils::DateTime>
124 template<
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
125 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet =
true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
126 template<
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
132 bool m_cacheClusterIdHasBeenSet =
false;
135 bool m_nodeGroupIdHasBeenSet =
false;
138 bool m_cacheNodeIdHasBeenSet =
false;
141 bool m_nodeGroupConfigurationHasBeenSet =
false;
144 bool m_cacheSizeHasBeenSet =
false;
147 bool m_cacheNodeCreateTimeHasBeenSet =
false;
150 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