7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pcs/PCSRequest.h>
11#include <aws/pcs/PCS_EXPORTS.h>
12#include <aws/pcs/model/CustomLaunchTemplate.h>
13#include <aws/pcs/model/PurchaseOption.h>
14#include <aws/pcs/model/ScalingConfigurationRequest.h>
15#include <aws/pcs/model/SpotOptions.h>
16#include <aws/pcs/model/UpdateComputeNodeGroupSlurmConfigurationRequest.h>
46 template <
typename ClusterIdentifierT = Aws::String>
48 m_clusterIdentifierHasBeenSet =
true;
49 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
51 template <
typename ClusterIdentifierT = Aws::String>
64 template <
typename ComputeNodeGroupIdentifierT = Aws::String>
66 m_computeNodeGroupIdentifierHasBeenSet =
true;
67 m_computeNodeGroupIdentifier = std::forward<ComputeNodeGroupIdentifierT>(value);
69 template <
typename ComputeNodeGroupIdentifierT = Aws::String>
84 template <
typename AmiIdT = Aws::String>
86 m_amiIdHasBeenSet =
true;
87 m_amiId = std::forward<AmiIdT>(value);
89 template <
typename AmiIdT = Aws::String>
91 SetAmiId(std::forward<AmiIdT>(value));
103 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
105 m_subnetIdsHasBeenSet =
true;
106 m_subnetIds = std::forward<SubnetIdsT>(value);
108 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
113 template <
typename SubnetIdsT = Aws::String>
115 m_subnetIdsHasBeenSet =
true;
116 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
125 template <
typename CustomLaunchTemplateT = CustomLaunchTemplate>
127 m_customLaunchTemplateHasBeenSet =
true;
128 m_customLaunchTemplate = std::forward<CustomLaunchTemplateT>(value);
130 template <
typename CustomLaunchTemplateT = CustomLaunchTemplate>
153 m_purchaseOptionHasBeenSet =
true;
154 m_purchaseOption = value;
166 template <
typename SpotOptionsT = SpotOptions>
168 m_spotOptionsHasBeenSet =
true;
169 m_spotOptions = std::forward<SpotOptionsT>(value);
171 template <
typename SpotOptionsT = SpotOptions>
184 template <
typename ScalingConfigurationT = ScalingConfigurationRequest>
186 m_scalingConfigurationHasBeenSet =
true;
187 m_scalingConfiguration = std::forward<ScalingConfigurationT>(value);
189 template <
typename ScalingConfigurationT = ScalingConfigurationRequest>
208 template <
typename IamInstanceProfileArnT = Aws::String>
210 m_iamInstanceProfileArnHasBeenSet =
true;
211 m_iamInstanceProfileArn = std::forward<IamInstanceProfileArnT>(value);
213 template <
typename IamInstanceProfileArnT = Aws::String>
226 template <
typename SlurmConfigurationT = UpdateComputeNodeGroupSlurmConfigurationRequest>
228 m_slurmConfigurationHasBeenSet =
true;
229 m_slurmConfiguration = std::forward<SlurmConfigurationT>(value);
231 template <
typename SlurmConfigurationT = UpdateComputeNodeGroupSlurmConfigurationRequest>
250 template <
typename ClientTokenT = Aws::String>
252 m_clientTokenHasBeenSet =
true;
253 m_clientToken = std::forward<ClientTokenT>(value);
255 template <
typename ClientTokenT = Aws::String>
274 SpotOptions m_spotOptions;
276 ScalingConfigurationRequest m_scalingConfiguration;
280 UpdateComputeNodeGroupSlurmConfigurationRequest m_slurmConfiguration;
283 bool m_clusterIdentifierHasBeenSet =
false;
284 bool m_computeNodeGroupIdentifierHasBeenSet =
false;
285 bool m_amiIdHasBeenSet =
false;
286 bool m_subnetIdsHasBeenSet =
false;
287 bool m_customLaunchTemplateHasBeenSet =
false;
288 bool m_purchaseOptionHasBeenSet =
false;
289 bool m_spotOptionsHasBeenSet =
false;
290 bool m_scalingConfigurationHasBeenSet =
false;
291 bool m_iamInstanceProfileArnHasBeenSet =
false;
292 bool m_slurmConfigurationHasBeenSet =
false;
293 bool m_clientTokenHasBeenSet =
true;
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetScalingConfiguration(ScalingConfigurationT &&value)
bool ComputeNodeGroupIdentifierHasBeenSet() const
void SetSlurmConfiguration(SlurmConfigurationT &&value)
bool AmiIdHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
const CustomLaunchTemplate & GetCustomLaunchTemplate() const
const Aws::String & GetComputeNodeGroupIdentifier() const
AWS_PCS_API Aws::String SerializePayload() const override
void SetComputeNodeGroupIdentifier(ComputeNodeGroupIdentifierT &&value)
UpdateComputeNodeGroupRequest & WithSlurmConfiguration(SlurmConfigurationT &&value)
UpdateComputeNodeGroupRequest & WithSpotOptions(SpotOptionsT &&value)
void SetPurchaseOption(PurchaseOption value)
UpdateComputeNodeGroupRequest & WithScalingConfiguration(ScalingConfigurationT &&value)
const ScalingConfigurationRequest & GetScalingConfiguration() const
void SetCustomLaunchTemplate(CustomLaunchTemplateT &&value)
void SetAmiId(AmiIdT &&value)
UpdateComputeNodeGroupRequest & WithAmiId(AmiIdT &&value)
UpdateComputeNodeGroupRequest & WithPurchaseOption(PurchaseOption value)
UpdateComputeNodeGroupRequest & WithClientToken(ClientTokenT &&value)
UpdateComputeNodeGroupRequest & WithComputeNodeGroupIdentifier(ComputeNodeGroupIdentifierT &&value)
UpdateComputeNodeGroupRequest & WithCustomLaunchTemplate(CustomLaunchTemplateT &&value)
void SetClusterIdentifier(ClusterIdentifierT &&value)
bool ClusterIdentifierHasBeenSet() const
void SetSubnetIds(SubnetIdsT &&value)
bool ClientTokenHasBeenSet() const
UpdateComputeNodeGroupRequest & WithSubnetIds(SubnetIdsT &&value)
void SetIamInstanceProfileArn(IamInstanceProfileArnT &&value)
bool CustomLaunchTemplateHasBeenSet() const
UpdateComputeNodeGroupRequest & AddSubnetIds(SubnetIdsT &&value)
UpdateComputeNodeGroupRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
bool IamInstanceProfileArnHasBeenSet() const
PurchaseOption GetPurchaseOption() const
const Aws::String & GetIamInstanceProfileArn() const
UpdateComputeNodeGroupRequest & WithIamInstanceProfileArn(IamInstanceProfileArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetClusterIdentifier() const
bool SlurmConfigurationHasBeenSet() const
const SpotOptions & GetSpotOptions() const
bool SpotOptionsHasBeenSet() const
bool SubnetIdsHasBeenSet() const
bool ScalingConfigurationHasBeenSet() const
const UpdateComputeNodeGroupSlurmConfigurationRequest & GetSlurmConfiguration() const
const Aws::String & GetClientToken() const
void SetSpotOptions(SpotOptionsT &&value)
AWS_PCS_API UpdateComputeNodeGroupRequest()=default
const Aws::String & GetAmiId() const
bool PurchaseOptionHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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