AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CacheNode.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace ElastiCache
24{
25namespace Model
26{
27
107 {
108 public:
109 AWS_ELASTICACHE_API CacheNode();
110 AWS_ELASTICACHE_API CacheNode(const Aws::Utils::Xml::XmlNode& xmlNode);
111 AWS_ELASTICACHE_API CacheNode& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
112
113 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
114 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
115
116
118
123 inline const Aws::String& GetCacheNodeId() const{ return m_cacheNodeId; }
124 inline bool CacheNodeIdHasBeenSet() const { return m_cacheNodeIdHasBeenSet; }
125 inline void SetCacheNodeId(const Aws::String& value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId = value; }
126 inline void SetCacheNodeId(Aws::String&& value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId = std::move(value); }
127 inline void SetCacheNodeId(const char* value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId.assign(value); }
128 inline CacheNode& WithCacheNodeId(const Aws::String& value) { SetCacheNodeId(value); return *this;}
129 inline CacheNode& WithCacheNodeId(Aws::String&& value) { SetCacheNodeId(std::move(value)); return *this;}
130 inline CacheNode& WithCacheNodeId(const char* value) { SetCacheNodeId(value); return *this;}
132
134
139 inline const Aws::String& GetCacheNodeStatus() const{ return m_cacheNodeStatus; }
140 inline bool CacheNodeStatusHasBeenSet() const { return m_cacheNodeStatusHasBeenSet; }
141 inline void SetCacheNodeStatus(const Aws::String& value) { m_cacheNodeStatusHasBeenSet = true; m_cacheNodeStatus = value; }
142 inline void SetCacheNodeStatus(Aws::String&& value) { m_cacheNodeStatusHasBeenSet = true; m_cacheNodeStatus = std::move(value); }
143 inline void SetCacheNodeStatus(const char* value) { m_cacheNodeStatusHasBeenSet = true; m_cacheNodeStatus.assign(value); }
144 inline CacheNode& WithCacheNodeStatus(const Aws::String& value) { SetCacheNodeStatus(value); return *this;}
145 inline CacheNode& WithCacheNodeStatus(Aws::String&& value) { SetCacheNodeStatus(std::move(value)); return *this;}
146 inline CacheNode& WithCacheNodeStatus(const char* value) { SetCacheNodeStatus(value); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetCacheNodeCreateTime() const{ return m_cacheNodeCreateTime; }
154 inline bool CacheNodeCreateTimeHasBeenSet() const { return m_cacheNodeCreateTimeHasBeenSet; }
155 inline void SetCacheNodeCreateTime(const Aws::Utils::DateTime& value) { m_cacheNodeCreateTimeHasBeenSet = true; m_cacheNodeCreateTime = value; }
156 inline void SetCacheNodeCreateTime(Aws::Utils::DateTime&& value) { m_cacheNodeCreateTimeHasBeenSet = true; m_cacheNodeCreateTime = std::move(value); }
158 inline CacheNode& WithCacheNodeCreateTime(Aws::Utils::DateTime&& value) { SetCacheNodeCreateTime(std::move(value)); return *this;}
160
162
165 inline const Endpoint& GetEndpoint() const{ return m_endpoint; }
166 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
167 inline void SetEndpoint(const Endpoint& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
168 inline void SetEndpoint(Endpoint&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
169 inline CacheNode& WithEndpoint(const Endpoint& value) { SetEndpoint(value); return *this;}
170 inline CacheNode& WithEndpoint(Endpoint&& value) { SetEndpoint(std::move(value)); return *this;}
172
174
177 inline const Aws::String& GetParameterGroupStatus() const{ return m_parameterGroupStatus; }
178 inline bool ParameterGroupStatusHasBeenSet() const { return m_parameterGroupStatusHasBeenSet; }
179 inline void SetParameterGroupStatus(const Aws::String& value) { m_parameterGroupStatusHasBeenSet = true; m_parameterGroupStatus = value; }
180 inline void SetParameterGroupStatus(Aws::String&& value) { m_parameterGroupStatusHasBeenSet = true; m_parameterGroupStatus = std::move(value); }
181 inline void SetParameterGroupStatus(const char* value) { m_parameterGroupStatusHasBeenSet = true; m_parameterGroupStatus.assign(value); }
182 inline CacheNode& WithParameterGroupStatus(const Aws::String& value) { SetParameterGroupStatus(value); return *this;}
183 inline CacheNode& WithParameterGroupStatus(Aws::String&& value) { SetParameterGroupStatus(std::move(value)); return *this;}
184 inline CacheNode& WithParameterGroupStatus(const char* value) { SetParameterGroupStatus(value); return *this;}
186
188
192 inline const Aws::String& GetSourceCacheNodeId() const{ return m_sourceCacheNodeId; }
193 inline bool SourceCacheNodeIdHasBeenSet() const { return m_sourceCacheNodeIdHasBeenSet; }
194 inline void SetSourceCacheNodeId(const Aws::String& value) { m_sourceCacheNodeIdHasBeenSet = true; m_sourceCacheNodeId = value; }
195 inline void SetSourceCacheNodeId(Aws::String&& value) { m_sourceCacheNodeIdHasBeenSet = true; m_sourceCacheNodeId = std::move(value); }
196 inline void SetSourceCacheNodeId(const char* value) { m_sourceCacheNodeIdHasBeenSet = true; m_sourceCacheNodeId.assign(value); }
197 inline CacheNode& WithSourceCacheNodeId(const Aws::String& value) { SetSourceCacheNodeId(value); return *this;}
198 inline CacheNode& WithSourceCacheNodeId(Aws::String&& value) { SetSourceCacheNodeId(std::move(value)); return *this;}
199 inline CacheNode& WithSourceCacheNodeId(const char* value) { SetSourceCacheNodeId(value); return *this;}
201
203
206 inline const Aws::String& GetCustomerAvailabilityZone() const{ return m_customerAvailabilityZone; }
207 inline bool CustomerAvailabilityZoneHasBeenSet() const { return m_customerAvailabilityZoneHasBeenSet; }
208 inline void SetCustomerAvailabilityZone(const Aws::String& value) { m_customerAvailabilityZoneHasBeenSet = true; m_customerAvailabilityZone = value; }
209 inline void SetCustomerAvailabilityZone(Aws::String&& value) { m_customerAvailabilityZoneHasBeenSet = true; m_customerAvailabilityZone = std::move(value); }
210 inline void SetCustomerAvailabilityZone(const char* value) { m_customerAvailabilityZoneHasBeenSet = true; m_customerAvailabilityZone.assign(value); }
212 inline CacheNode& WithCustomerAvailabilityZone(Aws::String&& value) { SetCustomerAvailabilityZone(std::move(value)); return *this;}
213 inline CacheNode& WithCustomerAvailabilityZone(const char* value) { SetCustomerAvailabilityZone(value); return *this;}
215
217
220 inline const Aws::String& GetCustomerOutpostArn() const{ return m_customerOutpostArn; }
221 inline bool CustomerOutpostArnHasBeenSet() const { return m_customerOutpostArnHasBeenSet; }
222 inline void SetCustomerOutpostArn(const Aws::String& value) { m_customerOutpostArnHasBeenSet = true; m_customerOutpostArn = value; }
223 inline void SetCustomerOutpostArn(Aws::String&& value) { m_customerOutpostArnHasBeenSet = true; m_customerOutpostArn = std::move(value); }
224 inline void SetCustomerOutpostArn(const char* value) { m_customerOutpostArnHasBeenSet = true; m_customerOutpostArn.assign(value); }
225 inline CacheNode& WithCustomerOutpostArn(const Aws::String& value) { SetCustomerOutpostArn(value); return *this;}
226 inline CacheNode& WithCustomerOutpostArn(Aws::String&& value) { SetCustomerOutpostArn(std::move(value)); return *this;}
227 inline CacheNode& WithCustomerOutpostArn(const char* value) { SetCustomerOutpostArn(value); return *this;}
229 private:
230
231 Aws::String m_cacheNodeId;
232 bool m_cacheNodeIdHasBeenSet = false;
233
234 Aws::String m_cacheNodeStatus;
235 bool m_cacheNodeStatusHasBeenSet = false;
236
237 Aws::Utils::DateTime m_cacheNodeCreateTime;
238 bool m_cacheNodeCreateTimeHasBeenSet = false;
239
240 Endpoint m_endpoint;
241 bool m_endpointHasBeenSet = false;
242
243 Aws::String m_parameterGroupStatus;
244 bool m_parameterGroupStatusHasBeenSet = false;
245
246 Aws::String m_sourceCacheNodeId;
247 bool m_sourceCacheNodeIdHasBeenSet = false;
248
249 Aws::String m_customerAvailabilityZone;
250 bool m_customerAvailabilityZoneHasBeenSet = false;
251
252 Aws::String m_customerOutpostArn;
253 bool m_customerOutpostArnHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace ElastiCache
258} // namespace Aws
void SetCacheNodeStatus(Aws::String &&value)
Definition CacheNode.h:142
void SetCacheNodeStatus(const char *value)
Definition CacheNode.h:143
CacheNode & WithCacheNodeId(const char *value)
Definition CacheNode.h:130
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CacheNode & WithParameterGroupStatus(Aws::String &&value)
Definition CacheNode.h:183
bool CustomerAvailabilityZoneHasBeenSet() const
Definition CacheNode.h:207
CacheNode & WithCacheNodeStatus(const Aws::String &value)
Definition CacheNode.h:144
CacheNode & WithEndpoint(const Endpoint &value)
Definition CacheNode.h:169
CacheNode & WithCustomerOutpostArn(Aws::String &&value)
Definition CacheNode.h:226
const Aws::String & GetCustomerOutpostArn() const
Definition CacheNode.h:220
void SetCustomerAvailabilityZone(const char *value)
Definition CacheNode.h:210
AWS_ELASTICACHE_API CacheNode & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEndpoint(Endpoint &&value)
Definition CacheNode.h:168
AWS_ELASTICACHE_API CacheNode()
const Aws::String & GetParameterGroupStatus() const
Definition CacheNode.h:177
CacheNode & WithCustomerAvailabilityZone(Aws::String &&value)
Definition CacheNode.h:212
const Endpoint & GetEndpoint() const
Definition CacheNode.h:165
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCustomerOutpostArn(const Aws::String &value)
Definition CacheNode.h:222
void SetCacheNodeId(const Aws::String &value)
Definition CacheNode.h:125
CacheNode & WithCacheNodeStatus(const char *value)
Definition CacheNode.h:146
void SetSourceCacheNodeId(const Aws::String &value)
Definition CacheNode.h:194
CacheNode & WithParameterGroupStatus(const char *value)
Definition CacheNode.h:184
void SetCustomerAvailabilityZone(const Aws::String &value)
Definition CacheNode.h:208
CacheNode & WithSourceCacheNodeId(const char *value)
Definition CacheNode.h:199
void SetCustomerOutpostArn(Aws::String &&value)
Definition CacheNode.h:223
CacheNode & WithCacheNodeId(const Aws::String &value)
Definition CacheNode.h:128
void SetCustomerAvailabilityZone(Aws::String &&value)
Definition CacheNode.h:209
void SetParameterGroupStatus(const char *value)
Definition CacheNode.h:181
const Aws::String & GetCacheNodeStatus() const
Definition CacheNode.h:139
const Aws::String & GetSourceCacheNodeId() const
Definition CacheNode.h:192
CacheNode & WithCustomerOutpostArn(const Aws::String &value)
Definition CacheNode.h:225
CacheNode & WithSourceCacheNodeId(const Aws::String &value)
Definition CacheNode.h:197
void SetCacheNodeCreateTime(Aws::Utils::DateTime &&value)
Definition CacheNode.h:156
bool ParameterGroupStatusHasBeenSet() const
Definition CacheNode.h:178
CacheNode & WithCacheNodeStatus(Aws::String &&value)
Definition CacheNode.h:145
const Aws::String & GetCustomerAvailabilityZone() const
Definition CacheNode.h:206
CacheNode & WithCacheNodeCreateTime(const Aws::Utils::DateTime &value)
Definition CacheNode.h:157
CacheNode & WithEndpoint(Endpoint &&value)
Definition CacheNode.h:170
void SetCustomerOutpostArn(const char *value)
Definition CacheNode.h:224
AWS_ELASTICACHE_API CacheNode(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSourceCacheNodeId(Aws::String &&value)
Definition CacheNode.h:195
CacheNode & WithParameterGroupStatus(const Aws::String &value)
Definition CacheNode.h:182
CacheNode & WithSourceCacheNodeId(Aws::String &&value)
Definition CacheNode.h:198
CacheNode & WithCacheNodeId(Aws::String &&value)
Definition CacheNode.h:129
const Aws::Utils::DateTime & GetCacheNodeCreateTime() const
Definition CacheNode.h:153
void SetCacheNodeId(Aws::String &&value)
Definition CacheNode.h:126
void SetCacheNodeCreateTime(const Aws::Utils::DateTime &value)
Definition CacheNode.h:155
void SetParameterGroupStatus(const Aws::String &value)
Definition CacheNode.h:179
void SetCacheNodeId(const char *value)
Definition CacheNode.h:127
void SetEndpoint(const Endpoint &value)
Definition CacheNode.h:167
void SetCacheNodeStatus(const Aws::String &value)
Definition CacheNode.h:141
CacheNode & WithCustomerAvailabilityZone(const Aws::String &value)
Definition CacheNode.h:211
CacheNode & WithCustomerOutpostArn(const char *value)
Definition CacheNode.h:227
CacheNode & WithCustomerAvailabilityZone(const char *value)
Definition CacheNode.h:213
void SetSourceCacheNodeId(const char *value)
Definition CacheNode.h:196
CacheNode & WithCacheNodeCreateTime(Aws::Utils::DateTime &&value)
Definition CacheNode.h:158
void SetParameterGroupStatus(Aws::String &&value)
Definition CacheNode.h:180
const Aws::String & GetCacheNodeId() const
Definition CacheNode.h:123
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream