7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/pcs/PCSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pcs/model/PurchaseOption.h>
12#include <aws/pcs/model/CustomLaunchTemplate.h>
13#include <aws/pcs/model/ScalingConfigurationRequest.h>
14#include <aws/pcs/model/SpotOptions.h>
15#include <aws/pcs/model/ComputeNodeGroupSlurmConfigurationRequest.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/pcs/model/InstanceConfig.h>
19#include <aws/core/utils/UUID.h>
54 inline void SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.assign(value); }
68 inline void SetComputeNodeGroupName(
const char* value) { m_computeNodeGroupNameHasBeenSet =
true; m_computeNodeGroupName.assign(value); }
85 inline void SetAmiId(
const char* value) { m_amiIdHasBeenSet =
true; m_amiId.assign(value); }
150 inline void SetIamInstanceProfileArn(
const char* value) { m_iamInstanceProfileArnHasBeenSet =
true; m_iamInstanceProfileArn.assign(value); }
219 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
247 bool m_clusterIdentifierHasBeenSet =
false;
250 bool m_computeNodeGroupNameHasBeenSet =
false;
253 bool m_amiIdHasBeenSet =
false;
256 bool m_subnetIdsHasBeenSet =
false;
259 bool m_purchaseOptionHasBeenSet =
false;
262 bool m_customLaunchTemplateHasBeenSet =
false;
265 bool m_iamInstanceProfileArnHasBeenSet =
false;
268 bool m_scalingConfigurationHasBeenSet =
false;
271 bool m_instanceConfigsHasBeenSet =
false;
274 bool m_spotOptionsHasBeenSet =
false;
277 bool m_slurmConfigurationHasBeenSet =
false;
280 bool m_clientTokenHasBeenSet =
false;
283 bool m_tagsHasBeenSet =
false;
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
bool InstanceConfigsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetSpotOptions(SpotOptions &&value)
CreateComputeNodeGroupRequest & WithClusterIdentifier(const char *value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
void SetClusterIdentifier(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ComputeNodeGroupNameHasBeenSet() const
void SetAmiId(const char *value)
void SetInstanceConfigs(const Aws::Vector< InstanceConfig > &value)
const Aws::String & GetClusterIdentifier() const
const ScalingConfigurationRequest & GetScalingConfiguration() const
CreateComputeNodeGroupRequest & WithIamInstanceProfileArn(const char *value)
void SetComputeNodeGroupName(Aws::String &&value)
void SetScalingConfiguration(const ScalingConfigurationRequest &value)
CreateComputeNodeGroupRequest & WithIamInstanceProfileArn(const Aws::String &value)
CreateComputeNodeGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateComputeNodeGroupRequest & WithClientToken(const char *value)
void SetCustomLaunchTemplate(CustomLaunchTemplate &&value)
AWS_PCS_API Aws::String SerializePayload() const override
CreateComputeNodeGroupRequest & WithSpotOptions(const SpotOptions &value)
CreateComputeNodeGroupRequest & AddTags(const char *key, const char *value)
void SetIamInstanceProfileArn(Aws::String &&value)
const ComputeNodeGroupSlurmConfigurationRequest & GetSlurmConfiguration() const
bool SpotOptionsHasBeenSet() const
void SetPurchaseOption(const PurchaseOption &value)
CreateComputeNodeGroupRequest & AddSubnetIds(Aws::String &&value)
const Aws::Vector< InstanceConfig > & GetInstanceConfigs() const
void SetInstanceConfigs(Aws::Vector< InstanceConfig > &&value)
CreateComputeNodeGroupRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
bool ScalingConfigurationHasBeenSet() const
CreateComputeNodeGroupRequest & WithAmiId(const Aws::String &value)
CreateComputeNodeGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetClientToken(const char *value)
CreateComputeNodeGroupRequest & WithSlurmConfiguration(ComputeNodeGroupSlurmConfigurationRequest &&value)
CreateComputeNodeGroupRequest & AddInstanceConfigs(const InstanceConfig &value)
void SetAmiId(const Aws::String &value)
bool SubnetIdsHasBeenSet() const
CreateComputeNodeGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetAmiId() const
CreateComputeNodeGroupRequest & WithPurchaseOption(const PurchaseOption &value)
CreateComputeNodeGroupRequest & WithComputeNodeGroupName(Aws::String &&value)
const CustomLaunchTemplate & GetCustomLaunchTemplate() const
void SetScalingConfiguration(ScalingConfigurationRequest &&value)
CreateComputeNodeGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool TagsHasBeenSet() const
CreateComputeNodeGroupRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetComputeNodeGroupName() const
CreateComputeNodeGroupRequest & AddSubnetIds(const char *value)
CreateComputeNodeGroupRequest & WithCustomLaunchTemplate(CustomLaunchTemplate &&value)
void SetIamInstanceProfileArn(const Aws::String &value)
CreateComputeNodeGroupRequest & WithPurchaseOption(PurchaseOption &&value)
CreateComputeNodeGroupRequest & WithScalingConfiguration(const ScalingConfigurationRequest &value)
bool IamInstanceProfileArnHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetIamInstanceProfileArn() const
void SetCustomLaunchTemplate(const CustomLaunchTemplate &value)
CreateComputeNodeGroupRequest & WithAmiId(Aws::String &&value)
void SetClusterIdentifier(const Aws::String &value)
CreateComputeNodeGroupRequest & AddSubnetIds(const Aws::String &value)
const PurchaseOption & GetPurchaseOption() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateComputeNodeGroupRequest & AddTags(Aws::String &&key, const char *value)
AWS_PCS_API CreateComputeNodeGroupRequest()
CreateComputeNodeGroupRequest & AddInstanceConfigs(InstanceConfig &&value)
CreateComputeNodeGroupRequest & WithComputeNodeGroupName(const char *value)
CreateComputeNodeGroupRequest & WithClientToken(const Aws::String &value)
CreateComputeNodeGroupRequest & AddTags(const char *key, Aws::String &&value)
void SetSlurmConfiguration(const ComputeNodeGroupSlurmConfigurationRequest &value)
void SetSlurmConfiguration(ComputeNodeGroupSlurmConfigurationRequest &&value)
void SetAmiId(Aws::String &&value)
CreateComputeNodeGroupRequest & WithClusterIdentifier(Aws::String &&value)
void SetPurchaseOption(PurchaseOption &&value)
void SetSpotOptions(const SpotOptions &value)
bool PurchaseOptionHasBeenSet() const
CreateComputeNodeGroupRequest & WithInstanceConfigs(Aws::Vector< InstanceConfig > &&value)
bool AmiIdHasBeenSet() const
CreateComputeNodeGroupRequest & WithCustomLaunchTemplate(const CustomLaunchTemplate &value)
void SetComputeNodeGroupName(const char *value)
const Aws::String & GetClientToken() const
CreateComputeNodeGroupRequest & WithClientToken(Aws::String &&value)
CreateComputeNodeGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetClientToken(Aws::String &&value)
void SetComputeNodeGroupName(const Aws::String &value)
CreateComputeNodeGroupRequest & WithScalingConfiguration(ScalingConfigurationRequest &&value)
CreateComputeNodeGroupRequest & WithIamInstanceProfileArn(Aws::String &&value)
CreateComputeNodeGroupRequest & WithComputeNodeGroupName(const Aws::String &value)
bool CustomLaunchTemplateHasBeenSet() const
void SetClientToken(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateComputeNodeGroupRequest & WithSlurmConfiguration(const ComputeNodeGroupSlurmConfigurationRequest &value)
bool ClusterIdentifierHasBeenSet() const
void SetClusterIdentifier(Aws::String &&value)
void SetIamInstanceProfileArn(const char *value)
CreateComputeNodeGroupRequest & WithAmiId(const char *value)
const SpotOptions & GetSpotOptions() const
CreateComputeNodeGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateComputeNodeGroupRequest & WithInstanceConfigs(const Aws::Vector< InstanceConfig > &value)
bool SlurmConfigurationHasBeenSet() const
CreateComputeNodeGroupRequest & WithSpotOptions(SpotOptions &&value)
CreateComputeNodeGroupRequest & WithClusterIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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