AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CacheClusterIdT = Aws::String>
53 void SetCacheClusterId(CacheClusterIdT&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::forward<CacheClusterIdT>(value); }
54 template<typename CacheClusterIdT = Aws::String>
55 NodeGroupMemberUpdateStatus& WithCacheClusterId(CacheClusterIdT&& value) { SetCacheClusterId(std::forward<CacheClusterIdT>(value)); return *this;}
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) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId = std::forward<CacheNodeIdT>(value); }
66 template<typename CacheNodeIdT = Aws::String>
67 NodeGroupMemberUpdateStatus& WithCacheNodeId(CacheNodeIdT&& value) { SetCacheNodeId(std::forward<CacheNodeIdT>(value)); return *this;}
69
71
74 inline NodeUpdateStatus GetNodeUpdateStatus() const { return m_nodeUpdateStatus; }
75 inline bool NodeUpdateStatusHasBeenSet() const { return m_nodeUpdateStatusHasBeenSet; }
76 inline void SetNodeUpdateStatus(NodeUpdateStatus value) { m_nodeUpdateStatusHasBeenSet = true; m_nodeUpdateStatus = value; }
79
81
84 inline const Aws::Utils::DateTime& GetNodeDeletionDate() const { return m_nodeDeletionDate; }
85 inline bool NodeDeletionDateHasBeenSet() const { return m_nodeDeletionDateHasBeenSet; }
86 template<typename NodeDeletionDateT = Aws::Utils::DateTime>
87 void SetNodeDeletionDate(NodeDeletionDateT&& value) { m_nodeDeletionDateHasBeenSet = true; m_nodeDeletionDate = std::forward<NodeDeletionDateT>(value); }
88 template<typename NodeDeletionDateT = Aws::Utils::DateTime>
89 NodeGroupMemberUpdateStatus& WithNodeDeletionDate(NodeDeletionDateT&& value) { SetNodeDeletionDate(std::forward<NodeDeletionDateT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetNodeUpdateStartDate() const { return m_nodeUpdateStartDate; }
97 inline bool NodeUpdateStartDateHasBeenSet() const { return m_nodeUpdateStartDateHasBeenSet; }
98 template<typename NodeUpdateStartDateT = Aws::Utils::DateTime>
99 void SetNodeUpdateStartDate(NodeUpdateStartDateT&& value) { m_nodeUpdateStartDateHasBeenSet = true; m_nodeUpdateStartDate = std::forward<NodeUpdateStartDateT>(value); }
100 template<typename NodeUpdateStartDateT = Aws::Utils::DateTime>
101 NodeGroupMemberUpdateStatus& WithNodeUpdateStartDate(NodeUpdateStartDateT&& value) { SetNodeUpdateStartDate(std::forward<NodeUpdateStartDateT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetNodeUpdateEndDate() const { return m_nodeUpdateEndDate; }
109 inline bool NodeUpdateEndDateHasBeenSet() const { return m_nodeUpdateEndDateHasBeenSet; }
110 template<typename NodeUpdateEndDateT = Aws::Utils::DateTime>
111 void SetNodeUpdateEndDate(NodeUpdateEndDateT&& value) { m_nodeUpdateEndDateHasBeenSet = true; m_nodeUpdateEndDate = std::forward<NodeUpdateEndDateT>(value); }
112 template<typename NodeUpdateEndDateT = Aws::Utils::DateTime>
113 NodeGroupMemberUpdateStatus& WithNodeUpdateEndDate(NodeUpdateEndDateT&& value) { SetNodeUpdateEndDate(std::forward<NodeUpdateEndDateT>(value)); return *this;}
115
117
121 inline NodeUpdateInitiatedBy GetNodeUpdateInitiatedBy() const { return m_nodeUpdateInitiatedBy; }
122 inline bool NodeUpdateInitiatedByHasBeenSet() const { return m_nodeUpdateInitiatedByHasBeenSet; }
123 inline void SetNodeUpdateInitiatedBy(NodeUpdateInitiatedBy value) { m_nodeUpdateInitiatedByHasBeenSet = true; m_nodeUpdateInitiatedBy = value; }
126
128
131 inline const Aws::Utils::DateTime& GetNodeUpdateInitiatedDate() const { return m_nodeUpdateInitiatedDate; }
132 inline bool NodeUpdateInitiatedDateHasBeenSet() const { return m_nodeUpdateInitiatedDateHasBeenSet; }
133 template<typename NodeUpdateInitiatedDateT = Aws::Utils::DateTime>
134 void SetNodeUpdateInitiatedDate(NodeUpdateInitiatedDateT&& value) { m_nodeUpdateInitiatedDateHasBeenSet = true; m_nodeUpdateInitiatedDate = std::forward<NodeUpdateInitiatedDateT>(value); }
135 template<typename NodeUpdateInitiatedDateT = Aws::Utils::DateTime>
136 NodeGroupMemberUpdateStatus& WithNodeUpdateInitiatedDate(NodeUpdateInitiatedDateT&& value) { SetNodeUpdateInitiatedDate(std::forward<NodeUpdateInitiatedDateT>(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetNodeUpdateStatusModifiedDate() const { return m_nodeUpdateStatusModifiedDate; }
144 inline bool NodeUpdateStatusModifiedDateHasBeenSet() const { return m_nodeUpdateStatusModifiedDateHasBeenSet; }
145 template<typename NodeUpdateStatusModifiedDateT = Aws::Utils::DateTime>
146 void SetNodeUpdateStatusModifiedDate(NodeUpdateStatusModifiedDateT&& value) { m_nodeUpdateStatusModifiedDateHasBeenSet = true; m_nodeUpdateStatusModifiedDate = std::forward<NodeUpdateStatusModifiedDateT>(value); }
147 template<typename NodeUpdateStatusModifiedDateT = Aws::Utils::DateTime>
148 NodeGroupMemberUpdateStatus& WithNodeUpdateStatusModifiedDate(NodeUpdateStatusModifiedDateT&& value) { SetNodeUpdateStatusModifiedDate(std::forward<NodeUpdateStatusModifiedDateT>(value)); return *this;}
150 private:
151
152 Aws::String m_cacheClusterId;
153 bool m_cacheClusterIdHasBeenSet = false;
154
155 Aws::String m_cacheNodeId;
156 bool m_cacheNodeIdHasBeenSet = false;
157
159 bool m_nodeUpdateStatusHasBeenSet = false;
160
161 Aws::Utils::DateTime m_nodeDeletionDate{};
162 bool m_nodeDeletionDateHasBeenSet = false;
163
164 Aws::Utils::DateTime m_nodeUpdateStartDate{};
165 bool m_nodeUpdateStartDateHasBeenSet = false;
166
167 Aws::Utils::DateTime m_nodeUpdateEndDate{};
168 bool m_nodeUpdateEndDateHasBeenSet = false;
169
171 bool m_nodeUpdateInitiatedByHasBeenSet = false;
172
173 Aws::Utils::DateTime m_nodeUpdateInitiatedDate{};
174 bool m_nodeUpdateInitiatedDateHasBeenSet = false;
175
176 Aws::Utils::DateTime m_nodeUpdateStatusModifiedDate{};
177 bool m_nodeUpdateStatusModifiedDateHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace ElastiCache
182} // 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