AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodeGroupMemberUpdateStatus.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/elasticache/model/NodeUpdateStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/elasticache/model/NodeUpdateInitiatedBy.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace ElastiCache
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_ELASTICACHE_API NodeGroupMemberUpdateStatus();
39 AWS_ELASTICACHE_API NodeGroupMemberUpdateStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetCacheClusterId() const{ return m_cacheClusterId; }
51 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
52 inline void SetCacheClusterId(const Aws::String& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; }
53 inline void SetCacheClusterId(Aws::String&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::move(value); }
54 inline void SetCacheClusterId(const char* value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId.assign(value); }
55 inline NodeGroupMemberUpdateStatus& WithCacheClusterId(const Aws::String& value) { SetCacheClusterId(value); return *this;}
56 inline NodeGroupMemberUpdateStatus& WithCacheClusterId(Aws::String&& value) { SetCacheClusterId(std::move(value)); return *this;}
57 inline NodeGroupMemberUpdateStatus& WithCacheClusterId(const char* value) { SetCacheClusterId(value); return *this;}
59
61
64 inline const Aws::String& GetCacheNodeId() const{ return m_cacheNodeId; }
65 inline bool CacheNodeIdHasBeenSet() const { return m_cacheNodeIdHasBeenSet; }
66 inline void SetCacheNodeId(const Aws::String& value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId = value; }
67 inline void SetCacheNodeId(Aws::String&& value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId = std::move(value); }
68 inline void SetCacheNodeId(const char* value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId.assign(value); }
69 inline NodeGroupMemberUpdateStatus& WithCacheNodeId(const Aws::String& value) { SetCacheNodeId(value); return *this;}
70 inline NodeGroupMemberUpdateStatus& WithCacheNodeId(Aws::String&& value) { SetCacheNodeId(std::move(value)); return *this;}
71 inline NodeGroupMemberUpdateStatus& WithCacheNodeId(const char* value) { SetCacheNodeId(value); return *this;}
73
75
78 inline const NodeUpdateStatus& GetNodeUpdateStatus() const{ return m_nodeUpdateStatus; }
79 inline bool NodeUpdateStatusHasBeenSet() const { return m_nodeUpdateStatusHasBeenSet; }
80 inline void SetNodeUpdateStatus(const NodeUpdateStatus& value) { m_nodeUpdateStatusHasBeenSet = true; m_nodeUpdateStatus = value; }
81 inline void SetNodeUpdateStatus(NodeUpdateStatus&& value) { m_nodeUpdateStatusHasBeenSet = true; m_nodeUpdateStatus = std::move(value); }
83 inline NodeGroupMemberUpdateStatus& WithNodeUpdateStatus(NodeUpdateStatus&& value) { SetNodeUpdateStatus(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetNodeDeletionDate() const{ return m_nodeDeletionDate; }
91 inline bool NodeDeletionDateHasBeenSet() const { return m_nodeDeletionDateHasBeenSet; }
92 inline void SetNodeDeletionDate(const Aws::Utils::DateTime& value) { m_nodeDeletionDateHasBeenSet = true; m_nodeDeletionDate = value; }
93 inline void SetNodeDeletionDate(Aws::Utils::DateTime&& value) { m_nodeDeletionDateHasBeenSet = true; m_nodeDeletionDate = std::move(value); }
97
99
102 inline const Aws::Utils::DateTime& GetNodeUpdateStartDate() const{ return m_nodeUpdateStartDate; }
103 inline bool NodeUpdateStartDateHasBeenSet() const { return m_nodeUpdateStartDateHasBeenSet; }
104 inline void SetNodeUpdateStartDate(const Aws::Utils::DateTime& value) { m_nodeUpdateStartDateHasBeenSet = true; m_nodeUpdateStartDate = value; }
105 inline void SetNodeUpdateStartDate(Aws::Utils::DateTime&& value) { m_nodeUpdateStartDateHasBeenSet = true; m_nodeUpdateStartDate = std::move(value); }
109
111
114 inline const Aws::Utils::DateTime& GetNodeUpdateEndDate() const{ return m_nodeUpdateEndDate; }
115 inline bool NodeUpdateEndDateHasBeenSet() const { return m_nodeUpdateEndDateHasBeenSet; }
116 inline void SetNodeUpdateEndDate(const Aws::Utils::DateTime& value) { m_nodeUpdateEndDateHasBeenSet = true; m_nodeUpdateEndDate = value; }
117 inline void SetNodeUpdateEndDate(Aws::Utils::DateTime&& value) { m_nodeUpdateEndDateHasBeenSet = true; m_nodeUpdateEndDate = std::move(value); }
121
123
127 inline const NodeUpdateInitiatedBy& GetNodeUpdateInitiatedBy() const{ return m_nodeUpdateInitiatedBy; }
128 inline bool NodeUpdateInitiatedByHasBeenSet() const { return m_nodeUpdateInitiatedByHasBeenSet; }
129 inline void SetNodeUpdateInitiatedBy(const NodeUpdateInitiatedBy& value) { m_nodeUpdateInitiatedByHasBeenSet = true; m_nodeUpdateInitiatedBy = value; }
130 inline void SetNodeUpdateInitiatedBy(NodeUpdateInitiatedBy&& value) { m_nodeUpdateInitiatedByHasBeenSet = true; m_nodeUpdateInitiatedBy = std::move(value); }
134
136
139 inline const Aws::Utils::DateTime& GetNodeUpdateInitiatedDate() const{ return m_nodeUpdateInitiatedDate; }
140 inline bool NodeUpdateInitiatedDateHasBeenSet() const { return m_nodeUpdateInitiatedDateHasBeenSet; }
141 inline void SetNodeUpdateInitiatedDate(const Aws::Utils::DateTime& value) { m_nodeUpdateInitiatedDateHasBeenSet = true; m_nodeUpdateInitiatedDate = value; }
142 inline void SetNodeUpdateInitiatedDate(Aws::Utils::DateTime&& value) { m_nodeUpdateInitiatedDateHasBeenSet = true; m_nodeUpdateInitiatedDate = std::move(value); }
146
148
151 inline const Aws::Utils::DateTime& GetNodeUpdateStatusModifiedDate() const{ return m_nodeUpdateStatusModifiedDate; }
152 inline bool NodeUpdateStatusModifiedDateHasBeenSet() const { return m_nodeUpdateStatusModifiedDateHasBeenSet; }
153 inline void SetNodeUpdateStatusModifiedDate(const Aws::Utils::DateTime& value) { m_nodeUpdateStatusModifiedDateHasBeenSet = true; m_nodeUpdateStatusModifiedDate = value; }
154 inline void SetNodeUpdateStatusModifiedDate(Aws::Utils::DateTime&& value) { m_nodeUpdateStatusModifiedDateHasBeenSet = true; m_nodeUpdateStatusModifiedDate = std::move(value); }
158 private:
159
160 Aws::String m_cacheClusterId;
161 bool m_cacheClusterIdHasBeenSet = false;
162
163 Aws::String m_cacheNodeId;
164 bool m_cacheNodeIdHasBeenSet = false;
165
166 NodeUpdateStatus m_nodeUpdateStatus;
167 bool m_nodeUpdateStatusHasBeenSet = false;
168
169 Aws::Utils::DateTime m_nodeDeletionDate;
170 bool m_nodeDeletionDateHasBeenSet = false;
171
172 Aws::Utils::DateTime m_nodeUpdateStartDate;
173 bool m_nodeUpdateStartDateHasBeenSet = false;
174
175 Aws::Utils::DateTime m_nodeUpdateEndDate;
176 bool m_nodeUpdateEndDateHasBeenSet = false;
177
178 NodeUpdateInitiatedBy m_nodeUpdateInitiatedBy;
179 bool m_nodeUpdateInitiatedByHasBeenSet = false;
180
181 Aws::Utils::DateTime m_nodeUpdateInitiatedDate;
182 bool m_nodeUpdateInitiatedDateHasBeenSet = false;
183
184 Aws::Utils::DateTime m_nodeUpdateStatusModifiedDate;
185 bool m_nodeUpdateStatusModifiedDateHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace ElastiCache
190} // namespace Aws
NodeGroupMemberUpdateStatus & WithCacheNodeId(Aws::String &&value)
void SetNodeUpdateInitiatedDate(const Aws::Utils::DateTime &value)
AWS_ELASTICACHE_API NodeGroupMemberUpdateStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NodeGroupMemberUpdateStatus & WithNodeUpdateStartDate(const Aws::Utils::DateTime &value)
NodeGroupMemberUpdateStatus & WithNodeDeletionDate(const Aws::Utils::DateTime &value)
NodeGroupMemberUpdateStatus & WithNodeUpdateEndDate(const Aws::Utils::DateTime &value)
NodeGroupMemberUpdateStatus & WithNodeUpdateStartDate(Aws::Utils::DateTime &&value)
NodeGroupMemberUpdateStatus & WithNodeDeletionDate(Aws::Utils::DateTime &&value)
void SetNodeUpdateStartDate(const Aws::Utils::DateTime &value)
NodeGroupMemberUpdateStatus & WithCacheClusterId(const char *value)
NodeGroupMemberUpdateStatus & WithNodeUpdateStatusModifiedDate(Aws::Utils::DateTime &&value)
NodeGroupMemberUpdateStatus & WithCacheClusterId(Aws::String &&value)
NodeGroupMemberUpdateStatus & WithNodeUpdateStatus(const NodeUpdateStatus &value)
NodeGroupMemberUpdateStatus & WithNodeUpdateStatus(NodeUpdateStatus &&value)
void SetNodeUpdateInitiatedBy(const NodeUpdateInitiatedBy &value)
AWS_ELASTICACHE_API NodeGroupMemberUpdateStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
NodeGroupMemberUpdateStatus & WithNodeUpdateInitiatedDate(const Aws::Utils::DateTime &value)
NodeGroupMemberUpdateStatus & WithNodeUpdateInitiatedDate(Aws::Utils::DateTime &&value)
void SetNodeDeletionDate(const Aws::Utils::DateTime &value)
void SetNodeUpdateStatusModifiedDate(const Aws::Utils::DateTime &value)
NodeGroupMemberUpdateStatus & WithCacheClusterId(const Aws::String &value)
NodeGroupMemberUpdateStatus & WithNodeUpdateStatusModifiedDate(const Aws::Utils::DateTime &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NodeGroupMemberUpdateStatus & WithNodeUpdateInitiatedBy(NodeUpdateInitiatedBy &&value)
NodeGroupMemberUpdateStatus & WithNodeUpdateInitiatedBy(const NodeUpdateInitiatedBy &value)
NodeGroupMemberUpdateStatus & WithCacheNodeId(const char *value)
NodeGroupMemberUpdateStatus & WithNodeUpdateEndDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetNodeUpdateStatusModifiedDate() const
NodeGroupMemberUpdateStatus & WithCacheNodeId(const Aws::String &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