AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 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 KxNode& WithNodeId(NodeIdT&& value) { SetNodeId(std::forward<NodeIdT>(value)); return *this;}
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) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
63 template<typename AvailabilityZoneIdT = Aws::String>
64 KxNode& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) { SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value)); return *this;}
66
68
73 inline const Aws::Utils::DateTime& GetLaunchTime() const { return m_launchTime; }
74 inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; }
75 template<typename LaunchTimeT = Aws::Utils::DateTime>
76 void SetLaunchTime(LaunchTimeT&& value) { m_launchTimeHasBeenSet = true; m_launchTime = std::forward<LaunchTimeT>(value); }
77 template<typename LaunchTimeT = Aws::Utils::DateTime>
78 KxNode& WithLaunchTime(LaunchTimeT&& value) { SetLaunchTime(std::forward<LaunchTimeT>(value)); return *this;}
80
82
87 inline KxNodeStatus GetStatus() const { return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(KxNodeStatus value) { m_statusHasBeenSet = true; m_status = value; }
90 inline KxNode& WithStatus(KxNodeStatus value) { SetStatus(value); return *this;}
92 private:
93
94 Aws::String m_nodeId;
95 bool m_nodeIdHasBeenSet = false;
96
97 Aws::String m_availabilityZoneId;
98 bool m_availabilityZoneIdHasBeenSet = false;
99
100 Aws::Utils::DateTime m_launchTime{};
101 bool m_launchTimeHasBeenSet = false;
102
104 bool m_statusHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace finspace
109} // namespace Aws
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
Definition KxNode.h:62
bool NodeIdHasBeenSet() const
Definition KxNode.h:47
KxNode & WithNodeId(NodeIdT &&value)
Definition KxNode.h:51
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:46
KxNode & WithLaunchTime(LaunchTimeT &&value)
Definition KxNode.h:78
bool StatusHasBeenSet() const
Definition KxNode.h:88
KxNode & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
Definition KxNode.h:64
KxNode & WithStatus(KxNodeStatus value)
Definition KxNode.h:90
AWS_FINSPACE_API KxNode & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLaunchTime(LaunchTimeT &&value)
Definition KxNode.h:76
KxNodeStatus GetStatus() const
Definition KxNode.h:87
bool LaunchTimeHasBeenSet() const
Definition KxNode.h:74
AWS_FINSPACE_API KxNode()=default
bool AvailabilityZoneIdHasBeenSet() const
Definition KxNode.h:60
const Aws::Utils::DateTime & GetLaunchTime() const
Definition KxNode.h:73
void SetStatus(KxNodeStatus value)
Definition KxNode.h:89
AWS_FINSPACE_API KxNode(Aws::Utils::Json::JsonView jsonValue)
void SetNodeId(NodeIdT &&value)
Definition KxNode.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue