7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/finspace/FinspaceRequest.h>
12#include <aws/finspace/Finspace_EXPORTS.h>
13#include <aws/finspace/model/AutoScalingConfiguration.h>
14#include <aws/finspace/model/CapacityConfiguration.h>
15#include <aws/finspace/model/CodeConfiguration.h>
16#include <aws/finspace/model/KxAzMode.h>
17#include <aws/finspace/model/KxCacheStorageConfiguration.h>
18#include <aws/finspace/model/KxClusterType.h>
19#include <aws/finspace/model/KxCommandLineArgument.h>
20#include <aws/finspace/model/KxDatabaseConfiguration.h>
21#include <aws/finspace/model/KxSavedownStorageConfiguration.h>
22#include <aws/finspace/model/KxScalingGroupConfiguration.h>
23#include <aws/finspace/model/TickerplantLogConfiguration.h>
24#include <aws/finspace/model/VpcConfiguration.h>
52 template <
typename ClientTokenT = Aws::String>
54 m_clientTokenHasBeenSet =
true;
55 m_clientToken = std::forward<ClientTokenT>(value);
57 template <
typename ClientTokenT = Aws::String>
70 template <
typename EnvironmentIdT = Aws::String>
72 m_environmentIdHasBeenSet =
true;
73 m_environmentId = std::forward<EnvironmentIdT>(value);
75 template <
typename EnvironmentIdT = Aws::String>
88 template <
typename ClusterNameT = Aws::String>
90 m_clusterNameHasBeenSet =
true;
91 m_clusterName = std::forward<ClusterNameT>(value);
93 template <
typename ClusterNameT = Aws::String>
129 m_clusterTypeHasBeenSet =
true;
130 m_clusterType = value;
147 template <
typename TickerplantLogConfigurationT = TickerplantLogConfiguration>
149 m_tickerplantLogConfigurationHasBeenSet =
true;
150 m_tickerplantLogConfiguration = std::forward<TickerplantLogConfigurationT>(value);
152 template <
typename TickerplantLogConfigurationT = TickerplantLogConfiguration>
165 template <
typename DatabasesT = Aws::Vector<KxDatabaseConfiguration>>
167 m_databasesHasBeenSet =
true;
168 m_databases = std::forward<DatabasesT>(value);
170 template <
typename DatabasesT = Aws::Vector<KxDatabaseConfiguration>>
175 template <
typename DatabasesT = KxDatabaseConfiguration>
177 m_databasesHasBeenSet =
true;
178 m_databases.emplace_back(std::forward<DatabasesT>(value));
190 template <
typename CacheStorageConfigurationsT = Aws::Vector<KxCacheStorageConfiguration>>
192 m_cacheStorageConfigurationsHasBeenSet =
true;
193 m_cacheStorageConfigurations = std::forward<CacheStorageConfigurationsT>(value);
195 template <
typename CacheStorageConfigurationsT = Aws::Vector<KxCacheStorageConfiguration>>
200 template <
typename CacheStorageConfigurationsT = KxCacheStorageConfiguration>
202 m_cacheStorageConfigurationsHasBeenSet =
true;
203 m_cacheStorageConfigurations.emplace_back(std::forward<CacheStorageConfigurationsT>(value));
215 template <
typename AutoScalingConfigurationT = AutoScalingConfiguration>
217 m_autoScalingConfigurationHasBeenSet =
true;
218 m_autoScalingConfiguration = std::forward<AutoScalingConfigurationT>(value);
220 template <
typename AutoScalingConfigurationT = AutoScalingConfiguration>
233 template <
typename ClusterDescriptionT = Aws::String>
235 m_clusterDescriptionHasBeenSet =
true;
236 m_clusterDescription = std::forward<ClusterDescriptionT>(value);
238 template <
typename ClusterDescriptionT = Aws::String>
252 template <
typename CapacityConfigurationT = CapacityConfiguration>
254 m_capacityConfigurationHasBeenSet =
true;
255 m_capacityConfiguration = std::forward<CapacityConfigurationT>(value);
257 template <
typename CapacityConfigurationT = CapacityConfiguration>
270 template <
typename ReleaseLabelT = Aws::String>
272 m_releaseLabelHasBeenSet =
true;
273 m_releaseLabel = std::forward<ReleaseLabelT>(value);
275 template <
typename ReleaseLabelT = Aws::String>
289 template <
typename VpcConfigurationT = VpcConfiguration>
291 m_vpcConfigurationHasBeenSet =
true;
292 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
294 template <
typename VpcConfigurationT = VpcConfiguration>
310 template <
typename InitializationScriptT = Aws::String>
312 m_initializationScriptHasBeenSet =
true;
313 m_initializationScript = std::forward<InitializationScriptT>(value);
315 template <
typename InitializationScriptT = Aws::String>
328 template <
typename CommandLineArgumentsT = Aws::Vector<KxCommandLineArgument>>
330 m_commandLineArgumentsHasBeenSet =
true;
331 m_commandLineArguments = std::forward<CommandLineArgumentsT>(value);
333 template <
typename CommandLineArgumentsT = Aws::Vector<KxCommandLineArgument>>
338 template <
typename CommandLineArgumentsT = KxCommandLineArgument>
340 m_commandLineArgumentsHasBeenSet =
true;
341 m_commandLineArguments.emplace_back(std::forward<CommandLineArgumentsT>(value));
355 template <
typename CodeT = CodeConfiguration>
357 m_codeHasBeenSet =
true;
358 m_code = std::forward<CodeT>(value);
360 template <
typename CodeT = CodeConfiguration>
362 SetCode(std::forward<CodeT>(value));
375 template <
typename ExecutionRoleT = Aws::String>
377 m_executionRoleHasBeenSet =
true;
378 m_executionRole = std::forward<ExecutionRoleT>(value);
380 template <
typename ExecutionRoleT = Aws::String>
396 template <
typename SavedownStorageConfigurationT = KxSavedownStorageConfiguration>
398 m_savedownStorageConfigurationHasBeenSet =
true;
399 m_savedownStorageConfiguration = std::forward<SavedownStorageConfigurationT>(value);
401 template <
typename SavedownStorageConfigurationT = KxSavedownStorageConfiguration>
418 m_azModeHasBeenSet =
true;
433 template <
typename AvailabilityZoneIdT = Aws::String>
435 m_availabilityZoneIdHasBeenSet =
true;
436 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
438 template <
typename AvailabilityZoneIdT = Aws::String>
452 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
454 m_tagsHasBeenSet =
true;
455 m_tags = std::forward<TagsT>(value);
457 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
459 SetTags(std::forward<TagsT>(value));
462 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
464 m_tagsHasBeenSet =
true;
465 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
476 template <
typename ScalingGroupConfigurationT = KxScalingGroupConfiguration>
478 m_scalingGroupConfigurationHasBeenSet =
true;
479 m_scalingGroupConfiguration = std::forward<ScalingGroupConfigurationT>(value);
481 template <
typename ScalingGroupConfigurationT = KxScalingGroupConfiguration>
489 bool m_clientTokenHasBeenSet =
true;
492 bool m_environmentIdHasBeenSet =
false;
495 bool m_clusterNameHasBeenSet =
false;
498 bool m_clusterTypeHasBeenSet =
false;
500 TickerplantLogConfiguration m_tickerplantLogConfiguration;
501 bool m_tickerplantLogConfigurationHasBeenSet =
false;
504 bool m_databasesHasBeenSet =
false;
507 bool m_cacheStorageConfigurationsHasBeenSet =
false;
509 AutoScalingConfiguration m_autoScalingConfiguration;
510 bool m_autoScalingConfigurationHasBeenSet =
false;
513 bool m_clusterDescriptionHasBeenSet =
false;
515 CapacityConfiguration m_capacityConfiguration;
516 bool m_capacityConfigurationHasBeenSet =
false;
519 bool m_releaseLabelHasBeenSet =
false;
521 VpcConfiguration m_vpcConfiguration;
522 bool m_vpcConfigurationHasBeenSet =
false;
525 bool m_initializationScriptHasBeenSet =
false;
528 bool m_commandLineArgumentsHasBeenSet =
false;
530 CodeConfiguration m_code;
531 bool m_codeHasBeenSet =
false;
534 bool m_executionRoleHasBeenSet =
false;
536 KxSavedownStorageConfiguration m_savedownStorageConfiguration;
537 bool m_savedownStorageConfigurationHasBeenSet =
false;
540 bool m_azModeHasBeenSet =
false;
543 bool m_availabilityZoneIdHasBeenSet =
false;
546 bool m_tagsHasBeenSet =
false;
548 KxScalingGroupConfiguration m_scalingGroupConfiguration;
549 bool m_scalingGroupConfigurationHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
const TickerplantLogConfiguration & GetTickerplantLogConfiguration() const
void SetClusterName(ClusterNameT &&value)
bool ClusterTypeHasBeenSet() const
bool SavedownStorageConfigurationHasBeenSet() const
void SetAzMode(KxAzMode value)
void SetCommandLineArguments(CommandLineArgumentsT &&value)
void SetClusterDescription(ClusterDescriptionT &&value)
CreateKxClusterRequest & WithCommandLineArguments(CommandLineArgumentsT &&value)
CreateKxClusterRequest & AddDatabases(DatabasesT &&value)
bool InitializationScriptHasBeenSet() const
bool ClusterNameHasBeenSet() const
bool CommandLineArgumentsHasBeenSet() const
const Aws::String & GetAvailabilityZoneId() const
CreateKxClusterRequest & WithClusterType(KxClusterType value)
const Aws::Vector< KxCacheStorageConfiguration > & GetCacheStorageConfigurations() const
const Aws::String & GetClusterName() const
bool EnvironmentIdHasBeenSet() const
void SetCode(CodeT &&value)
bool TickerplantLogConfigurationHasBeenSet() const
bool AvailabilityZoneIdHasBeenSet() const
KxClusterType GetClusterType() const
void SetExecutionRole(ExecutionRoleT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_FINSPACE_API Aws::String SerializePayload() const override
CreateKxClusterRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateKxClusterRequest & WithClusterDescription(ClusterDescriptionT &&value)
CreateKxClusterRequest & WithAzMode(KxAzMode value)
bool ClusterDescriptionHasBeenSet() const
CreateKxClusterRequest & WithCapacityConfiguration(CapacityConfigurationT &&value)
const Aws::String & GetEnvironmentId() const
void SetDatabases(DatabasesT &&value)
bool TagsHasBeenSet() const
bool AutoScalingConfigurationHasBeenSet() const
const Aws::String & GetExecutionRole() const
CreateKxClusterRequest & WithCode(CodeT &&value)
KxAzMode GetAzMode() const
bool ScalingGroupConfigurationHasBeenSet() const
CreateKxClusterRequest & WithVpcConfiguration(VpcConfigurationT &&value)
CreateKxClusterRequest & WithTags(TagsT &&value)
void SetSavedownStorageConfiguration(SavedownStorageConfigurationT &&value)
bool CapacityConfigurationHasBeenSet() const
const Aws::String & GetClientToken() const
AWS_FINSPACE_API CreateKxClusterRequest()=default
bool CacheStorageConfigurationsHasBeenSet() const
bool ExecutionRoleHasBeenSet() const
CreateKxClusterRequest & WithSavedownStorageConfiguration(SavedownStorageConfigurationT &&value)
bool VpcConfigurationHasBeenSet() const
void SetVpcConfiguration(VpcConfigurationT &&value)
CreateKxClusterRequest & WithTickerplantLogConfiguration(TickerplantLogConfigurationT &&value)
const CodeConfiguration & GetCode() const
const Aws::String & GetClusterDescription() const
const KxSavedownStorageConfiguration & GetSavedownStorageConfiguration() const
const Aws::Vector< KxDatabaseConfiguration > & GetDatabases() const
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
CreateKxClusterRequest & WithCacheStorageConfigurations(CacheStorageConfigurationsT &&value)
void SetClusterType(KxClusterType value)
const Aws::String & GetReleaseLabel() const
void SetTickerplantLogConfiguration(TickerplantLogConfigurationT &&value)
CreateKxClusterRequest & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetReleaseLabel(ReleaseLabelT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetInitializationScript() const
CreateKxClusterRequest & WithInitializationScript(InitializationScriptT &&value)
CreateKxClusterRequest & WithExecutionRole(ExecutionRoleT &&value)
CreateKxClusterRequest & WithDatabases(DatabasesT &&value)
CreateKxClusterRequest & WithEnvironmentId(EnvironmentIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateKxClusterRequest & WithScalingGroupConfiguration(ScalingGroupConfigurationT &&value)
void SetInitializationScript(InitializationScriptT &&value)
const KxScalingGroupConfiguration & GetScalingGroupConfiguration() const
void SetAutoScalingConfiguration(AutoScalingConfigurationT &&value)
void SetTags(TagsT &&value)
bool CodeHasBeenSet() const
bool DatabasesHasBeenSet() const
const CapacityConfiguration & GetCapacityConfiguration() const
const VpcConfiguration & GetVpcConfiguration() const
void SetCapacityConfiguration(CapacityConfigurationT &&value)
void SetScalingGroupConfiguration(ScalingGroupConfigurationT &&value)
const Aws::Vector< KxCommandLineArgument > & GetCommandLineArguments() const
CreateKxClusterRequest & WithClientToken(ClientTokenT &&value)
CreateKxClusterRequest & WithAutoScalingConfiguration(AutoScalingConfigurationT &&value)
CreateKxClusterRequest & WithClusterName(ClusterNameT &&value)
void SetClientToken(ClientTokenT &&value)
CreateKxClusterRequest & WithReleaseLabel(ReleaseLabelT &&value)
bool AzModeHasBeenSet() const
void SetCacheStorageConfigurations(CacheStorageConfigurationsT &&value)
CreateKxClusterRequest & AddCommandLineArguments(CommandLineArgumentsT &&value)
bool ReleaseLabelHasBeenSet() const
CreateKxClusterRequest & AddCacheStorageConfigurations(CacheStorageConfigurationsT &&value)
const AutoScalingConfiguration & GetAutoScalingConfiguration() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector