AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KxNode.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/finspace/model/KxNodeStatus.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 finspace
24{
25namespace Model
26{
27
33 class KxNode
34 {
35 public:
36 AWS_FINSPACE_API KxNode();
37 AWS_FINSPACE_API KxNode(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FINSPACE_API KxNode& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
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 KxNode& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
52 inline KxNode& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
53 inline KxNode& WithNodeId(const char* value) { SetNodeId(value); return *this;}
55
57
61 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
62 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
63 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
64 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
65 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
66 inline KxNode& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;}
67 inline KxNode& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
68 inline KxNode& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
70
72
77 inline const Aws::Utils::DateTime& GetLaunchTime() const{ return m_launchTime; }
78 inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; }
79 inline void SetLaunchTime(const Aws::Utils::DateTime& value) { m_launchTimeHasBeenSet = true; m_launchTime = value; }
80 inline void SetLaunchTime(Aws::Utils::DateTime&& value) { m_launchTimeHasBeenSet = true; m_launchTime = std::move(value); }
81 inline KxNode& WithLaunchTime(const Aws::Utils::DateTime& value) { SetLaunchTime(value); return *this;}
82 inline KxNode& WithLaunchTime(Aws::Utils::DateTime&& value) { SetLaunchTime(std::move(value)); return *this;}
84
86
91 inline const KxNodeStatus& GetStatus() const{ return m_status; }
92 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 inline void SetStatus(const KxNodeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
94 inline void SetStatus(KxNodeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
95 inline KxNode& WithStatus(const KxNodeStatus& value) { SetStatus(value); return *this;}
96 inline KxNode& WithStatus(KxNodeStatus&& value) { SetStatus(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_nodeId;
101 bool m_nodeIdHasBeenSet = false;
102
103 Aws::String m_availabilityZoneId;
104 bool m_availabilityZoneIdHasBeenSet = false;
105
106 Aws::Utils::DateTime m_launchTime;
107 bool m_launchTimeHasBeenSet = false;
108
109 KxNodeStatus m_status;
110 bool m_statusHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace finspace
115} // namespace Aws
void SetNodeId(Aws::String &&value)
Definition KxNode.h:49
void SetAvailabilityZoneId(Aws::String &&value)
Definition KxNode.h:64
void SetStatus(KxNodeStatus &&value)
Definition KxNode.h:94
bool NodeIdHasBeenSet() const
Definition KxNode.h:47
void SetAvailabilityZoneId(const Aws::String &value)
Definition KxNode.h:63
void SetAvailabilityZoneId(const char *value)
Definition KxNode.h:65
KxNode & WithAvailabilityZoneId(const Aws::String &value)
Definition KxNode.h:66
const Aws::String & GetAvailabilityZoneId() const
Definition KxNode.h:61
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
KxNode & WithNodeId(const char *value)
Definition KxNode.h:53
const Aws::String & GetNodeId() const
Definition KxNode.h:46
KxNode & WithAvailabilityZoneId(const char *value)
Definition KxNode.h:68
const KxNodeStatus & GetStatus() const
Definition KxNode.h:91
KxNode & WithLaunchTime(Aws::Utils::DateTime &&value)
Definition KxNode.h:82
KxNode & WithLaunchTime(const Aws::Utils::DateTime &value)
Definition KxNode.h:81
bool StatusHasBeenSet() const
Definition KxNode.h:92
KxNode & WithNodeId(Aws::String &&value)
Definition KxNode.h:52
KxNode & WithStatus(const KxNodeStatus &value)
Definition KxNode.h:95
void SetNodeId(const char *value)
Definition KxNode.h:50
void SetStatus(const KxNodeStatus &value)
Definition KxNode.h:93
AWS_FINSPACE_API KxNode & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LaunchTimeHasBeenSet() const
Definition KxNode.h:78
KxNode & WithNodeId(const Aws::String &value)
Definition KxNode.h:51
bool AvailabilityZoneIdHasBeenSet() const
Definition KxNode.h:62
void SetLaunchTime(const Aws::Utils::DateTime &value)
Definition KxNode.h:79
void SetNodeId(const Aws::String &value)
Definition KxNode.h:48
const Aws::Utils::DateTime & GetLaunchTime() const
Definition KxNode.h:77
void SetLaunchTime(Aws::Utils::DateTime &&value)
Definition KxNode.h:80
AWS_FINSPACE_API KxNode()
KxNode & WithStatus(KxNodeStatus &&value)
Definition KxNode.h:96
KxNode & WithAvailabilityZoneId(Aws::String &&value)
Definition KxNode.h:67
AWS_FINSPACE_API KxNode(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue