AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
KxNode.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/Finspace_EXPORTS.h>
10#include <aws/finspace/model/KxNodeStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace finspace {
22namespace Model {
23
29class KxNode {
30 public:
31 AWS_FINSPACE_API KxNode() = default;
32 AWS_FINSPACE_API KxNode(Aws::Utils::Json::JsonView jsonValue);
33 AWS_FINSPACE_API KxNode& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetNodeId() const { return m_nodeId; }
41 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
42 template <typename NodeIdT = Aws::String>
43 void SetNodeId(NodeIdT&& value) {
44 m_nodeIdHasBeenSet = true;
45 m_nodeId = std::forward<NodeIdT>(value);
46 }
47 template <typename NodeIdT = Aws::String>
48 KxNode& WithNodeId(NodeIdT&& value) {
49 SetNodeId(std::forward<NodeIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
60 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
61 template <typename AvailabilityZoneIdT = Aws::String>
62 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) {
63 m_availabilityZoneIdHasBeenSet = true;
64 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
65 }
66 template <typename AvailabilityZoneIdT = Aws::String>
67 KxNode& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) {
68 SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::Utils::DateTime& GetLaunchTime() const { return m_launchTime; }
80 inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; }
81 template <typename LaunchTimeT = Aws::Utils::DateTime>
82 void SetLaunchTime(LaunchTimeT&& value) {
83 m_launchTimeHasBeenSet = true;
84 m_launchTime = std::forward<LaunchTimeT>(value);
85 }
86 template <typename LaunchTimeT = Aws::Utils::DateTime>
87 KxNode& WithLaunchTime(LaunchTimeT&& value) {
88 SetLaunchTime(std::forward<LaunchTimeT>(value));
89 return *this;
90 }
92
94
99 inline KxNodeStatus GetStatus() const { return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(KxNodeStatus value) {
102 m_statusHasBeenSet = true;
103 m_status = value;
104 }
106 SetStatus(value);
107 return *this;
108 }
110 private:
111 Aws::String m_nodeId;
112
113 Aws::String m_availabilityZoneId;
114
115 Aws::Utils::DateTime m_launchTime{};
116
118 bool m_nodeIdHasBeenSet = false;
119 bool m_availabilityZoneIdHasBeenSet = false;
120 bool m_launchTimeHasBeenSet = false;
121 bool m_statusHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace finspace
126} // namespace Aws
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
Definition KxNode.h:62
bool NodeIdHasBeenSet() const
Definition KxNode.h:41
KxNode & WithNodeId(NodeIdT &&value)
Definition KxNode.h:48
const Aws::String & GetAvailabilityZoneId() const
Definition KxNode.h:59
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetNodeId() const
Definition KxNode.h:40
KxNode & WithLaunchTime(LaunchTimeT &&value)
Definition KxNode.h:87
bool StatusHasBeenSet() const
Definition KxNode.h:100
KxNode & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
Definition KxNode.h:67
KxNode & WithStatus(KxNodeStatus value)
Definition KxNode.h:105
AWS_FINSPACE_API KxNode & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLaunchTime(LaunchTimeT &&value)
Definition KxNode.h:82
KxNodeStatus GetStatus() const
Definition KxNode.h:99
bool LaunchTimeHasBeenSet() const
Definition KxNode.h:80
AWS_FINSPACE_API KxNode()=default
bool AvailabilityZoneIdHasBeenSet() const
Definition KxNode.h:60
const Aws::Utils::DateTime & GetLaunchTime() const
Definition KxNode.h:79
void SetStatus(KxNodeStatus value)
Definition KxNode.h:101
AWS_FINSPACE_API KxNode(Aws::Utils::Json::JsonView jsonValue)
void SetNodeId(NodeIdT &&value)
Definition KxNode.h:43
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue