AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CacheNodeUpdateStatus.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 CacheNodeUpdateStatus();
39 AWS_ELASTICACHE_API CacheNodeUpdateStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_ELASTICACHE_API CacheNodeUpdateStatus& operator=(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& GetCacheNodeId() const{ return m_cacheNodeId; }
51 inline bool CacheNodeIdHasBeenSet() const { return m_cacheNodeIdHasBeenSet; }
52 inline void SetCacheNodeId(const Aws::String& value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId = value; }
53 inline void SetCacheNodeId(Aws::String&& value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId = std::move(value); }
54 inline void SetCacheNodeId(const char* value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId.assign(value); }
55 inline CacheNodeUpdateStatus& WithCacheNodeId(const Aws::String& value) { SetCacheNodeId(value); return *this;}
56 inline CacheNodeUpdateStatus& WithCacheNodeId(Aws::String&& value) { SetCacheNodeId(std::move(value)); return *this;}
57 inline CacheNodeUpdateStatus& WithCacheNodeId(const char* value) { SetCacheNodeId(value); return *this;}
59
61
64 inline const NodeUpdateStatus& GetNodeUpdateStatus() const{ return m_nodeUpdateStatus; }
65 inline bool NodeUpdateStatusHasBeenSet() const { return m_nodeUpdateStatusHasBeenSet; }
66 inline void SetNodeUpdateStatus(const NodeUpdateStatus& value) { m_nodeUpdateStatusHasBeenSet = true; m_nodeUpdateStatus = value; }
67 inline void SetNodeUpdateStatus(NodeUpdateStatus&& value) { m_nodeUpdateStatusHasBeenSet = true; m_nodeUpdateStatus = std::move(value); }
69 inline CacheNodeUpdateStatus& WithNodeUpdateStatus(NodeUpdateStatus&& value) { SetNodeUpdateStatus(std::move(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetNodeDeletionDate() const{ return m_nodeDeletionDate; }
77 inline bool NodeDeletionDateHasBeenSet() const { return m_nodeDeletionDateHasBeenSet; }
78 inline void SetNodeDeletionDate(const Aws::Utils::DateTime& value) { m_nodeDeletionDateHasBeenSet = true; m_nodeDeletionDate = value; }
79 inline void SetNodeDeletionDate(Aws::Utils::DateTime&& value) { m_nodeDeletionDateHasBeenSet = true; m_nodeDeletionDate = std::move(value); }
81 inline CacheNodeUpdateStatus& WithNodeDeletionDate(Aws::Utils::DateTime&& value) { SetNodeDeletionDate(std::move(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetNodeUpdateStartDate() const{ return m_nodeUpdateStartDate; }
89 inline bool NodeUpdateStartDateHasBeenSet() const { return m_nodeUpdateStartDateHasBeenSet; }
90 inline void SetNodeUpdateStartDate(const Aws::Utils::DateTime& value) { m_nodeUpdateStartDateHasBeenSet = true; m_nodeUpdateStartDate = value; }
91 inline void SetNodeUpdateStartDate(Aws::Utils::DateTime&& value) { m_nodeUpdateStartDateHasBeenSet = true; m_nodeUpdateStartDate = std::move(value); }
95
97
100 inline const Aws::Utils::DateTime& GetNodeUpdateEndDate() const{ return m_nodeUpdateEndDate; }
101 inline bool NodeUpdateEndDateHasBeenSet() const { return m_nodeUpdateEndDateHasBeenSet; }
102 inline void SetNodeUpdateEndDate(const Aws::Utils::DateTime& value) { m_nodeUpdateEndDateHasBeenSet = true; m_nodeUpdateEndDate = value; }
103 inline void SetNodeUpdateEndDate(Aws::Utils::DateTime&& value) { m_nodeUpdateEndDateHasBeenSet = true; m_nodeUpdateEndDate = std::move(value); }
107
109
113 inline const NodeUpdateInitiatedBy& GetNodeUpdateInitiatedBy() const{ return m_nodeUpdateInitiatedBy; }
114 inline bool NodeUpdateInitiatedByHasBeenSet() const { return m_nodeUpdateInitiatedByHasBeenSet; }
115 inline void SetNodeUpdateInitiatedBy(const NodeUpdateInitiatedBy& value) { m_nodeUpdateInitiatedByHasBeenSet = true; m_nodeUpdateInitiatedBy = value; }
116 inline void SetNodeUpdateInitiatedBy(NodeUpdateInitiatedBy&& value) { m_nodeUpdateInitiatedByHasBeenSet = true; m_nodeUpdateInitiatedBy = std::move(value); }
120
122
125 inline const Aws::Utils::DateTime& GetNodeUpdateInitiatedDate() const{ return m_nodeUpdateInitiatedDate; }
126 inline bool NodeUpdateInitiatedDateHasBeenSet() const { return m_nodeUpdateInitiatedDateHasBeenSet; }
127 inline void SetNodeUpdateInitiatedDate(const Aws::Utils::DateTime& value) { m_nodeUpdateInitiatedDateHasBeenSet = true; m_nodeUpdateInitiatedDate = value; }
128 inline void SetNodeUpdateInitiatedDate(Aws::Utils::DateTime&& value) { m_nodeUpdateInitiatedDateHasBeenSet = true; m_nodeUpdateInitiatedDate = std::move(value); }
132
134
137 inline const Aws::Utils::DateTime& GetNodeUpdateStatusModifiedDate() const{ return m_nodeUpdateStatusModifiedDate; }
138 inline bool NodeUpdateStatusModifiedDateHasBeenSet() const { return m_nodeUpdateStatusModifiedDateHasBeenSet; }
139 inline void SetNodeUpdateStatusModifiedDate(const Aws::Utils::DateTime& value) { m_nodeUpdateStatusModifiedDateHasBeenSet = true; m_nodeUpdateStatusModifiedDate = value; }
140 inline void SetNodeUpdateStatusModifiedDate(Aws::Utils::DateTime&& value) { m_nodeUpdateStatusModifiedDateHasBeenSet = true; m_nodeUpdateStatusModifiedDate = std::move(value); }
144 private:
145
146 Aws::String m_cacheNodeId;
147 bool m_cacheNodeIdHasBeenSet = false;
148
149 NodeUpdateStatus m_nodeUpdateStatus;
150 bool m_nodeUpdateStatusHasBeenSet = false;
151
152 Aws::Utils::DateTime m_nodeDeletionDate;
153 bool m_nodeDeletionDateHasBeenSet = false;
154
155 Aws::Utils::DateTime m_nodeUpdateStartDate;
156 bool m_nodeUpdateStartDateHasBeenSet = false;
157
158 Aws::Utils::DateTime m_nodeUpdateEndDate;
159 bool m_nodeUpdateEndDateHasBeenSet = false;
160
161 NodeUpdateInitiatedBy m_nodeUpdateInitiatedBy;
162 bool m_nodeUpdateInitiatedByHasBeenSet = false;
163
164 Aws::Utils::DateTime m_nodeUpdateInitiatedDate;
165 bool m_nodeUpdateInitiatedDateHasBeenSet = false;
166
167 Aws::Utils::DateTime m_nodeUpdateStatusModifiedDate;
168 bool m_nodeUpdateStatusModifiedDateHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace ElastiCache
173} // namespace Aws
AWS_ELASTICACHE_API CacheNodeUpdateStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheNodeUpdateStatus & WithNodeUpdateInitiatedDate(const Aws::Utils::DateTime &value)
CacheNodeUpdateStatus & WithNodeUpdateStatusModifiedDate(Aws::Utils::DateTime &&value)
AWS_ELASTICACHE_API CacheNodeUpdateStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNodeUpdateInitiatedDate(const Aws::Utils::DateTime &value)
CacheNodeUpdateStatus & WithNodeUpdateEndDate(Aws::Utils::DateTime &&value)
CacheNodeUpdateStatus & WithNodeUpdateStatusModifiedDate(const Aws::Utils::DateTime &value)
CacheNodeUpdateStatus & WithNodeDeletionDate(const Aws::Utils::DateTime &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNodeUpdateStartDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetNodeUpdateInitiatedDate() const
CacheNodeUpdateStatus & WithNodeDeletionDate(Aws::Utils::DateTime &&value)
void SetNodeUpdateInitiatedBy(NodeUpdateInitiatedBy &&value)
const Aws::Utils::DateTime & GetNodeUpdateStartDate() const
const NodeUpdateStatus & GetNodeUpdateStatus() const
void SetNodeUpdateInitiatedBy(const NodeUpdateInitiatedBy &value)
CacheNodeUpdateStatus & WithNodeUpdateStatus(NodeUpdateStatus &&value)
void SetNodeUpdateInitiatedDate(Aws::Utils::DateTime &&value)
CacheNodeUpdateStatus & WithNodeUpdateStartDate(const Aws::Utils::DateTime &value)
void SetNodeUpdateEndDate(const Aws::Utils::DateTime &value)
CacheNodeUpdateStatus & WithNodeUpdateInitiatedBy(NodeUpdateInitiatedBy &&value)
CacheNodeUpdateStatus & WithCacheNodeId(const char *value)
CacheNodeUpdateStatus & WithNodeUpdateInitiatedBy(const NodeUpdateInitiatedBy &value)
CacheNodeUpdateStatus & WithCacheNodeId(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetNodeUpdateStatus(const NodeUpdateStatus &value)
const Aws::Utils::DateTime & GetNodeDeletionDate() const
CacheNodeUpdateStatus & WithCacheNodeId(const Aws::String &value)
const Aws::Utils::DateTime & GetNodeUpdateEndDate() const
CacheNodeUpdateStatus & WithNodeUpdateEndDate(const Aws::Utils::DateTime &value)
CacheNodeUpdateStatus & WithNodeUpdateStartDate(Aws::Utils::DateTime &&value)
CacheNodeUpdateStatus & WithNodeUpdateStatus(const NodeUpdateStatus &value)
void SetNodeUpdateEndDate(Aws::Utils::DateTime &&value)
void SetNodeUpdateStatusModifiedDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetNodeUpdateStatusModifiedDate() const
void SetNodeUpdateStatusModifiedDate(const Aws::Utils::DateTime &value)
void SetNodeDeletionDate(Aws::Utils::DateTime &&value)
CacheNodeUpdateStatus & WithNodeUpdateInitiatedDate(Aws::Utils::DateTime &&value)
void SetNodeDeletionDate(const Aws::Utils::DateTime &value)
const NodeUpdateInitiatedBy & GetNodeUpdateInitiatedBy() const
void SetNodeUpdateStartDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream