AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodeInstance.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/model/NodeInstanceStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Panorama
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PANORAMA_API NodeInstance();
36 AWS_PANORAMA_API NodeInstance(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const NodeInstanceStatus& GetCurrentStatus() const{ return m_currentStatus; }
46 inline bool CurrentStatusHasBeenSet() const { return m_currentStatusHasBeenSet; }
47 inline void SetCurrentStatus(const NodeInstanceStatus& value) { m_currentStatusHasBeenSet = true; m_currentStatus = value; }
48 inline void SetCurrentStatus(NodeInstanceStatus&& value) { m_currentStatusHasBeenSet = true; m_currentStatus = std::move(value); }
49 inline NodeInstance& WithCurrentStatus(const NodeInstanceStatus& value) { SetCurrentStatus(value); return *this;}
50 inline NodeInstance& WithCurrentStatus(NodeInstanceStatus&& value) { SetCurrentStatus(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetNodeId() const{ return m_nodeId; }
58 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
59 inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; }
60 inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); }
61 inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); }
62 inline NodeInstance& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
63 inline NodeInstance& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
64 inline NodeInstance& WithNodeId(const char* value) { SetNodeId(value); return *this;}
66
68
71 inline const Aws::String& GetNodeInstanceId() const{ return m_nodeInstanceId; }
72 inline bool NodeInstanceIdHasBeenSet() const { return m_nodeInstanceIdHasBeenSet; }
73 inline void SetNodeInstanceId(const Aws::String& value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId = value; }
74 inline void SetNodeInstanceId(Aws::String&& value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId = std::move(value); }
75 inline void SetNodeInstanceId(const char* value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId.assign(value); }
76 inline NodeInstance& WithNodeInstanceId(const Aws::String& value) { SetNodeInstanceId(value); return *this;}
77 inline NodeInstance& WithNodeInstanceId(Aws::String&& value) { SetNodeInstanceId(std::move(value)); return *this;}
78 inline NodeInstance& WithNodeInstanceId(const char* value) { SetNodeInstanceId(value); return *this;}
80
82
85 inline const Aws::String& GetNodeName() const{ return m_nodeName; }
86 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
87 inline void SetNodeName(const Aws::String& value) { m_nodeNameHasBeenSet = true; m_nodeName = value; }
88 inline void SetNodeName(Aws::String&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::move(value); }
89 inline void SetNodeName(const char* value) { m_nodeNameHasBeenSet = true; m_nodeName.assign(value); }
90 inline NodeInstance& WithNodeName(const Aws::String& value) { SetNodeName(value); return *this;}
91 inline NodeInstance& WithNodeName(Aws::String&& value) { SetNodeName(std::move(value)); return *this;}
92 inline NodeInstance& WithNodeName(const char* value) { SetNodeName(value); return *this;}
94
96
99 inline const Aws::String& GetPackageName() const{ return m_packageName; }
100 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
101 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
102 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
103 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
104 inline NodeInstance& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
105 inline NodeInstance& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
106 inline NodeInstance& WithPackageName(const char* value) { SetPackageName(value); return *this;}
108
110
113 inline const Aws::String& GetPackagePatchVersion() const{ return m_packagePatchVersion; }
114 inline bool PackagePatchVersionHasBeenSet() const { return m_packagePatchVersionHasBeenSet; }
115 inline void SetPackagePatchVersion(const Aws::String& value) { m_packagePatchVersionHasBeenSet = true; m_packagePatchVersion = value; }
116 inline void SetPackagePatchVersion(Aws::String&& value) { m_packagePatchVersionHasBeenSet = true; m_packagePatchVersion = std::move(value); }
117 inline void SetPackagePatchVersion(const char* value) { m_packagePatchVersionHasBeenSet = true; m_packagePatchVersion.assign(value); }
118 inline NodeInstance& WithPackagePatchVersion(const Aws::String& value) { SetPackagePatchVersion(value); return *this;}
119 inline NodeInstance& WithPackagePatchVersion(Aws::String&& value) { SetPackagePatchVersion(std::move(value)); return *this;}
120 inline NodeInstance& WithPackagePatchVersion(const char* value) { SetPackagePatchVersion(value); return *this;}
122
124
127 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
128 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
129 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
130 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
131 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
132 inline NodeInstance& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
133 inline NodeInstance& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
134 inline NodeInstance& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
136 private:
137
138 NodeInstanceStatus m_currentStatus;
139 bool m_currentStatusHasBeenSet = false;
140
141 Aws::String m_nodeId;
142 bool m_nodeIdHasBeenSet = false;
143
144 Aws::String m_nodeInstanceId;
145 bool m_nodeInstanceIdHasBeenSet = false;
146
147 Aws::String m_nodeName;
148 bool m_nodeNameHasBeenSet = false;
149
150 Aws::String m_packageName;
151 bool m_packageNameHasBeenSet = false;
152
153 Aws::String m_packagePatchVersion;
154 bool m_packagePatchVersionHasBeenSet = false;
155
156 Aws::String m_packageVersion;
157 bool m_packageVersionHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Panorama
162} // namespace Aws
const Aws::String & GetNodeId() const
void SetNodeInstanceId(const Aws::String &value)
NodeInstance & WithNodeId(Aws::String &&value)
NodeInstance & WithNodeId(const char *value)
void SetNodeId(const Aws::String &value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
NodeInstance & WithNodeInstanceId(const char *value)
void SetPackageName(const Aws::String &value)
const Aws::String & GetNodeInstanceId() const
void SetNodeInstanceId(const char *value)
const NodeInstanceStatus & GetCurrentStatus() const
void SetNodeName(const Aws::String &value)
void SetPackagePatchVersion(const char *value)
const Aws::String & GetPackageVersion() const
void SetPackageVersion(Aws::String &&value)
NodeInstance & WithPackageVersion(Aws::String &&value)
const Aws::String & GetNodeName() const
NodeInstance & WithPackageName(const char *value)
NodeInstance & WithPackagePatchVersion(Aws::String &&value)
void SetCurrentStatus(NodeInstanceStatus &&value)
void SetPackageVersion(const Aws::String &value)
NodeInstance & WithNodeName(Aws::String &&value)
void SetNodeId(Aws::String &&value)
void SetPackageVersion(const char *value)
void SetCurrentStatus(const NodeInstanceStatus &value)
void SetNodeName(const char *value)
NodeInstance & WithPackageVersion(const char *value)
void SetPackageName(Aws::String &&value)
AWS_PANORAMA_API NodeInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeInstance & WithCurrentStatus(NodeInstanceStatus &&value)
NodeInstance & WithPackagePatchVersion(const Aws::String &value)
const Aws::String & GetPackageName() const
NodeInstance & WithNodeName(const Aws::String &value)
void SetNodeName(Aws::String &&value)
NodeInstance & WithPackageName(Aws::String &&value)
NodeInstance & WithCurrentStatus(const NodeInstanceStatus &value)
AWS_PANORAMA_API NodeInstance(Aws::Utils::Json::JsonView jsonValue)
void SetNodeId(const char *value)
NodeInstance & WithPackagePatchVersion(const char *value)
NodeInstance & WithPackageName(const Aws::String &value)
void SetNodeInstanceId(Aws::String &&value)
void SetPackagePatchVersion(const Aws::String &value)
NodeInstance & WithPackageVersion(const Aws::String &value)
void SetPackageName(const char *value)
void SetPackagePatchVersion(Aws::String &&value)
const Aws::String & GetPackagePatchVersion() const
NodeInstance & WithNodeInstanceId(Aws::String &&value)
NodeInstance & WithNodeId(const Aws::String &value)
NodeInstance & WithNodeInstanceId(const Aws::String &value)
NodeInstance & WithNodeName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue