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/Endpoint.h>
125 template<
typename CacheNodeIdT = Aws::String>
126 void SetCacheNodeId(CacheNodeIdT&& value) { m_cacheNodeIdHasBeenSet =
true; m_cacheNodeId = std::forward<CacheNodeIdT>(value); }
127 template<
typename CacheNodeIdT = Aws::String>
139 template<
typename CacheNodeStatusT = Aws::String>
140 void SetCacheNodeStatus(CacheNodeStatusT&& value) { m_cacheNodeStatusHasBeenSet =
true; m_cacheNodeStatus = std::forward<CacheNodeStatusT>(value); }
141 template<
typename CacheNodeStatusT = Aws::String>
151 template<
typename CacheNodeCreateTimeT = Aws::Utils::DateTime>
152 void SetCacheNodeCreateTime(CacheNodeCreateTimeT&& value) { m_cacheNodeCreateTimeHasBeenSet =
true; m_cacheNodeCreateTime = std::forward<CacheNodeCreateTimeT>(value); }
153 template<
typename CacheNodeCreateTimeT = Aws::Utils::DateTime>
163 template<
typename Endpo
intT = Endpo
int>
164 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
165 template<
typename Endpo
intT = Endpo
int>
175 template<
typename ParameterGroupStatusT = Aws::String>
176 void SetParameterGroupStatus(ParameterGroupStatusT&& value) { m_parameterGroupStatusHasBeenSet =
true; m_parameterGroupStatus = std::forward<ParameterGroupStatusT>(value); }
177 template<
typename ParameterGroupStatusT = Aws::String>
188 template<
typename SourceCacheNodeIdT = Aws::String>
189 void SetSourceCacheNodeId(SourceCacheNodeIdT&& value) { m_sourceCacheNodeIdHasBeenSet =
true; m_sourceCacheNodeId = std::forward<SourceCacheNodeIdT>(value); }
190 template<
typename SourceCacheNodeIdT = Aws::String>
200 template<
typename CustomerAvailabilityZoneT = Aws::String>
201 void SetCustomerAvailabilityZone(CustomerAvailabilityZoneT&& value) { m_customerAvailabilityZoneHasBeenSet =
true; m_customerAvailabilityZone = std::forward<CustomerAvailabilityZoneT>(value); }
202 template<
typename CustomerAvailabilityZoneT = Aws::String>
212 template<
typename CustomerOutpostArnT = Aws::String>
213 void SetCustomerOutpostArn(CustomerOutpostArnT&& value) { m_customerOutpostArnHasBeenSet =
true; m_customerOutpostArn = std::forward<CustomerOutpostArnT>(value); }
214 template<
typename CustomerOutpostArnT = Aws::String>
220 bool m_cacheNodeIdHasBeenSet =
false;
223 bool m_cacheNodeStatusHasBeenSet =
false;
226 bool m_cacheNodeCreateTimeHasBeenSet =
false;
229 bool m_endpointHasBeenSet =
false;
232 bool m_parameterGroupStatusHasBeenSet =
false;
235 bool m_sourceCacheNodeIdHasBeenSet =
false;
238 bool m_customerAvailabilityZoneHasBeenSet =
false;
241 bool m_customerOutpostArnHasBeenSet =
false;
AWS_ELASTICACHE_API CacheNode()=default
CacheNode & WithEndpoint(EndpointT &&value)
CacheNode & WithParameterGroupStatus(ParameterGroupStatusT &&value)
CacheNode & WithCustomerOutpostArn(CustomerOutpostArnT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool CustomerAvailabilityZoneHasBeenSet() const
const Aws::String & GetCustomerOutpostArn() const
void SetCacheNodeId(CacheNodeIdT &&value)
bool CacheNodeIdHasBeenSet() const
void SetParameterGroupStatus(ParameterGroupStatusT &&value)
CacheNode & WithCustomerAvailabilityZone(CustomerAvailabilityZoneT &&value)
AWS_ELASTICACHE_API CacheNode & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetParameterGroupStatus() const
void SetSourceCacheNodeId(SourceCacheNodeIdT &&value)
const Endpoint & GetEndpoint() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCacheNodeStatus(CacheNodeStatusT &&value)
bool CacheNodeStatusHasBeenSet() const
const Aws::String & GetCacheNodeStatus() const
CacheNode & WithCacheNodeId(CacheNodeIdT &&value)
void SetCustomerOutpostArn(CustomerOutpostArnT &&value)
const Aws::String & GetSourceCacheNodeId() const
void SetEndpoint(EndpointT &&value)
CacheNode & WithSourceCacheNodeId(SourceCacheNodeIdT &&value)
bool CacheNodeCreateTimeHasBeenSet() const
bool CustomerOutpostArnHasBeenSet() const
void SetCustomerAvailabilityZone(CustomerAvailabilityZoneT &&value)
bool ParameterGroupStatusHasBeenSet() const
const Aws::String & GetCustomerAvailabilityZone() const
bool SourceCacheNodeIdHasBeenSet() const
AWS_ELASTICACHE_API CacheNode(const Aws::Utils::Xml::XmlNode &xmlNode)
bool EndpointHasBeenSet() const
void SetCacheNodeCreateTime(CacheNodeCreateTimeT &&value)
CacheNode & WithCacheNodeCreateTime(CacheNodeCreateTimeT &&value)
const Aws::Utils::DateTime & GetCacheNodeCreateTime() const
CacheNode & WithCacheNodeStatus(CacheNodeStatusT &&value)
const Aws::String & GetCacheNodeId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream