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/CustomLaunchTemplate.h>
12#include <aws/pcs/model/PurchaseOption.h>
13#include <aws/pcs/model/SpotOptions.h>
14#include <aws/pcs/model/ScalingConfigurationRequest.h>
15#include <aws/pcs/model/UpdateComputeNodeGroupSlurmConfigurationRequest.h>
17#include <aws/core/utils/UUID.h>
52 inline void SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.assign(value); }
66 inline void SetComputeNodeGroupIdentifier(
const char* value) { m_computeNodeGroupIdentifierHasBeenSet =
true; m_computeNodeGroupIdentifier.assign(value); }
82 inline void SetAmiId(
const char* value) { m_amiIdHasBeenSet =
true; m_amiId.assign(value); }
169 inline void SetIamInstanceProfileArn(
const char* value) { m_iamInstanceProfileArnHasBeenSet =
true; m_iamInstanceProfileArn.assign(value); }
201 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
209 bool m_clusterIdentifierHasBeenSet =
false;
212 bool m_computeNodeGroupIdentifierHasBeenSet =
false;
215 bool m_amiIdHasBeenSet =
false;
218 bool m_subnetIdsHasBeenSet =
false;
221 bool m_customLaunchTemplateHasBeenSet =
false;
224 bool m_purchaseOptionHasBeenSet =
false;
227 bool m_spotOptionsHasBeenSet =
false;
230 bool m_scalingConfigurationHasBeenSet =
false;
233 bool m_iamInstanceProfileArnHasBeenSet =
false;
236 bool m_slurmConfigurationHasBeenSet =
false;
239 bool m_clientTokenHasBeenSet =
false;
UpdateComputeNodeGroupRequest & WithAmiId(Aws::String &&value)
void SetAmiId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool ComputeNodeGroupIdentifierHasBeenSet() const
UpdateComputeNodeGroupRequest & WithAmiId(const char *value)
void SetSlurmConfiguration(UpdateComputeNodeGroupSlurmConfigurationRequest &&value)
bool AmiIdHasBeenSet() const
void SetScalingConfiguration(ScalingConfigurationRequest &&value)
UpdateComputeNodeGroupRequest & WithClusterIdentifier(const Aws::String &value)
UpdateComputeNodeGroupRequest & WithClusterIdentifier(Aws::String &&value)
const CustomLaunchTemplate & GetCustomLaunchTemplate() const
UpdateComputeNodeGroupRequest & WithScalingConfiguration(ScalingConfigurationRequest &&value)
const Aws::String & GetComputeNodeGroupIdentifier() const
AWS_PCS_API Aws::String SerializePayload() const override
UpdateComputeNodeGroupRequest & WithClientToken(const Aws::String &value)
const ScalingConfigurationRequest & GetScalingConfiguration() const
void SetCustomLaunchTemplate(const CustomLaunchTemplate &value)
UpdateComputeNodeGroupRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
UpdateComputeNodeGroupRequest & WithSlurmConfiguration(UpdateComputeNodeGroupSlurmConfigurationRequest &&value)
UpdateComputeNodeGroupRequest & WithPurchaseOption(const PurchaseOption &value)
void SetComputeNodeGroupIdentifier(Aws::String &&value)
void SetSpotOptions(const SpotOptions &value)
UpdateComputeNodeGroupRequest & AddSubnetIds(const Aws::String &value)
UpdateComputeNodeGroupRequest & WithAmiId(const Aws::String &value)
AWS_PCS_API UpdateComputeNodeGroupRequest()
void SetIamInstanceProfileArn(const char *value)
UpdateComputeNodeGroupRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
UpdateComputeNodeGroupRequest & WithClientToken(const char *value)
void SetComputeNodeGroupIdentifier(const char *value)
bool ClusterIdentifierHasBeenSet() const
UpdateComputeNodeGroupRequest & WithClientToken(Aws::String &&value)
UpdateComputeNodeGroupRequest & AddSubnetIds(Aws::String &&value)
void SetClusterIdentifier(const Aws::String &value)
bool ClientTokenHasBeenSet() const
void SetAmiId(const char *value)
void SetIamInstanceProfileArn(const Aws::String &value)
UpdateComputeNodeGroupRequest & WithCustomLaunchTemplate(CustomLaunchTemplate &&value)
UpdateComputeNodeGroupRequest & WithIamInstanceProfileArn(const Aws::String &value)
UpdateComputeNodeGroupRequest & WithIamInstanceProfileArn(Aws::String &&value)
bool CustomLaunchTemplateHasBeenSet() const
UpdateComputeNodeGroupRequest & AddSubnetIds(const char *value)
void SetPurchaseOption(const PurchaseOption &value)
UpdateComputeNodeGroupRequest & WithCustomLaunchTemplate(const CustomLaunchTemplate &value)
void SetClientToken(const char *value)
void SetSpotOptions(SpotOptions &&value)
UpdateComputeNodeGroupRequest & WithIamInstanceProfileArn(const char *value)
UpdateComputeNodeGroupRequest & WithSlurmConfiguration(const UpdateComputeNodeGroupSlurmConfigurationRequest &value)
bool IamInstanceProfileArnHasBeenSet() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
UpdateComputeNodeGroupRequest & WithComputeNodeGroupIdentifier(const char *value)
void SetPurchaseOption(PurchaseOption &&value)
const Aws::String & GetIamInstanceProfileArn() const
void SetComputeNodeGroupIdentifier(const Aws::String &value)
void SetClientToken(Aws::String &&value)
void SetClusterIdentifier(const char *value)
UpdateComputeNodeGroupRequest & WithComputeNodeGroupIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetClusterIdentifier() const
void SetClusterIdentifier(Aws::String &&value)
bool SlurmConfigurationHasBeenSet() const
const SpotOptions & GetSpotOptions() const
bool SpotOptionsHasBeenSet() const
bool SubnetIdsHasBeenSet() const
void SetClientToken(const Aws::String &value)
bool ScalingConfigurationHasBeenSet() const
const UpdateComputeNodeGroupSlurmConfigurationRequest & GetSlurmConfiguration() const
void SetIamInstanceProfileArn(Aws::String &&value)
UpdateComputeNodeGroupRequest & WithSpotOptions(const SpotOptions &value)
void SetSlurmConfiguration(const UpdateComputeNodeGroupSlurmConfigurationRequest &value)
const Aws::String & GetClientToken() const
UpdateComputeNodeGroupRequest & WithScalingConfiguration(const ScalingConfigurationRequest &value)
UpdateComputeNodeGroupRequest & WithComputeNodeGroupIdentifier(Aws::String &&value)
void SetAmiId(const Aws::String &value)
void SetScalingConfiguration(const ScalingConfigurationRequest &value)
UpdateComputeNodeGroupRequest & WithClusterIdentifier(const char *value)
UpdateComputeNodeGroupRequest & WithSpotOptions(SpotOptions &&value)
UpdateComputeNodeGroupRequest & WithPurchaseOption(PurchaseOption &&value)
const Aws::String & GetAmiId() const
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
bool PurchaseOptionHasBeenSet() const
void SetCustomLaunchTemplate(CustomLaunchTemplate &&value)
const PurchaseOption & GetPurchaseOption() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector