AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NodeIdT = Aws::String>
49 void SetNodeId(NodeIdT&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::forward<NodeIdT>(value); }
50 template<typename NodeIdT = Aws::String>
51 Node& WithNodeId(NodeIdT&& value) { SetNodeId(std::forward<NodeIdT>(value)); return *this;}
53
55
61 inline const Endpoint& GetEndpoint() const { return m_endpoint; }
62 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
63 template<typename EndpointT = Endpoint>
64 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
65 template<typename EndpointT = Endpoint>
66 Node& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetNodeCreateTime() const { return m_nodeCreateTime; }
74 inline bool NodeCreateTimeHasBeenSet() const { return m_nodeCreateTimeHasBeenSet; }
75 template<typename NodeCreateTimeT = Aws::Utils::DateTime>
76 void SetNodeCreateTime(NodeCreateTimeT&& value) { m_nodeCreateTimeHasBeenSet = true; m_nodeCreateTime = std::forward<NodeCreateTimeT>(value); }
77 template<typename NodeCreateTimeT = Aws::Utils::DateTime>
78 Node& WithNodeCreateTime(NodeCreateTimeT&& value) { SetNodeCreateTime(std::forward<NodeCreateTimeT>(value)); return *this;}
80
82
85 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
86 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
87 template<typename AvailabilityZoneT = Aws::String>
88 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
89 template<typename AvailabilityZoneT = Aws::String>
90 Node& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
92
94
97 inline const Aws::String& GetNodeStatus() const { return m_nodeStatus; }
98 inline bool NodeStatusHasBeenSet() const { return m_nodeStatusHasBeenSet; }
99 template<typename NodeStatusT = Aws::String>
100 void SetNodeStatus(NodeStatusT&& value) { m_nodeStatusHasBeenSet = true; m_nodeStatus = std::forward<NodeStatusT>(value); }
101 template<typename NodeStatusT = Aws::String>
102 Node& WithNodeStatus(NodeStatusT&& value) { SetNodeStatus(std::forward<NodeStatusT>(value)); return *this;}
104
106
110 inline const Aws::String& GetParameterGroupStatus() const { return m_parameterGroupStatus; }
111 inline bool ParameterGroupStatusHasBeenSet() const { return m_parameterGroupStatusHasBeenSet; }
112 template<typename ParameterGroupStatusT = Aws::String>
113 void SetParameterGroupStatus(ParameterGroupStatusT&& value) { m_parameterGroupStatusHasBeenSet = true; m_parameterGroupStatus = std::forward<ParameterGroupStatusT>(value); }
114 template<typename ParameterGroupStatusT = Aws::String>
115 Node& WithParameterGroupStatus(ParameterGroupStatusT&& value) { SetParameterGroupStatus(std::forward<ParameterGroupStatusT>(value)); return *this;}
117 private:
118
119 Aws::String m_nodeId;
120 bool m_nodeIdHasBeenSet = false;
121
122 Endpoint m_endpoint;
123 bool m_endpointHasBeenSet = false;
124
125 Aws::Utils::DateTime m_nodeCreateTime{};
126 bool m_nodeCreateTimeHasBeenSet = false;
127
128 Aws::String m_availabilityZone;
129 bool m_availabilityZoneHasBeenSet = false;
130
131 Aws::String m_nodeStatus;
132 bool m_nodeStatusHasBeenSet = false;
133
134 Aws::String m_parameterGroupStatus;
135 bool m_parameterGroupStatusHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace DAX
140} // namespace Aws
void SetNodeCreateTime(NodeCreateTimeT &&value)
Definition Node.h:76
const Aws::String & GetAvailabilityZone() const
Definition Node.h:85
void SetNodeStatus(NodeStatusT &&value)
Definition Node.h:100
AWS_DAX_API Node()=default
AWS_DAX_API Node & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetParameterGroupStatus() const
Definition Node.h:110
AWS_DAX_API Node(Aws::Utils::Json::JsonView jsonValue)
bool AvailabilityZoneHasBeenSet() const
Definition Node.h:86
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
bool NodeStatusHasBeenSet() const
Definition Node.h:98
Node & WithParameterGroupStatus(ParameterGroupStatusT &&value)
Definition Node.h:115
void SetNodeId(NodeIdT &&value)
Definition Node.h:49
Node & WithEndpoint(EndpointT &&value)
Definition Node.h:66
Node & WithNodeId(NodeIdT &&value)
Definition Node.h:51
void SetParameterGroupStatus(ParameterGroupStatusT &&value)
Definition Node.h:113
Node & WithNodeStatus(NodeStatusT &&value)
Definition Node.h:102
const Aws::Utils::DateTime & GetNodeCreateTime() const
Definition Node.h:73
Node & WithNodeCreateTime(NodeCreateTimeT &&value)
Definition Node.h:78
void SetEndpoint(EndpointT &&value)
Definition Node.h:64
const Endpoint & GetEndpoint() const
Definition Node.h:61
const Aws::String & GetNodeId() const
Definition Node.h:46
bool EndpointHasBeenSet() const
Definition Node.h:62
bool ParameterGroupStatusHasBeenSet() const
Definition Node.h:111
bool NodeIdHasBeenSet() const
Definition Node.h:47
const Aws::String & GetNodeStatus() const
Definition Node.h:97
Node & WithAvailabilityZone(AvailabilityZoneT &&value)
Definition Node.h:90
void SetAvailabilityZone(AvailabilityZoneT &&value)
Definition Node.h:88
bool NodeCreateTimeHasBeenSet() const
Definition Node.h:74
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue