AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetKxClusterResult.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/finspace/model/TickerplantLogConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/finspace/model/AutoScalingConfiguration.h>
14#include <aws/finspace/model/CapacityConfiguration.h>
15#include <aws/finspace/model/VpcConfiguration.h>
16#include <aws/finspace/model/CodeConfiguration.h>
17#include <aws/core/utils/DateTime.h>
18#include <aws/finspace/model/KxSavedownStorageConfiguration.h>
19#include <aws/finspace/model/KxAzMode.h>
20#include <aws/finspace/model/KxScalingGroupConfiguration.h>
21#include <aws/finspace/model/Volume.h>
22#include <aws/finspace/model/KxDatabaseConfiguration.h>
23#include <aws/finspace/model/KxCacheStorageConfiguration.h>
24#include <aws/finspace/model/KxCommandLineArgument.h>
25#include <utility>
26
27namespace Aws
28{
29template<typename RESULT_TYPE>
30class AmazonWebServiceResult;
31
32namespace Utils
33{
34namespace Json
35{
36 class JsonValue;
37} // namespace Json
38} // namespace Utils
39namespace finspace
40{
41namespace Model
42{
44 {
45 public:
46 AWS_FINSPACE_API GetKxClusterResult() = default;
49
50
52
62 inline KxClusterStatus GetStatus() const { return m_status; }
63 inline void SetStatus(KxClusterStatus value) { m_statusHasBeenSet = true; m_status = value; }
64 inline GetKxClusterResult& WithStatus(KxClusterStatus value) { SetStatus(value); return *this;}
66
68
71 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
72 template<typename StatusReasonT = Aws::String>
73 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
74 template<typename StatusReasonT = Aws::String>
75 GetKxClusterResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
77
79
82 inline const Aws::String& GetClusterName() const { return m_clusterName; }
83 template<typename ClusterNameT = Aws::String>
84 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
85 template<typename ClusterNameT = Aws::String>
86 GetKxClusterResult& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
88
90
115 inline KxClusterType GetClusterType() const { return m_clusterType; }
116 inline void SetClusterType(KxClusterType value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
117 inline GetKxClusterResult& WithClusterType(KxClusterType value) { SetClusterType(value); return *this;}
119
121
122 inline const TickerplantLogConfiguration& GetTickerplantLogConfiguration() const { return m_tickerplantLogConfiguration; }
123 template<typename TickerplantLogConfigurationT = TickerplantLogConfiguration>
124 void SetTickerplantLogConfiguration(TickerplantLogConfigurationT&& value) { m_tickerplantLogConfigurationHasBeenSet = true; m_tickerplantLogConfiguration = std::forward<TickerplantLogConfigurationT>(value); }
125 template<typename TickerplantLogConfigurationT = TickerplantLogConfiguration>
126 GetKxClusterResult& WithTickerplantLogConfiguration(TickerplantLogConfigurationT&& value) { SetTickerplantLogConfiguration(std::forward<TickerplantLogConfigurationT>(value)); return *this;}
128
130
133 inline const Aws::Vector<Volume>& GetVolumes() const { return m_volumes; }
134 template<typename VolumesT = Aws::Vector<Volume>>
135 void SetVolumes(VolumesT&& value) { m_volumesHasBeenSet = true; m_volumes = std::forward<VolumesT>(value); }
136 template<typename VolumesT = Aws::Vector<Volume>>
137 GetKxClusterResult& WithVolumes(VolumesT&& value) { SetVolumes(std::forward<VolumesT>(value)); return *this;}
138 template<typename VolumesT = Volume>
139 GetKxClusterResult& AddVolumes(VolumesT&& value) { m_volumesHasBeenSet = true; m_volumes.emplace_back(std::forward<VolumesT>(value)); return *this; }
141
143
146 inline const Aws::Vector<KxDatabaseConfiguration>& GetDatabases() const { return m_databases; }
147 template<typename DatabasesT = Aws::Vector<KxDatabaseConfiguration>>
148 void SetDatabases(DatabasesT&& value) { m_databasesHasBeenSet = true; m_databases = std::forward<DatabasesT>(value); }
149 template<typename DatabasesT = Aws::Vector<KxDatabaseConfiguration>>
150 GetKxClusterResult& WithDatabases(DatabasesT&& value) { SetDatabases(std::forward<DatabasesT>(value)); return *this;}
151 template<typename DatabasesT = KxDatabaseConfiguration>
152 GetKxClusterResult& AddDatabases(DatabasesT&& value) { m_databasesHasBeenSet = true; m_databases.emplace_back(std::forward<DatabasesT>(value)); return *this; }
154
156
160 inline const Aws::Vector<KxCacheStorageConfiguration>& GetCacheStorageConfigurations() const { return m_cacheStorageConfigurations; }
161 template<typename CacheStorageConfigurationsT = Aws::Vector<KxCacheStorageConfiguration>>
162 void SetCacheStorageConfigurations(CacheStorageConfigurationsT&& value) { m_cacheStorageConfigurationsHasBeenSet = true; m_cacheStorageConfigurations = std::forward<CacheStorageConfigurationsT>(value); }
163 template<typename CacheStorageConfigurationsT = Aws::Vector<KxCacheStorageConfiguration>>
164 GetKxClusterResult& WithCacheStorageConfigurations(CacheStorageConfigurationsT&& value) { SetCacheStorageConfigurations(std::forward<CacheStorageConfigurationsT>(value)); return *this;}
165 template<typename CacheStorageConfigurationsT = KxCacheStorageConfiguration>
166 GetKxClusterResult& AddCacheStorageConfigurations(CacheStorageConfigurationsT&& value) { m_cacheStorageConfigurationsHasBeenSet = true; m_cacheStorageConfigurations.emplace_back(std::forward<CacheStorageConfigurationsT>(value)); return *this; }
168
170
174 inline const AutoScalingConfiguration& GetAutoScalingConfiguration() const { return m_autoScalingConfiguration; }
175 template<typename AutoScalingConfigurationT = AutoScalingConfiguration>
176 void SetAutoScalingConfiguration(AutoScalingConfigurationT&& value) { m_autoScalingConfigurationHasBeenSet = true; m_autoScalingConfiguration = std::forward<AutoScalingConfigurationT>(value); }
177 template<typename AutoScalingConfigurationT = AutoScalingConfiguration>
178 GetKxClusterResult& WithAutoScalingConfiguration(AutoScalingConfigurationT&& value) { SetAutoScalingConfiguration(std::forward<AutoScalingConfigurationT>(value)); return *this;}
180
182
185 inline const Aws::String& GetClusterDescription() const { return m_clusterDescription; }
186 template<typename ClusterDescriptionT = Aws::String>
187 void SetClusterDescription(ClusterDescriptionT&& value) { m_clusterDescriptionHasBeenSet = true; m_clusterDescription = std::forward<ClusterDescriptionT>(value); }
188 template<typename ClusterDescriptionT = Aws::String>
189 GetKxClusterResult& WithClusterDescription(ClusterDescriptionT&& value) { SetClusterDescription(std::forward<ClusterDescriptionT>(value)); return *this;}
191
193
197 inline const CapacityConfiguration& GetCapacityConfiguration() const { return m_capacityConfiguration; }
198 template<typename CapacityConfigurationT = CapacityConfiguration>
199 void SetCapacityConfiguration(CapacityConfigurationT&& value) { m_capacityConfigurationHasBeenSet = true; m_capacityConfiguration = std::forward<CapacityConfigurationT>(value); }
200 template<typename CapacityConfigurationT = CapacityConfiguration>
201 GetKxClusterResult& WithCapacityConfiguration(CapacityConfigurationT&& value) { SetCapacityConfiguration(std::forward<CapacityConfigurationT>(value)); return *this;}
203
205
208 inline const Aws::String& GetReleaseLabel() const { return m_releaseLabel; }
209 template<typename ReleaseLabelT = Aws::String>
210 void SetReleaseLabel(ReleaseLabelT&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::forward<ReleaseLabelT>(value); }
211 template<typename ReleaseLabelT = Aws::String>
212 GetKxClusterResult& WithReleaseLabel(ReleaseLabelT&& value) { SetReleaseLabel(std::forward<ReleaseLabelT>(value)); return *this;}
214
216
220 inline const VpcConfiguration& GetVpcConfiguration() const { return m_vpcConfiguration; }
221 template<typename VpcConfigurationT = VpcConfiguration>
222 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
223 template<typename VpcConfigurationT = VpcConfiguration>
224 GetKxClusterResult& WithVpcConfiguration(VpcConfigurationT&& value) { SetVpcConfiguration(std::forward<VpcConfigurationT>(value)); return *this;}
226
228
234 inline const Aws::String& GetInitializationScript() const { return m_initializationScript; }
235 template<typename InitializationScriptT = Aws::String>
236 void SetInitializationScript(InitializationScriptT&& value) { m_initializationScriptHasBeenSet = true; m_initializationScript = std::forward<InitializationScriptT>(value); }
237 template<typename InitializationScriptT = Aws::String>
238 GetKxClusterResult& WithInitializationScript(InitializationScriptT&& value) { SetInitializationScript(std::forward<InitializationScriptT>(value)); return *this;}
240
242
245 inline const Aws::Vector<KxCommandLineArgument>& GetCommandLineArguments() const { return m_commandLineArguments; }
246 template<typename CommandLineArgumentsT = Aws::Vector<KxCommandLineArgument>>
247 void SetCommandLineArguments(CommandLineArgumentsT&& value) { m_commandLineArgumentsHasBeenSet = true; m_commandLineArguments = std::forward<CommandLineArgumentsT>(value); }
248 template<typename CommandLineArgumentsT = Aws::Vector<KxCommandLineArgument>>
249 GetKxClusterResult& WithCommandLineArguments(CommandLineArgumentsT&& value) { SetCommandLineArguments(std::forward<CommandLineArgumentsT>(value)); return *this;}
250 template<typename CommandLineArgumentsT = KxCommandLineArgument>
251 GetKxClusterResult& AddCommandLineArguments(CommandLineArgumentsT&& value) { m_commandLineArgumentsHasBeenSet = true; m_commandLineArguments.emplace_back(std::forward<CommandLineArgumentsT>(value)); return *this; }
253
255
261 inline const CodeConfiguration& GetCode() const { return m_code; }
262 template<typename CodeT = CodeConfiguration>
263 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
264 template<typename CodeT = CodeConfiguration>
265 GetKxClusterResult& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
267
269
274 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
275 template<typename ExecutionRoleT = Aws::String>
276 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::forward<ExecutionRoleT>(value); }
277 template<typename ExecutionRoleT = Aws::String>
278 GetKxClusterResult& WithExecutionRole(ExecutionRoleT&& value) { SetExecutionRole(std::forward<ExecutionRoleT>(value)); return *this;}
280
282
287 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
288 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
289 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
290 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
291 GetKxClusterResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) { SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value)); return *this;}
293
295
301 inline const KxSavedownStorageConfiguration& GetSavedownStorageConfiguration() const { return m_savedownStorageConfiguration; }
302 template<typename SavedownStorageConfigurationT = KxSavedownStorageConfiguration>
303 void SetSavedownStorageConfiguration(SavedownStorageConfigurationT&& value) { m_savedownStorageConfigurationHasBeenSet = true; m_savedownStorageConfiguration = std::forward<SavedownStorageConfigurationT>(value); }
304 template<typename SavedownStorageConfigurationT = KxSavedownStorageConfiguration>
305 GetKxClusterResult& WithSavedownStorageConfiguration(SavedownStorageConfigurationT&& value) { SetSavedownStorageConfiguration(std::forward<SavedownStorageConfigurationT>(value)); return *this;}
307
309
315 inline KxAzMode GetAzMode() const { return m_azMode; }
316 inline void SetAzMode(KxAzMode value) { m_azModeHasBeenSet = true; m_azMode = value; }
317 inline GetKxClusterResult& WithAzMode(KxAzMode value) { SetAzMode(value); return *this;}
319
321
324 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
325 template<typename AvailabilityZoneIdT = Aws::String>
326 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
327 template<typename AvailabilityZoneIdT = Aws::String>
328 GetKxClusterResult& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) { SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value)); return *this;}
330
332
337 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
338 template<typename CreatedTimestampT = Aws::Utils::DateTime>
339 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
340 template<typename CreatedTimestampT = Aws::Utils::DateTime>
341 GetKxClusterResult& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
343
345
346 inline const KxScalingGroupConfiguration& GetScalingGroupConfiguration() const { return m_scalingGroupConfiguration; }
347 template<typename ScalingGroupConfigurationT = KxScalingGroupConfiguration>
348 void SetScalingGroupConfiguration(ScalingGroupConfigurationT&& value) { m_scalingGroupConfigurationHasBeenSet = true; m_scalingGroupConfiguration = std::forward<ScalingGroupConfigurationT>(value); }
349 template<typename ScalingGroupConfigurationT = KxScalingGroupConfiguration>
350 GetKxClusterResult& WithScalingGroupConfiguration(ScalingGroupConfigurationT&& value) { SetScalingGroupConfiguration(std::forward<ScalingGroupConfigurationT>(value)); return *this;}
352
354
355 inline const Aws::String& GetRequestId() const { return m_requestId; }
356 template<typename RequestIdT = Aws::String>
357 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
358 template<typename RequestIdT = Aws::String>
359 GetKxClusterResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
361 private:
362
364 bool m_statusHasBeenSet = false;
365
366 Aws::String m_statusReason;
367 bool m_statusReasonHasBeenSet = false;
368
369 Aws::String m_clusterName;
370 bool m_clusterNameHasBeenSet = false;
371
373 bool m_clusterTypeHasBeenSet = false;
374
375 TickerplantLogConfiguration m_tickerplantLogConfiguration;
376 bool m_tickerplantLogConfigurationHasBeenSet = false;
377
378 Aws::Vector<Volume> m_volumes;
379 bool m_volumesHasBeenSet = false;
380
382 bool m_databasesHasBeenSet = false;
383
384 Aws::Vector<KxCacheStorageConfiguration> m_cacheStorageConfigurations;
385 bool m_cacheStorageConfigurationsHasBeenSet = false;
386
387 AutoScalingConfiguration m_autoScalingConfiguration;
388 bool m_autoScalingConfigurationHasBeenSet = false;
389
390 Aws::String m_clusterDescription;
391 bool m_clusterDescriptionHasBeenSet = false;
392
393 CapacityConfiguration m_capacityConfiguration;
394 bool m_capacityConfigurationHasBeenSet = false;
395
396 Aws::String m_releaseLabel;
397 bool m_releaseLabelHasBeenSet = false;
398
399 VpcConfiguration m_vpcConfiguration;
400 bool m_vpcConfigurationHasBeenSet = false;
401
402 Aws::String m_initializationScript;
403 bool m_initializationScriptHasBeenSet = false;
404
405 Aws::Vector<KxCommandLineArgument> m_commandLineArguments;
406 bool m_commandLineArgumentsHasBeenSet = false;
407
408 CodeConfiguration m_code;
409 bool m_codeHasBeenSet = false;
410
411 Aws::String m_executionRole;
412 bool m_executionRoleHasBeenSet = false;
413
414 Aws::Utils::DateTime m_lastModifiedTimestamp{};
415 bool m_lastModifiedTimestampHasBeenSet = false;
416
417 KxSavedownStorageConfiguration m_savedownStorageConfiguration;
418 bool m_savedownStorageConfigurationHasBeenSet = false;
419
420 KxAzMode m_azMode{KxAzMode::NOT_SET};
421 bool m_azModeHasBeenSet = false;
422
423 Aws::String m_availabilityZoneId;
424 bool m_availabilityZoneIdHasBeenSet = false;
425
426 Aws::Utils::DateTime m_createdTimestamp{};
427 bool m_createdTimestampHasBeenSet = false;
428
429 KxScalingGroupConfiguration m_scalingGroupConfiguration;
430 bool m_scalingGroupConfigurationHasBeenSet = false;
431
432 Aws::String m_requestId;
433 bool m_requestIdHasBeenSet = false;
434 };
435
436} // namespace Model
437} // namespace finspace
438} // namespace Aws
const VpcConfiguration & GetVpcConfiguration() const
void SetVpcConfiguration(VpcConfigurationT &&value)
GetKxClusterResult & WithStatus(KxClusterStatus value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
AWS_FINSPACE_API GetKxClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKxClusterResult & WithStatusReason(StatusReasonT &&value)
AWS_FINSPACE_API GetKxClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
GetKxClusterResult & AddCacheStorageConfigurations(CacheStorageConfigurationsT &&value)
const CodeConfiguration & GetCode() const
void SetStatusReason(StatusReasonT &&value)
const Aws::String & GetClusterName() const
GetKxClusterResult & WithCommandLineArguments(CommandLineArgumentsT &&value)
void SetExecutionRole(ExecutionRoleT &&value)
GetKxClusterResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< KxCommandLineArgument > & GetCommandLineArguments() const
const KxSavedownStorageConfiguration & GetSavedownStorageConfiguration() const
const Aws::String & GetStatusReason() const
GetKxClusterResult & WithCode(CodeT &&value)
void SetScalingGroupConfiguration(ScalingGroupConfigurationT &&value)
GetKxClusterResult & WithTickerplantLogConfiguration(TickerplantLogConfigurationT &&value)
void SetCapacityConfiguration(CapacityConfigurationT &&value)
const Aws::Vector< Volume > & GetVolumes() const
GetKxClusterResult & WithDatabases(DatabasesT &&value)
void SetReleaseLabel(ReleaseLabelT &&value)
const Aws::String & GetReleaseLabel() const
void SetInitializationScript(InitializationScriptT &&value)
GetKxClusterResult & WithClusterDescription(ClusterDescriptionT &&value)
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
GetKxClusterResult & WithAutoScalingConfiguration(AutoScalingConfigurationT &&value)
GetKxClusterResult & AddCommandLineArguments(CommandLineArgumentsT &&value)
const Aws::String & GetInitializationScript() const
GetKxClusterResult & WithSavedownStorageConfiguration(SavedownStorageConfigurationT &&value)
const TickerplantLogConfiguration & GetTickerplantLogConfiguration() const
void SetClusterDescription(ClusterDescriptionT &&value)
const Aws::Vector< KxCacheStorageConfiguration > & GetCacheStorageConfigurations() const
const CapacityConfiguration & GetCapacityConfiguration() const
void SetCommandLineArguments(CommandLineArgumentsT &&value)
const AutoScalingConfiguration & GetAutoScalingConfiguration() const
const Aws::String & GetExecutionRole() const
AWS_FINSPACE_API GetKxClusterResult()=default
GetKxClusterResult & WithClusterType(KxClusterType value)
GetKxClusterResult & WithCreatedTimestamp(CreatedTimestampT &&value)
void SetSavedownStorageConfiguration(SavedownStorageConfigurationT &&value)
GetKxClusterResult & AddDatabases(DatabasesT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
GetKxClusterResult & WithReleaseLabel(ReleaseLabelT &&value)
const Aws::Vector< KxDatabaseConfiguration > & GetDatabases() const
GetKxClusterResult & WithVpcConfiguration(VpcConfigurationT &&value)
void SetCacheStorageConfigurations(CacheStorageConfigurationsT &&value)
GetKxClusterResult & WithInitializationScript(InitializationScriptT &&value)
void SetAutoScalingConfiguration(AutoScalingConfigurationT &&value)
GetKxClusterResult & WithVolumes(VolumesT &&value)
void SetTickerplantLogConfiguration(TickerplantLogConfigurationT &&value)
GetKxClusterResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
GetKxClusterResult & WithCapacityConfiguration(CapacityConfigurationT &&value)
GetKxClusterResult & WithExecutionRole(ExecutionRoleT &&value)
GetKxClusterResult & WithAzMode(KxAzMode value)
const Aws::String & GetAvailabilityZoneId() const
GetKxClusterResult & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
GetKxClusterResult & WithScalingGroupConfiguration(ScalingGroupConfigurationT &&value)
const KxScalingGroupConfiguration & GetScalingGroupConfiguration() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
const Aws::String & GetClusterDescription() const
GetKxClusterResult & WithClusterName(ClusterNameT &&value)
GetKxClusterResult & AddVolumes(VolumesT &&value)
GetKxClusterResult & WithCacheStorageConfigurations(CacheStorageConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue