AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
NodeGroupMemberUpdateStatus.h
1
6#pragma once
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/NodeUpdateInitiatedBy.h>
12#include <aws/elasticache/model/NodeUpdateStatus.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Xml {
19class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElastiCache {
23namespace Model {
24
32 public:
33 AWS_ELASTICACHE_API NodeGroupMemberUpdateStatus() = default;
34 AWS_ELASTICACHE_API NodeGroupMemberUpdateStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
41
44 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
45 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
46 template <typename CacheClusterIdT = Aws::String>
47 void SetCacheClusterId(CacheClusterIdT&& value) {
48 m_cacheClusterIdHasBeenSet = true;
49 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
50 }
51 template <typename CacheClusterIdT = Aws::String>
53 SetCacheClusterId(std::forward<CacheClusterIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetCacheNodeId() const { return m_cacheNodeId; }
63 inline bool CacheNodeIdHasBeenSet() const { return m_cacheNodeIdHasBeenSet; }
64 template <typename CacheNodeIdT = Aws::String>
65 void SetCacheNodeId(CacheNodeIdT&& value) {
66 m_cacheNodeIdHasBeenSet = true;
67 m_cacheNodeId = std::forward<CacheNodeIdT>(value);
68 }
69 template <typename CacheNodeIdT = Aws::String>
71 SetCacheNodeId(std::forward<CacheNodeIdT>(value));
72 return *this;
73 }
75
77
80 inline NodeUpdateStatus GetNodeUpdateStatus() const { return m_nodeUpdateStatus; }
81 inline bool NodeUpdateStatusHasBeenSet() const { return m_nodeUpdateStatusHasBeenSet; }
83 m_nodeUpdateStatusHasBeenSet = true;
84 m_nodeUpdateStatus = value;
85 }
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetNodeDeletionDate() const { return m_nodeDeletionDate; }
97 inline bool NodeDeletionDateHasBeenSet() const { return m_nodeDeletionDateHasBeenSet; }
98 template <typename NodeDeletionDateT = Aws::Utils::DateTime>
99 void SetNodeDeletionDate(NodeDeletionDateT&& value) {
100 m_nodeDeletionDateHasBeenSet = true;
101 m_nodeDeletionDate = std::forward<NodeDeletionDateT>(value);
102 }
103 template <typename NodeDeletionDateT = Aws::Utils::DateTime>
105 SetNodeDeletionDate(std::forward<NodeDeletionDateT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetNodeUpdateStartDate() const { return m_nodeUpdateStartDate; }
115 inline bool NodeUpdateStartDateHasBeenSet() const { return m_nodeUpdateStartDateHasBeenSet; }
116 template <typename NodeUpdateStartDateT = Aws::Utils::DateTime>
117 void SetNodeUpdateStartDate(NodeUpdateStartDateT&& value) {
118 m_nodeUpdateStartDateHasBeenSet = true;
119 m_nodeUpdateStartDate = std::forward<NodeUpdateStartDateT>(value);
120 }
121 template <typename NodeUpdateStartDateT = Aws::Utils::DateTime>
123 SetNodeUpdateStartDate(std::forward<NodeUpdateStartDateT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Utils::DateTime& GetNodeUpdateEndDate() const { return m_nodeUpdateEndDate; }
133 inline bool NodeUpdateEndDateHasBeenSet() const { return m_nodeUpdateEndDateHasBeenSet; }
134 template <typename NodeUpdateEndDateT = Aws::Utils::DateTime>
135 void SetNodeUpdateEndDate(NodeUpdateEndDateT&& value) {
136 m_nodeUpdateEndDateHasBeenSet = true;
137 m_nodeUpdateEndDate = std::forward<NodeUpdateEndDateT>(value);
138 }
139 template <typename NodeUpdateEndDateT = Aws::Utils::DateTime>
141 SetNodeUpdateEndDate(std::forward<NodeUpdateEndDateT>(value));
142 return *this;
143 }
145
147
151 inline NodeUpdateInitiatedBy GetNodeUpdateInitiatedBy() const { return m_nodeUpdateInitiatedBy; }
152 inline bool NodeUpdateInitiatedByHasBeenSet() const { return m_nodeUpdateInitiatedByHasBeenSet; }
154 m_nodeUpdateInitiatedByHasBeenSet = true;
155 m_nodeUpdateInitiatedBy = value;
156 }
159 return *this;
160 }
162
164
167 inline const Aws::Utils::DateTime& GetNodeUpdateInitiatedDate() const { return m_nodeUpdateInitiatedDate; }
168 inline bool NodeUpdateInitiatedDateHasBeenSet() const { return m_nodeUpdateInitiatedDateHasBeenSet; }
169 template <typename NodeUpdateInitiatedDateT = Aws::Utils::DateTime>
170 void SetNodeUpdateInitiatedDate(NodeUpdateInitiatedDateT&& value) {
171 m_nodeUpdateInitiatedDateHasBeenSet = true;
172 m_nodeUpdateInitiatedDate = std::forward<NodeUpdateInitiatedDateT>(value);
173 }
174 template <typename NodeUpdateInitiatedDateT = Aws::Utils::DateTime>
175 NodeGroupMemberUpdateStatus& WithNodeUpdateInitiatedDate(NodeUpdateInitiatedDateT&& value) {
176 SetNodeUpdateInitiatedDate(std::forward<NodeUpdateInitiatedDateT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::Utils::DateTime& GetNodeUpdateStatusModifiedDate() const { return m_nodeUpdateStatusModifiedDate; }
186 inline bool NodeUpdateStatusModifiedDateHasBeenSet() const { return m_nodeUpdateStatusModifiedDateHasBeenSet; }
187 template <typename NodeUpdateStatusModifiedDateT = Aws::Utils::DateTime>
188 void SetNodeUpdateStatusModifiedDate(NodeUpdateStatusModifiedDateT&& value) {
189 m_nodeUpdateStatusModifiedDateHasBeenSet = true;
190 m_nodeUpdateStatusModifiedDate = std::forward<NodeUpdateStatusModifiedDateT>(value);
191 }
192 template <typename NodeUpdateStatusModifiedDateT = Aws::Utils::DateTime>
193 NodeGroupMemberUpdateStatus& WithNodeUpdateStatusModifiedDate(NodeUpdateStatusModifiedDateT&& value) {
194 SetNodeUpdateStatusModifiedDate(std::forward<NodeUpdateStatusModifiedDateT>(value));
195 return *this;
196 }
198 private:
199 Aws::String m_cacheClusterId;
200
201 Aws::String m_cacheNodeId;
202
204
205 Aws::Utils::DateTime m_nodeDeletionDate{};
206
207 Aws::Utils::DateTime m_nodeUpdateStartDate{};
208
209 Aws::Utils::DateTime m_nodeUpdateEndDate{};
210
212
213 Aws::Utils::DateTime m_nodeUpdateInitiatedDate{};
214
215 Aws::Utils::DateTime m_nodeUpdateStatusModifiedDate{};
216 bool m_cacheClusterIdHasBeenSet = false;
217 bool m_cacheNodeIdHasBeenSet = false;
218 bool m_nodeUpdateStatusHasBeenSet = false;
219 bool m_nodeDeletionDateHasBeenSet = false;
220 bool m_nodeUpdateStartDateHasBeenSet = false;
221 bool m_nodeUpdateEndDateHasBeenSet = false;
222 bool m_nodeUpdateInitiatedByHasBeenSet = false;
223 bool m_nodeUpdateInitiatedDateHasBeenSet = false;
224 bool m_nodeUpdateStatusModifiedDateHasBeenSet = false;
225};
226
227} // namespace Model
228} // namespace ElastiCache
229} // namespace Aws
void SetNodeUpdateStatusModifiedDate(NodeUpdateStatusModifiedDateT &&value)
void SetNodeUpdateInitiatedDate(NodeUpdateInitiatedDateT &&value)
AWS_ELASTICACHE_API NodeGroupMemberUpdateStatus()=default
AWS_ELASTICACHE_API NodeGroupMemberUpdateStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NodeGroupMemberUpdateStatus & WithNodeUpdateInitiatedBy(NodeUpdateInitiatedBy value)
NodeGroupMemberUpdateStatus & WithNodeUpdateStartDate(NodeUpdateStartDateT &&value)
NodeGroupMemberUpdateStatus & WithNodeDeletionDate(NodeDeletionDateT &&value)
NodeGroupMemberUpdateStatus & WithCacheClusterId(CacheClusterIdT &&value)
NodeGroupMemberUpdateStatus & WithCacheNodeId(CacheNodeIdT &&value)
NodeGroupMemberUpdateStatus & WithNodeUpdateStatus(NodeUpdateStatus value)
AWS_ELASTICACHE_API NodeGroupMemberUpdateStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
NodeGroupMemberUpdateStatus & WithNodeUpdateStatusModifiedDate(NodeUpdateStatusModifiedDateT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NodeGroupMemberUpdateStatus & WithNodeUpdateEndDate(NodeUpdateEndDateT &&value)
const Aws::Utils::DateTime & GetNodeUpdateStatusModifiedDate() const
NodeGroupMemberUpdateStatus & WithNodeUpdateInitiatedDate(NodeUpdateInitiatedDateT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream