7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/pcs/model/ComputeNodeGroupStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/pcs/model/PurchaseOption.h>
13#include <aws/pcs/model/CustomLaunchTemplate.h>
14#include <aws/pcs/model/ScalingConfiguration.h>
15#include <aws/pcs/model/SpotOptions.h>
16#include <aws/pcs/model/ComputeNodeGroupSlurmConfiguration.h>
17#include <aws/pcs/model/InstanceConfig.h>
18#include <aws/pcs/model/ErrorInfo.h>
58 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
71 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
72 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
85 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
86 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
100 inline void SetClusterId(
const char* value) { m_clusterIdHasBeenSet =
true; m_clusterId.assign(value); }
154 inline void SetAmiId(
const char* value) { m_amiIdHasBeenSet =
true; m_amiId.assign(value); }
219 inline void SetIamInstanceProfileArn(
const char* value) { m_iamInstanceProfileArnHasBeenSet =
true; m_iamInstanceProfileArn.assign(value); }
286 bool m_nameHasBeenSet =
false;
289 bool m_idHasBeenSet =
false;
292 bool m_arnHasBeenSet =
false;
295 bool m_clusterIdHasBeenSet =
false;
298 bool m_createdAtHasBeenSet =
false;
301 bool m_modifiedAtHasBeenSet =
false;
304 bool m_statusHasBeenSet =
false;
307 bool m_amiIdHasBeenSet =
false;
310 bool m_subnetIdsHasBeenSet =
false;
313 bool m_purchaseOptionHasBeenSet =
false;
316 bool m_customLaunchTemplateHasBeenSet =
false;
319 bool m_iamInstanceProfileArnHasBeenSet =
false;
322 bool m_scalingConfigurationHasBeenSet =
false;
325 bool m_instanceConfigsHasBeenSet =
false;
328 bool m_spotOptionsHasBeenSet =
false;
331 bool m_slurmConfigurationHasBeenSet =
false;
334 bool m_errorInfoHasBeenSet =
false;
ComputeNodeGroup & WithErrorInfo(Aws::Vector< ErrorInfo > &&value)
ComputeNodeGroup & WithId(const char *value)
void SetSpotOptions(const SpotOptions &value)
const Aws::Utils::DateTime & GetCreatedAt() const
ComputeNodeGroup & WithArn(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
void SetId(const Aws::String &value)
const Aws::String & GetIamInstanceProfileArn() const
const ComputeNodeGroupSlurmConfiguration & GetSlurmConfiguration() const
void SetIamInstanceProfileArn(const Aws::String &value)
bool StatusHasBeenSet() const
const Aws::Vector< ErrorInfo > & GetErrorInfo() const
const Aws::String & GetId() const
ComputeNodeGroup & WithModifiedAt(Aws::Utils::DateTime &&value)
ComputeNodeGroup & WithPurchaseOption(const PurchaseOption &value)
void SetName(Aws::String &&value)
void SetId(Aws::String &&value)
ComputeNodeGroup & AddErrorInfo(const ErrorInfo &value)
const Aws::String & GetClusterId() const
ComputeNodeGroup & WithAmiId(Aws::String &&value)
ComputeNodeGroup & AddInstanceConfigs(InstanceConfig &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool InstanceConfigsHasBeenSet() const
ComputeNodeGroup & WithClusterId(const Aws::String &value)
const SpotOptions & GetSpotOptions() const
ComputeNodeGroup & WithInstanceConfigs(Aws::Vector< InstanceConfig > &&value)
void SetErrorInfo(const Aws::Vector< ErrorInfo > &value)
void SetCustomLaunchTemplate(CustomLaunchTemplate &&value)
void SetPurchaseOption(const PurchaseOption &value)
ComputeNodeGroup & WithIamInstanceProfileArn(Aws::String &&value)
void SetSlurmConfiguration(const ComputeNodeGroupSlurmConfiguration &value)
void SetArn(Aws::String &&value)
ComputeNodeGroup & WithIamInstanceProfileArn(const char *value)
ComputeNodeGroup & WithCustomLaunchTemplate(CustomLaunchTemplate &&value)
void SetIamInstanceProfileArn(const char *value)
ComputeNodeGroup & WithName(const Aws::String &value)
void SetId(const char *value)
ComputeNodeGroup & WithCustomLaunchTemplate(const CustomLaunchTemplate &value)
bool ModifiedAtHasBeenSet() const
void SetAmiId(const char *value)
ComputeNodeGroup & WithScalingConfiguration(ScalingConfiguration &&value)
bool ErrorInfoHasBeenSet() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
ComputeNodeGroup & WithId(Aws::String &&value)
ComputeNodeGroup & WithPurchaseOption(PurchaseOption &&value)
ComputeNodeGroup & WithModifiedAt(const Aws::Utils::DateTime &value)
bool ClusterIdHasBeenSet() const
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
ComputeNodeGroup & WithSpotOptions(const SpotOptions &value)
void SetClusterId(const Aws::String &value)
void SetClusterId(Aws::String &&value)
ComputeNodeGroup & AddSubnetIds(const Aws::String &value)
bool SlurmConfigurationHasBeenSet() const
ComputeNodeGroup & AddSubnetIds(Aws::String &&value)
ComputeNodeGroup & WithStatus(const ComputeNodeGroupStatus &value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetAmiId() const
ComputeNodeGroup & AddErrorInfo(ErrorInfo &&value)
void SetInstanceConfigs(Aws::Vector< InstanceConfig > &&value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
ComputeNodeGroup & WithStatus(ComputeNodeGroupStatus &&value)
const ComputeNodeGroupStatus & GetStatus() const
ComputeNodeGroup & WithName(Aws::String &&value)
bool CustomLaunchTemplateHasBeenSet() const
void SetScalingConfiguration(ScalingConfiguration &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
ComputeNodeGroup & WithName(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< InstanceConfig > & GetInstanceConfigs() const
void SetStatus(ComputeNodeGroupStatus &&value)
bool SpotOptionsHasBeenSet() const
void SetAmiId(Aws::String &&value)
void SetScalingConfiguration(const ScalingConfiguration &value)
const Aws::String & GetArn() const
void SetSpotOptions(SpotOptions &&value)
void SetSlurmConfiguration(ComputeNodeGroupSlurmConfiguration &&value)
ComputeNodeGroup & WithId(const Aws::String &value)
ComputeNodeGroup & WithCreatedAt(const Aws::Utils::DateTime &value)
const PurchaseOption & GetPurchaseOption() const
ComputeNodeGroup & WithClusterId(Aws::String &&value)
void SetErrorInfo(Aws::Vector< ErrorInfo > &&value)
ComputeNodeGroup & WithSlurmConfiguration(ComputeNodeGroupSlurmConfiguration &&value)
const Aws::String & GetName() const
void SetArn(const Aws::String &value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
void SetStatus(const ComputeNodeGroupStatus &value)
ComputeNodeGroup & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetIamInstanceProfileArn(Aws::String &&value)
void SetInstanceConfigs(const Aws::Vector< InstanceConfig > &value)
ComputeNodeGroup & WithScalingConfiguration(const ScalingConfiguration &value)
ComputeNodeGroup & WithAmiId(const char *value)
const CustomLaunchTemplate & GetCustomLaunchTemplate() const
ComputeNodeGroup & WithCreatedAt(Aws::Utils::DateTime &&value)
ComputeNodeGroup & WithErrorInfo(const Aws::Vector< ErrorInfo > &value)
ComputeNodeGroup & AddInstanceConfigs(const InstanceConfig &value)
ComputeNodeGroup & AddSubnetIds(const char *value)
void SetCustomLaunchTemplate(const CustomLaunchTemplate &value)
bool PurchaseOptionHasBeenSet() const
void SetAmiId(const Aws::String &value)
bool NameHasBeenSet() const
ComputeNodeGroup & WithIamInstanceProfileArn(const Aws::String &value)
void SetClusterId(const char *value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
ComputeNodeGroup & WithArn(const Aws::String &value)
bool ArnHasBeenSet() const
ComputeNodeGroup & WithArn(const char *value)
bool IdHasBeenSet() const
bool SubnetIdsHasBeenSet() const
bool ScalingConfigurationHasBeenSet() const
AWS_PCS_API ComputeNodeGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PCS_API ComputeNodeGroup(Aws::Utils::Json::JsonView jsonValue)
const ScalingConfiguration & GetScalingConfiguration() const
bool IamInstanceProfileArnHasBeenSet() const
void SetArn(const char *value)
ComputeNodeGroup & WithSpotOptions(SpotOptions &&value)
ComputeNodeGroup & WithSubnetIds(const Aws::Vector< Aws::String > &value)
bool AmiIdHasBeenSet() const
ComputeNodeGroup & WithInstanceConfigs(const Aws::Vector< InstanceConfig > &value)
void SetName(const char *value)
ComputeNodeGroup & WithClusterId(const char *value)
AWS_PCS_API ComputeNodeGroup()
void SetPurchaseOption(PurchaseOption &&value)
ComputeNodeGroup & WithSlurmConfiguration(const ComputeNodeGroupSlurmConfiguration &value)
ComputeNodeGroup & WithAmiId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue