AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KxCluster.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/model/KxClusterStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/finspace/model/KxClusterType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/finspace/model/KxAzMode.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/finspace/model/Volume.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace finspace
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_FINSPACE_API KxCluster();
41 AWS_FINSPACE_API KxCluster(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FINSPACE_API KxCluster& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
57 inline const KxClusterStatus& GetStatus() const{ return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(const KxClusterStatus& value) { m_statusHasBeenSet = true; m_status = value; }
60 inline void SetStatus(KxClusterStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
61 inline KxCluster& WithStatus(const KxClusterStatus& value) { SetStatus(value); return *this;}
62 inline KxCluster& WithStatus(KxClusterStatus&& value) { SetStatus(std::move(value)); return *this;}
64
66
69 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
70 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
71 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
72 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
73 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
74 inline KxCluster& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
75 inline KxCluster& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
76 inline KxCluster& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
78
80
83 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
84 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
85 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
86 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
87 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
88 inline KxCluster& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
89 inline KxCluster& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
90 inline KxCluster& WithClusterName(const char* value) { SetClusterName(value); return *this;}
92
94
119 inline const KxClusterType& GetClusterType() const{ return m_clusterType; }
120 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
121 inline void SetClusterType(const KxClusterType& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
122 inline void SetClusterType(KxClusterType&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
123 inline KxCluster& WithClusterType(const KxClusterType& value) { SetClusterType(value); return *this;}
124 inline KxCluster& WithClusterType(KxClusterType&& value) { SetClusterType(std::move(value)); return *this;}
126
128
131 inline const Aws::String& GetClusterDescription() const{ return m_clusterDescription; }
132 inline bool ClusterDescriptionHasBeenSet() const { return m_clusterDescriptionHasBeenSet; }
133 inline void SetClusterDescription(const Aws::String& value) { m_clusterDescriptionHasBeenSet = true; m_clusterDescription = value; }
134 inline void SetClusterDescription(Aws::String&& value) { m_clusterDescriptionHasBeenSet = true; m_clusterDescription = std::move(value); }
135 inline void SetClusterDescription(const char* value) { m_clusterDescriptionHasBeenSet = true; m_clusterDescription.assign(value); }
136 inline KxCluster& WithClusterDescription(const Aws::String& value) { SetClusterDescription(value); return *this;}
137 inline KxCluster& WithClusterDescription(Aws::String&& value) { SetClusterDescription(std::move(value)); return *this;}
138 inline KxCluster& WithClusterDescription(const char* value) { SetClusterDescription(value); return *this;}
140
142
145 inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; }
146 inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; }
147 inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; }
148 inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); }
149 inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); }
150 inline KxCluster& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;}
151 inline KxCluster& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;}
152 inline KxCluster& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;}
154
156
159 inline const Aws::Vector<Volume>& GetVolumes() const{ return m_volumes; }
160 inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; }
161 inline void SetVolumes(const Aws::Vector<Volume>& value) { m_volumesHasBeenSet = true; m_volumes = value; }
162 inline void SetVolumes(Aws::Vector<Volume>&& value) { m_volumesHasBeenSet = true; m_volumes = std::move(value); }
163 inline KxCluster& WithVolumes(const Aws::Vector<Volume>& value) { SetVolumes(value); return *this;}
164 inline KxCluster& WithVolumes(Aws::Vector<Volume>&& value) { SetVolumes(std::move(value)); return *this;}
165 inline KxCluster& AddVolumes(const Volume& value) { m_volumesHasBeenSet = true; m_volumes.push_back(value); return *this; }
166 inline KxCluster& AddVolumes(Volume&& value) { m_volumesHasBeenSet = true; m_volumes.push_back(std::move(value)); return *this; }
168
170
176 inline const Aws::String& GetInitializationScript() const{ return m_initializationScript; }
177 inline bool InitializationScriptHasBeenSet() const { return m_initializationScriptHasBeenSet; }
178 inline void SetInitializationScript(const Aws::String& value) { m_initializationScriptHasBeenSet = true; m_initializationScript = value; }
179 inline void SetInitializationScript(Aws::String&& value) { m_initializationScriptHasBeenSet = true; m_initializationScript = std::move(value); }
180 inline void SetInitializationScript(const char* value) { m_initializationScriptHasBeenSet = true; m_initializationScript.assign(value); }
181 inline KxCluster& WithInitializationScript(const Aws::String& value) { SetInitializationScript(value); return *this;}
182 inline KxCluster& WithInitializationScript(Aws::String&& value) { SetInitializationScript(std::move(value)); return *this;}
183 inline KxCluster& WithInitializationScript(const char* value) { SetInitializationScript(value); return *this;}
185
187
192 inline const Aws::String& GetExecutionRole() const{ return m_executionRole; }
193 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
194 inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; }
195 inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); }
196 inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); }
197 inline KxCluster& WithExecutionRole(const Aws::String& value) { SetExecutionRole(value); return *this;}
198 inline KxCluster& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;}
199 inline KxCluster& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;}
201
203
209 inline const KxAzMode& GetAzMode() const{ return m_azMode; }
210 inline bool AzModeHasBeenSet() const { return m_azModeHasBeenSet; }
211 inline void SetAzMode(const KxAzMode& value) { m_azModeHasBeenSet = true; m_azMode = value; }
212 inline void SetAzMode(KxAzMode&& value) { m_azModeHasBeenSet = true; m_azMode = std::move(value); }
213 inline KxCluster& WithAzMode(const KxAzMode& value) { SetAzMode(value); return *this;}
214 inline KxCluster& WithAzMode(KxAzMode&& value) { SetAzMode(std::move(value)); return *this;}
216
218
221 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
222 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
223 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
224 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
225 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
226 inline KxCluster& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;}
227 inline KxCluster& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
228 inline KxCluster& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
230
232
237 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
238 inline bool LastModifiedTimestampHasBeenSet() const { return m_lastModifiedTimestampHasBeenSet; }
239 inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = value; }
240 inline void SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::move(value); }
242 inline KxCluster& WithLastModifiedTimestamp(Aws::Utils::DateTime&& value) { SetLastModifiedTimestamp(std::move(value)); return *this;}
244
246
251 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
252 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
253 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
254 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
255 inline KxCluster& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
256 inline KxCluster& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
258 private:
259
260 KxClusterStatus m_status;
261 bool m_statusHasBeenSet = false;
262
263 Aws::String m_statusReason;
264 bool m_statusReasonHasBeenSet = false;
265
266 Aws::String m_clusterName;
267 bool m_clusterNameHasBeenSet = false;
268
269 KxClusterType m_clusterType;
270 bool m_clusterTypeHasBeenSet = false;
271
272 Aws::String m_clusterDescription;
273 bool m_clusterDescriptionHasBeenSet = false;
274
275 Aws::String m_releaseLabel;
276 bool m_releaseLabelHasBeenSet = false;
277
278 Aws::Vector<Volume> m_volumes;
279 bool m_volumesHasBeenSet = false;
280
281 Aws::String m_initializationScript;
282 bool m_initializationScriptHasBeenSet = false;
283
284 Aws::String m_executionRole;
285 bool m_executionRoleHasBeenSet = false;
286
287 KxAzMode m_azMode;
288 bool m_azModeHasBeenSet = false;
289
290 Aws::String m_availabilityZoneId;
291 bool m_availabilityZoneIdHasBeenSet = false;
292
293 Aws::Utils::DateTime m_lastModifiedTimestamp;
294 bool m_lastModifiedTimestampHasBeenSet = false;
295
296 Aws::Utils::DateTime m_createdTimestamp;
297 bool m_createdTimestampHasBeenSet = false;
298 };
299
300} // namespace Model
301} // namespace finspace
302} // namespace Aws
void SetExecutionRole(Aws::String &&value)
Definition KxCluster.h:195
KxCluster & WithReleaseLabel(const char *value)
Definition KxCluster.h:152
KxCluster & WithStatusReason(const Aws::String &value)
Definition KxCluster.h:74
void SetVolumes(const Aws::Vector< Volume > &value)
Definition KxCluster.h:161
KxCluster & WithClusterType(const KxClusterType &value)
Definition KxCluster.h:123
void SetAzMode(KxAzMode &&value)
Definition KxCluster.h:212
void SetReleaseLabel(Aws::String &&value)
Definition KxCluster.h:148
const Aws::String & GetClusterDescription() const
Definition KxCluster.h:131
void SetClusterName(Aws::String &&value)
Definition KxCluster.h:86
bool ClusterDescriptionHasBeenSet() const
Definition KxCluster.h:132
void SetClusterType(KxClusterType &&value)
Definition KxCluster.h:122
void SetExecutionRole(const Aws::String &value)
Definition KxCluster.h:194
KxCluster & WithClusterType(KxClusterType &&value)
Definition KxCluster.h:124
KxCluster & WithClusterDescription(const char *value)
Definition KxCluster.h:138
KxCluster & AddVolumes(Volume &&value)
Definition KxCluster.h:166
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
Definition KxCluster.h:239
KxCluster & WithInitializationScript(const char *value)
Definition KxCluster.h:183
void SetAvailabilityZoneId(Aws::String &&value)
Definition KxCluster.h:224
const KxClusterStatus & GetStatus() const
Definition KxCluster.h:57
const KxAzMode & GetAzMode() const
Definition KxCluster.h:209
KxCluster & WithAvailabilityZoneId(const Aws::String &value)
Definition KxCluster.h:226
void SetReleaseLabel(const Aws::String &value)
Definition KxCluster.h:147
bool InitializationScriptHasBeenSet() const
Definition KxCluster.h:177
void SetClusterDescription(const char *value)
Definition KxCluster.h:135
KxCluster & WithStatusReason(Aws::String &&value)
Definition KxCluster.h:75
void SetVolumes(Aws::Vector< Volume > &&value)
Definition KxCluster.h:162
AWS_FINSPACE_API KxCluster()
KxCluster & WithExecutionRole(const char *value)
Definition KxCluster.h:199
bool LastModifiedTimestampHasBeenSet() const
Definition KxCluster.h:238
void SetClusterName(const char *value)
Definition KxCluster.h:87
const Aws::Vector< Volume > & GetVolumes() const
Definition KxCluster.h:159
void SetInitializationScript(Aws::String &&value)
Definition KxCluster.h:179
bool AvailabilityZoneIdHasBeenSet() const
Definition KxCluster.h:222
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition KxCluster.h:254
void SetInitializationScript(const Aws::String &value)
Definition KxCluster.h:178
void SetClusterType(const KxClusterType &value)
Definition KxCluster.h:121
void SetStatusReason(const Aws::String &value)
Definition KxCluster.h:71
AWS_FINSPACE_API KxCluster(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInitializationScript() const
Definition KxCluster.h:176
bool CreatedTimestampHasBeenSet() const
Definition KxCluster.h:252
AWS_FINSPACE_API KxCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
KxCluster & WithClusterName(const Aws::String &value)
Definition KxCluster.h:88
KxCluster & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition KxCluster.h:256
KxCluster & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition KxCluster.h:255
KxCluster & WithAzMode(const KxAzMode &value)
Definition KxCluster.h:213
void SetInitializationScript(const char *value)
Definition KxCluster.h:180
KxCluster & WithInitializationScript(const Aws::String &value)
Definition KxCluster.h:181
KxCluster & WithStatus(const KxClusterStatus &value)
Definition KxCluster.h:61
const Aws::String & GetReleaseLabel() const
Definition KxCluster.h:145
KxCluster & WithReleaseLabel(const Aws::String &value)
Definition KxCluster.h:150
KxCluster & WithClusterDescription(const Aws::String &value)
Definition KxCluster.h:136
KxCluster & WithAzMode(KxAzMode &&value)
Definition KxCluster.h:214
KxCluster & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
Definition KxCluster.h:242
const KxClusterType & GetClusterType() const
Definition KxCluster.h:119
void SetStatus(const KxClusterStatus &value)
Definition KxCluster.h:59
const Aws::String & GetClusterName() const
Definition KxCluster.h:83
KxCluster & WithClusterName(Aws::String &&value)
Definition KxCluster.h:89
void SetClusterName(const Aws::String &value)
Definition KxCluster.h:85
KxCluster & WithAvailabilityZoneId(Aws::String &&value)
Definition KxCluster.h:227
KxCluster & WithClusterDescription(Aws::String &&value)
Definition KxCluster.h:137
KxCluster & WithAvailabilityZoneId(const char *value)
Definition KxCluster.h:228
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition KxCluster.h:251
KxCluster & WithReleaseLabel(Aws::String &&value)
Definition KxCluster.h:151
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
Definition KxCluster.h:237
KxCluster & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
Definition KxCluster.h:241
void SetStatus(KxClusterStatus &&value)
Definition KxCluster.h:60
void SetReleaseLabel(const char *value)
Definition KxCluster.h:149
void SetClusterDescription(const Aws::String &value)
Definition KxCluster.h:133
void SetExecutionRole(const char *value)
Definition KxCluster.h:196
KxCluster & WithExecutionRole(Aws::String &&value)
Definition KxCluster.h:198
const Aws::String & GetAvailabilityZoneId() const
Definition KxCluster.h:221
void SetStatusReason(const char *value)
Definition KxCluster.h:73
void SetAvailabilityZoneId(const char *value)
Definition KxCluster.h:225
KxCluster & AddVolumes(const Volume &value)
Definition KxCluster.h:165
void SetStatusReason(Aws::String &&value)
Definition KxCluster.h:72
KxCluster & WithStatus(KxClusterStatus &&value)
Definition KxCluster.h:62
const Aws::String & GetExecutionRole() const
Definition KxCluster.h:192
KxCluster & WithVolumes(const Aws::Vector< Volume > &value)
Definition KxCluster.h:163
KxCluster & WithInitializationScript(Aws::String &&value)
Definition KxCluster.h:182
KxCluster & WithExecutionRole(const Aws::String &value)
Definition KxCluster.h:197
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStatusReason() const
Definition KxCluster.h:69
KxCluster & WithStatusReason(const char *value)
Definition KxCluster.h:76
void SetClusterDescription(Aws::String &&value)
Definition KxCluster.h:134
void SetAvailabilityZoneId(const Aws::String &value)
Definition KxCluster.h:223
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition KxCluster.h:253
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
Definition KxCluster.h:240
KxCluster & WithVolumes(Aws::Vector< Volume > &&value)
Definition KxCluster.h:164
void SetAzMode(const KxAzMode &value)
Definition KxCluster.h:211
KxCluster & WithClusterName(const char *value)
Definition KxCluster.h:90
bool StatusReasonHasBeenSet() const
Definition KxCluster.h:70
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue