AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Node.h
1
6#pragma once
7#include <aws/dax/DAX_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dax/model/Endpoint.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DAX
24{
25namespace Model
26{
27
33 class Node
34 {
35 public:
36 AWS_DAX_API Node();
37 AWS_DAX_API Node(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DAX_API Node& operator=(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetNodeId() const{ return m_nodeId; }
47 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
48 inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; }
49 inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); }
50 inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); }
51 inline Node& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
52 inline Node& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
53 inline Node& WithNodeId(const char* value) { SetNodeId(value); return *this;}
55
57
63 inline const Endpoint& GetEndpoint() const{ return m_endpoint; }
64 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
65 inline void SetEndpoint(const Endpoint& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
66 inline void SetEndpoint(Endpoint&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
67 inline Node& WithEndpoint(const Endpoint& value) { SetEndpoint(value); return *this;}
68 inline Node& WithEndpoint(Endpoint&& value) { SetEndpoint(std::move(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetNodeCreateTime() const{ return m_nodeCreateTime; }
76 inline bool NodeCreateTimeHasBeenSet() const { return m_nodeCreateTimeHasBeenSet; }
77 inline void SetNodeCreateTime(const Aws::Utils::DateTime& value) { m_nodeCreateTimeHasBeenSet = true; m_nodeCreateTime = value; }
78 inline void SetNodeCreateTime(Aws::Utils::DateTime&& value) { m_nodeCreateTimeHasBeenSet = true; m_nodeCreateTime = std::move(value); }
79 inline Node& WithNodeCreateTime(const Aws::Utils::DateTime& value) { SetNodeCreateTime(value); return *this;}
80 inline Node& WithNodeCreateTime(Aws::Utils::DateTime&& value) { SetNodeCreateTime(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
88 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
89 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
90 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
91 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
92 inline Node& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
93 inline Node& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
94 inline Node& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
96
98
101 inline const Aws::String& GetNodeStatus() const{ return m_nodeStatus; }
102 inline bool NodeStatusHasBeenSet() const { return m_nodeStatusHasBeenSet; }
103 inline void SetNodeStatus(const Aws::String& value) { m_nodeStatusHasBeenSet = true; m_nodeStatus = value; }
104 inline void SetNodeStatus(Aws::String&& value) { m_nodeStatusHasBeenSet = true; m_nodeStatus = std::move(value); }
105 inline void SetNodeStatus(const char* value) { m_nodeStatusHasBeenSet = true; m_nodeStatus.assign(value); }
106 inline Node& WithNodeStatus(const Aws::String& value) { SetNodeStatus(value); return *this;}
107 inline Node& WithNodeStatus(Aws::String&& value) { SetNodeStatus(std::move(value)); return *this;}
108 inline Node& WithNodeStatus(const char* value) { SetNodeStatus(value); return *this;}
110
112
116 inline const Aws::String& GetParameterGroupStatus() const{ return m_parameterGroupStatus; }
117 inline bool ParameterGroupStatusHasBeenSet() const { return m_parameterGroupStatusHasBeenSet; }
118 inline void SetParameterGroupStatus(const Aws::String& value) { m_parameterGroupStatusHasBeenSet = true; m_parameterGroupStatus = value; }
119 inline void SetParameterGroupStatus(Aws::String&& value) { m_parameterGroupStatusHasBeenSet = true; m_parameterGroupStatus = std::move(value); }
120 inline void SetParameterGroupStatus(const char* value) { m_parameterGroupStatusHasBeenSet = true; m_parameterGroupStatus.assign(value); }
121 inline Node& WithParameterGroupStatus(const Aws::String& value) { SetParameterGroupStatus(value); return *this;}
122 inline Node& WithParameterGroupStatus(Aws::String&& value) { SetParameterGroupStatus(std::move(value)); return *this;}
123 inline Node& WithParameterGroupStatus(const char* value) { SetParameterGroupStatus(value); return *this;}
125 private:
126
127 Aws::String m_nodeId;
128 bool m_nodeIdHasBeenSet = false;
129
130 Endpoint m_endpoint;
131 bool m_endpointHasBeenSet = false;
132
133 Aws::Utils::DateTime m_nodeCreateTime;
134 bool m_nodeCreateTimeHasBeenSet = false;
135
136 Aws::String m_availabilityZone;
137 bool m_availabilityZoneHasBeenSet = false;
138
139 Aws::String m_nodeStatus;
140 bool m_nodeStatusHasBeenSet = false;
141
142 Aws::String m_parameterGroupStatus;
143 bool m_parameterGroupStatusHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace DAX
148} // namespace Aws
void SetNodeCreateTime(const Aws::Utils::DateTime &value)
Definition Node.h:77
const Aws::String & GetAvailabilityZone() const
Definition Node.h:87
Node & WithNodeStatus(Aws::String &&value)
Definition Node.h:107
Node & WithAvailabilityZone(const char *value)
Definition Node.h:94
Node & WithEndpoint(const Endpoint &value)
Definition Node.h:67
AWS_DAX_API Node()
void SetNodeCreateTime(Aws::Utils::DateTime &&value)
Definition Node.h:78
void SetNodeId(const char *value)
Definition Node.h:50
Node & WithNodeId(const char *value)
Definition Node.h:53
AWS_DAX_API Node & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetParameterGroupStatus() const
Definition Node.h:116
AWS_DAX_API Node(Aws::Utils::Json::JsonView jsonValue)
void SetNodeStatus(Aws::String &&value)
Definition Node.h:104
bool AvailabilityZoneHasBeenSet() const
Definition Node.h:88
void SetNodeStatus(const char *value)
Definition Node.h:105
Node & WithParameterGroupStatus(const char *value)
Definition Node.h:123
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
Node & WithNodeCreateTime(Aws::Utils::DateTime &&value)
Definition Node.h:80
bool NodeStatusHasBeenSet() const
Definition Node.h:102
void SetAvailabilityZone(Aws::String &&value)
Definition Node.h:90
Node & WithNodeId(const Aws::String &value)
Definition Node.h:51
void SetNodeId(const Aws::String &value)
Definition Node.h:48
void SetAvailabilityZone(const char *value)
Definition Node.h:91
Node & WithAvailabilityZone(const Aws::String &value)
Definition Node.h:92
void SetAvailabilityZone(const Aws::String &value)
Definition Node.h:89
void SetEndpoint(Endpoint &&value)
Definition Node.h:66
void SetNodeId(Aws::String &&value)
Definition Node.h:49
void SetParameterGroupStatus(Aws::String &&value)
Definition Node.h:119
Node & WithNodeStatus(const char *value)
Definition Node.h:108
Node & WithAvailabilityZone(Aws::String &&value)
Definition Node.h:93
const Aws::Utils::DateTime & GetNodeCreateTime() const
Definition Node.h:75
const Endpoint & GetEndpoint() const
Definition Node.h:63
Node & WithParameterGroupStatus(const Aws::String &value)
Definition Node.h:121
Node & WithNodeCreateTime(const Aws::Utils::DateTime &value)
Definition Node.h:79
void SetParameterGroupStatus(const Aws::String &value)
Definition Node.h:118
const Aws::String & GetNodeId() const
Definition Node.h:46
Node & WithNodeStatus(const Aws::String &value)
Definition Node.h:106
bool EndpointHasBeenSet() const
Definition Node.h:64
bool ParameterGroupStatusHasBeenSet() const
Definition Node.h:117
bool NodeIdHasBeenSet() const
Definition Node.h:47
const Aws::String & GetNodeStatus() const
Definition Node.h:101
Node & WithNodeId(Aws::String &&value)
Definition Node.h:52
Node & WithEndpoint(Endpoint &&value)
Definition Node.h:68
void SetEndpoint(const Endpoint &value)
Definition Node.h:65
Node & WithParameterGroupStatus(Aws::String &&value)
Definition Node.h:122
bool NodeCreateTimeHasBeenSet() const
Definition Node.h:76
void SetNodeStatus(const Aws::String &value)
Definition Node.h:103
void SetParameterGroupStatus(const char *value)
Definition Node.h:120
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue