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>
17#include <aws/pcs/model/UpdateNodeLifecycleActionsRequest.h>
47 template <
typename ClusterIdentifierT = Aws::String>
49 m_clusterIdentifierHasBeenSet =
true;
50 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
52 template <
typename ClusterIdentifierT = Aws::String>
65 template <
typename ComputeNodeGroupIdentifierT = Aws::String>
67 m_computeNodeGroupIdentifierHasBeenSet =
true;
68 m_computeNodeGroupIdentifier = std::forward<ComputeNodeGroupIdentifierT>(value);
70 template <
typename ComputeNodeGroupIdentifierT = Aws::String>
85 template <
typename AmiIdT = Aws::String>
87 m_amiIdHasBeenSet =
true;
88 m_amiId = std::forward<AmiIdT>(value);
90 template <
typename AmiIdT = Aws::String>
92 SetAmiId(std::forward<AmiIdT>(value));
104 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
106 m_subnetIdsHasBeenSet =
true;
107 m_subnetIds = std::forward<SubnetIdsT>(value);
109 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
114 template <
typename SubnetIdsT = Aws::String>
116 m_subnetIdsHasBeenSet =
true;
117 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
126 template <
typename CustomLaunchTemplateT = CustomLaunchTemplate>
128 m_customLaunchTemplateHasBeenSet =
true;
129 m_customLaunchTemplate = std::forward<CustomLaunchTemplateT>(value);
131 template <
typename CustomLaunchTemplateT = CustomLaunchTemplate>
162 m_purchaseOptionHasBeenSet =
true;
163 m_purchaseOption = value;
175 template <
typename SpotOptionsT = SpotOptions>
177 m_spotOptionsHasBeenSet =
true;
178 m_spotOptions = std::forward<SpotOptionsT>(value);
180 template <
typename SpotOptionsT = SpotOptions>
193 template <
typename ScalingConfigurationT = ScalingConfigurationRequest>
195 m_scalingConfigurationHasBeenSet =
true;
196 m_scalingConfiguration = std::forward<ScalingConfigurationT>(value);
198 template <
typename ScalingConfigurationT = ScalingConfigurationRequest>
217 template <
typename IamInstanceProfileArnT = Aws::String>
219 m_iamInstanceProfileArnHasBeenSet =
true;
220 m_iamInstanceProfileArn = std::forward<IamInstanceProfileArnT>(value);
222 template <
typename IamInstanceProfileArnT = Aws::String>
235 template <
typename SlurmConfigurationT = UpdateComputeNodeGroupSlurmConfigurationRequest>
237 m_slurmConfigurationHasBeenSet =
true;
238 m_slurmConfiguration = std::forward<SlurmConfigurationT>(value);
240 template <
typename SlurmConfigurationT = UpdateComputeNodeGroupSlurmConfigurationRequest>
256 template <
typename NodeLifecycleActionsT = UpdateNodeLifecycleActionsRequest>
258 m_nodeLifecycleActionsHasBeenSet =
true;
259 m_nodeLifecycleActions = std::forward<NodeLifecycleActionsT>(value);
261 template <
typename NodeLifecycleActionsT = UpdateNodeLifecycleActionsRequest>
280 template <
typename ClientTokenT = Aws::String>
282 m_clientTokenHasBeenSet =
true;
283 m_clientToken = std::forward<ClientTokenT>(value);
285 template <
typename ClientTokenT = Aws::String>
304 SpotOptions m_spotOptions;
306 ScalingConfigurationRequest m_scalingConfiguration;
310 UpdateComputeNodeGroupSlurmConfigurationRequest m_slurmConfiguration;
312 UpdateNodeLifecycleActionsRequest m_nodeLifecycleActions;
315 bool m_clusterIdentifierHasBeenSet =
false;
316 bool m_computeNodeGroupIdentifierHasBeenSet =
false;
317 bool m_amiIdHasBeenSet =
false;
318 bool m_subnetIdsHasBeenSet =
false;
319 bool m_customLaunchTemplateHasBeenSet =
false;
320 bool m_purchaseOptionHasBeenSet =
false;
321 bool m_spotOptionsHasBeenSet =
false;
322 bool m_scalingConfigurationHasBeenSet =
false;
323 bool m_iamInstanceProfileArnHasBeenSet =
false;
324 bool m_slurmConfigurationHasBeenSet =
false;
325 bool m_nodeLifecycleActionsHasBeenSet =
false;
326 bool m_clientTokenHasBeenSet =
true;
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetScalingConfiguration(ScalingConfigurationT &&value)
bool NodeLifecycleActionsHasBeenSet() const
bool ComputeNodeGroupIdentifierHasBeenSet() const
void SetSlurmConfiguration(SlurmConfigurationT &&value)
UpdateComputeNodeGroupRequest & WithNodeLifecycleActions(NodeLifecycleActionsT &&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
const UpdateNodeLifecycleActionsRequest & GetNodeLifecycleActions() 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)
void SetNodeLifecycleActions(NodeLifecycleActionsT &&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