/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a launch configuration.See Also:
AWS
* API Reference
For Auto Scaling groups that run in a VPC, specifies whether to assign a * public IP address to the group's instances.
*/ inline bool GetAssociatePublicIpAddress() const{ return m_associatePublicIpAddress; } /** *For Auto Scaling groups that run in a VPC, specifies whether to assign a * public IP address to the group's instances.
*/ inline bool AssociatePublicIpAddressHasBeenSet() const { return m_associatePublicIpAddressHasBeenSet; } /** *For Auto Scaling groups that run in a VPC, specifies whether to assign a * public IP address to the group's instances.
*/ inline void SetAssociatePublicIpAddress(bool value) { m_associatePublicIpAddressHasBeenSet = true; m_associatePublicIpAddress = value; } /** *For Auto Scaling groups that run in a VPC, specifies whether to assign a * public IP address to the group's instances.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithAssociatePublicIpAddress(bool value) { SetAssociatePublicIpAddress(value); return *this;} /** *Specifies the block devices for the instance.
*/ inline const Aws::VectorSpecifies the block devices for the instance.
*/ inline bool BlockDeviceMappingsHasBeenSet() const { return m_blockDeviceMappingsHasBeenSet; } /** *Specifies the block devices for the instance.
*/ inline void SetBlockDeviceMappings(const Aws::VectorSpecifies the block devices for the instance.
*/ inline void SetBlockDeviceMappings(Aws::VectorSpecifies the block devices for the instance.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithBlockDeviceMappings(const Aws::VectorSpecifies the block devices for the instance.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithBlockDeviceMappings(Aws::VectorSpecifies the block devices for the instance.
*/ inline AwsAutoScalingLaunchConfigurationDetails& AddBlockDeviceMappings(const AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; } /** *Specifies the block devices for the instance.
*/ inline AwsAutoScalingLaunchConfigurationDetails& AddBlockDeviceMappings(AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(std::move(value)); return *this; } /** *The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are * linked to.
*/ inline const Aws::String& GetClassicLinkVpcId() const{ return m_classicLinkVpcId; } /** *The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are * linked to.
*/ inline bool ClassicLinkVpcIdHasBeenSet() const { return m_classicLinkVpcIdHasBeenSet; } /** *The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are * linked to.
*/ inline void SetClassicLinkVpcId(const Aws::String& value) { m_classicLinkVpcIdHasBeenSet = true; m_classicLinkVpcId = value; } /** *The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are * linked to.
*/ inline void SetClassicLinkVpcId(Aws::String&& value) { m_classicLinkVpcIdHasBeenSet = true; m_classicLinkVpcId = std::move(value); } /** *The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are * linked to.
*/ inline void SetClassicLinkVpcId(const char* value) { m_classicLinkVpcIdHasBeenSet = true; m_classicLinkVpcId.assign(value); } /** *The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are * linked to.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithClassicLinkVpcId(const Aws::String& value) { SetClassicLinkVpcId(value); return *this;} /** *The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are * linked to.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithClassicLinkVpcId(Aws::String&& value) { SetClassicLinkVpcId(std::move(value)); return *this;} /** *The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are * linked to.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithClassicLinkVpcId(const char* value) { SetClassicLinkVpcId(value); return *this;} /** *The identifiers of one or more security groups for the VPC that is specified
* in ClassicLinkVPCId
.
The identifiers of one or more security groups for the VPC that is specified
* in ClassicLinkVPCId
.
The identifiers of one or more security groups for the VPC that is specified
* in ClassicLinkVPCId
.
The identifiers of one or more security groups for the VPC that is specified
* in ClassicLinkVPCId
.
The identifiers of one or more security groups for the VPC that is specified
* in ClassicLinkVPCId
.
The identifiers of one or more security groups for the VPC that is specified
* in ClassicLinkVPCId
.
The identifiers of one or more security groups for the VPC that is specified
* in ClassicLinkVPCId
.
The identifiers of one or more security groups for the VPC that is specified
* in ClassicLinkVPCId
.
The identifiers of one or more security groups for the VPC that is specified
* in ClassicLinkVPCId
.
The creation date and time for the launch configuration.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The creation date and time for the launch configuration.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The creation date and time for the launch configuration.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The creation date and time for the launch configuration.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The creation date and time for the launch configuration.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The creation date and time for the launch configuration.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The creation date and time for the launch configuration.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The creation date and time for the launch configuration.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Whether the launch configuration is optimized for Amazon EBS I/O.
*/ inline bool GetEbsOptimized() const{ return m_ebsOptimized; } /** *Whether the launch configuration is optimized for Amazon EBS I/O.
*/ inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; } /** *Whether the launch configuration is optimized for Amazon EBS I/O.
*/ inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; } /** *Whether the launch configuration is optimized for Amazon EBS I/O.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;} /** *The name or the ARN of the instance profile associated with the IAM role for * the instance. The instance profile contains the IAM role.
*/ inline const Aws::String& GetIamInstanceProfile() const{ return m_iamInstanceProfile; } /** *The name or the ARN of the instance profile associated with the IAM role for * the instance. The instance profile contains the IAM role.
*/ inline bool IamInstanceProfileHasBeenSet() const { return m_iamInstanceProfileHasBeenSet; } /** *The name or the ARN of the instance profile associated with the IAM role for * the instance. The instance profile contains the IAM role.
*/ inline void SetIamInstanceProfile(const Aws::String& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = value; } /** *The name or the ARN of the instance profile associated with the IAM role for * the instance. The instance profile contains the IAM role.
*/ inline void SetIamInstanceProfile(Aws::String&& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = std::move(value); } /** *The name or the ARN of the instance profile associated with the IAM role for * the instance. The instance profile contains the IAM role.
*/ inline void SetIamInstanceProfile(const char* value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile.assign(value); } /** *The name or the ARN of the instance profile associated with the IAM role for * the instance. The instance profile contains the IAM role.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithIamInstanceProfile(const Aws::String& value) { SetIamInstanceProfile(value); return *this;} /** *The name or the ARN of the instance profile associated with the IAM role for * the instance. The instance profile contains the IAM role.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithIamInstanceProfile(Aws::String&& value) { SetIamInstanceProfile(std::move(value)); return *this;} /** *The name or the ARN of the instance profile associated with the IAM role for * the instance. The instance profile contains the IAM role.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithIamInstanceProfile(const char* value) { SetIamInstanceProfile(value); return *this;} /** *The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 * instances.
*/ inline const Aws::String& GetImageId() const{ return m_imageId; } /** *The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 * instances.
*/ inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } /** *The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 * instances.
*/ inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } /** *The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 * instances.
*/ inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } /** *The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 * instances.
*/ inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } /** *The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 * instances.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} /** *The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 * instances.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} /** *The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 * instances.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithImageId(const char* value) { SetImageId(value); return *this;} /** *Indicates the type of monitoring for instances in the group.
*/ inline const AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails& GetInstanceMonitoring() const{ return m_instanceMonitoring; } /** *Indicates the type of monitoring for instances in the group.
*/ inline bool InstanceMonitoringHasBeenSet() const { return m_instanceMonitoringHasBeenSet; } /** *Indicates the type of monitoring for instances in the group.
*/ inline void SetInstanceMonitoring(const AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails& value) { m_instanceMonitoringHasBeenSet = true; m_instanceMonitoring = value; } /** *Indicates the type of monitoring for instances in the group.
*/ inline void SetInstanceMonitoring(AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails&& value) { m_instanceMonitoringHasBeenSet = true; m_instanceMonitoring = std::move(value); } /** *Indicates the type of monitoring for instances in the group.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithInstanceMonitoring(const AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails& value) { SetInstanceMonitoring(value); return *this;} /** *Indicates the type of monitoring for instances in the group.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithInstanceMonitoring(AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails&& value) { SetInstanceMonitoring(std::move(value)); return *this;} /** *The instance type for the instances.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The instance type for the instances.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type for the instances.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The instance type for the instances.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The instance type for the instances.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The instance type for the instances.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The instance type for the instances.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The instance type for the instances.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *The identifier of the kernel associated with the AMI.
*/ inline const Aws::String& GetKernelId() const{ return m_kernelId; } /** *The identifier of the kernel associated with the AMI.
*/ inline bool KernelIdHasBeenSet() const { return m_kernelIdHasBeenSet; } /** *The identifier of the kernel associated with the AMI.
*/ inline void SetKernelId(const Aws::String& value) { m_kernelIdHasBeenSet = true; m_kernelId = value; } /** *The identifier of the kernel associated with the AMI.
*/ inline void SetKernelId(Aws::String&& value) { m_kernelIdHasBeenSet = true; m_kernelId = std::move(value); } /** *The identifier of the kernel associated with the AMI.
*/ inline void SetKernelId(const char* value) { m_kernelIdHasBeenSet = true; m_kernelId.assign(value); } /** *The identifier of the kernel associated with the AMI.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithKernelId(const Aws::String& value) { SetKernelId(value); return *this;} /** *The identifier of the kernel associated with the AMI.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithKernelId(Aws::String&& value) { SetKernelId(std::move(value)); return *this;} /** *The identifier of the kernel associated with the AMI.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithKernelId(const char* value) { SetKernelId(value); return *this;} /** *The name of the key pair.
*/ inline const Aws::String& GetKeyName() const{ return m_keyName; } /** *The name of the key pair.
*/ inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } /** *The name of the key pair.
*/ inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; } /** *The name of the key pair.
*/ inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); } /** *The name of the key pair.
*/ inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); } /** *The name of the key pair.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} /** *The name of the key pair.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} /** *The name of the key pair.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithKeyName(const char* value) { SetKeyName(value); return *this;} /** *The name of the launch configuration.
*/ inline const Aws::String& GetLaunchConfigurationName() const{ return m_launchConfigurationName; } /** *The name of the launch configuration.
*/ inline bool LaunchConfigurationNameHasBeenSet() const { return m_launchConfigurationNameHasBeenSet; } /** *The name of the launch configuration.
*/ inline void SetLaunchConfigurationName(const Aws::String& value) { m_launchConfigurationNameHasBeenSet = true; m_launchConfigurationName = value; } /** *The name of the launch configuration.
*/ inline void SetLaunchConfigurationName(Aws::String&& value) { m_launchConfigurationNameHasBeenSet = true; m_launchConfigurationName = std::move(value); } /** *The name of the launch configuration.
*/ inline void SetLaunchConfigurationName(const char* value) { m_launchConfigurationNameHasBeenSet = true; m_launchConfigurationName.assign(value); } /** *The name of the launch configuration.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithLaunchConfigurationName(const Aws::String& value) { SetLaunchConfigurationName(value); return *this;} /** *The name of the launch configuration.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithLaunchConfigurationName(Aws::String&& value) { SetLaunchConfigurationName(std::move(value)); return *this;} /** *The name of the launch configuration.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithLaunchConfigurationName(const char* value) { SetLaunchConfigurationName(value); return *this;} /** *The tenancy of the instance. An instance with dedicated
tenancy
* runs on isolated, single-tenant hardware and can only be launched into a
* VPC.
The tenancy of the instance. An instance with dedicated
tenancy
* runs on isolated, single-tenant hardware and can only be launched into a
* VPC.
The tenancy of the instance. An instance with dedicated
tenancy
* runs on isolated, single-tenant hardware and can only be launched into a
* VPC.
The tenancy of the instance. An instance with dedicated
tenancy
* runs on isolated, single-tenant hardware and can only be launched into a
* VPC.
The tenancy of the instance. An instance with dedicated
tenancy
* runs on isolated, single-tenant hardware and can only be launched into a
* VPC.
The tenancy of the instance. An instance with dedicated
tenancy
* runs on isolated, single-tenant hardware and can only be launched into a
* VPC.
The tenancy of the instance. An instance with dedicated
tenancy
* runs on isolated, single-tenant hardware and can only be launched into a
* VPC.
The tenancy of the instance. An instance with dedicated
tenancy
* runs on isolated, single-tenant hardware and can only be launched into a
* VPC.
The identifier of the RAM disk associated with the AMI.
*/ inline const Aws::String& GetRamdiskId() const{ return m_ramdiskId; } /** *The identifier of the RAM disk associated with the AMI.
*/ inline bool RamdiskIdHasBeenSet() const { return m_ramdiskIdHasBeenSet; } /** *The identifier of the RAM disk associated with the AMI.
*/ inline void SetRamdiskId(const Aws::String& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = value; } /** *The identifier of the RAM disk associated with the AMI.
*/ inline void SetRamdiskId(Aws::String&& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = std::move(value); } /** *The identifier of the RAM disk associated with the AMI.
*/ inline void SetRamdiskId(const char* value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId.assign(value); } /** *The identifier of the RAM disk associated with the AMI.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithRamdiskId(const Aws::String& value) { SetRamdiskId(value); return *this;} /** *The identifier of the RAM disk associated with the AMI.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithRamdiskId(Aws::String&& value) { SetRamdiskId(std::move(value)); return *this;} /** *The identifier of the RAM disk associated with the AMI.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithRamdiskId(const char* value) { SetRamdiskId(value); return *this;} /** *The security groups to assign to the instances in the Auto Scaling group.
*/ inline const Aws::VectorThe security groups to assign to the instances in the Auto Scaling group.
*/ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** *The security groups to assign to the instances in the Auto Scaling group.
*/ inline void SetSecurityGroups(const Aws::VectorThe security groups to assign to the instances in the Auto Scaling group.
*/ inline void SetSecurityGroups(Aws::VectorThe security groups to assign to the instances in the Auto Scaling group.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithSecurityGroups(const Aws::VectorThe security groups to assign to the instances in the Auto Scaling group.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithSecurityGroups(Aws::VectorThe security groups to assign to the instances in the Auto Scaling group.
*/ inline AwsAutoScalingLaunchConfigurationDetails& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *The security groups to assign to the instances in the Auto Scaling group.
*/ inline AwsAutoScalingLaunchConfigurationDetails& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } /** *The security groups to assign to the instances in the Auto Scaling group.
*/ inline AwsAutoScalingLaunchConfigurationDetails& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *The maximum hourly price to be paid for any Spot Instance that is launched to * fulfill the request.
*/ inline const Aws::String& GetSpotPrice() const{ return m_spotPrice; } /** *The maximum hourly price to be paid for any Spot Instance that is launched to * fulfill the request.
*/ inline bool SpotPriceHasBeenSet() const { return m_spotPriceHasBeenSet; } /** *The maximum hourly price to be paid for any Spot Instance that is launched to * fulfill the request.
*/ inline void SetSpotPrice(const Aws::String& value) { m_spotPriceHasBeenSet = true; m_spotPrice = value; } /** *The maximum hourly price to be paid for any Spot Instance that is launched to * fulfill the request.
*/ inline void SetSpotPrice(Aws::String&& value) { m_spotPriceHasBeenSet = true; m_spotPrice = std::move(value); } /** *The maximum hourly price to be paid for any Spot Instance that is launched to * fulfill the request.
*/ inline void SetSpotPrice(const char* value) { m_spotPriceHasBeenSet = true; m_spotPrice.assign(value); } /** *The maximum hourly price to be paid for any Spot Instance that is launched to * fulfill the request.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithSpotPrice(const Aws::String& value) { SetSpotPrice(value); return *this;} /** *The maximum hourly price to be paid for any Spot Instance that is launched to * fulfill the request.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithSpotPrice(Aws::String&& value) { SetSpotPrice(std::move(value)); return *this;} /** *The maximum hourly price to be paid for any Spot Instance that is launched to * fulfill the request.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithSpotPrice(const char* value) { SetSpotPrice(value); return *this;} /** *The user data to make available to the launched EC2 instances. Must be * base64-encoded text.
*/ inline const Aws::String& GetUserData() const{ return m_userData; } /** *The user data to make available to the launched EC2 instances. Must be * base64-encoded text.
*/ inline bool UserDataHasBeenSet() const { return m_userDataHasBeenSet; } /** *The user data to make available to the launched EC2 instances. Must be * base64-encoded text.
*/ inline void SetUserData(const Aws::String& value) { m_userDataHasBeenSet = true; m_userData = value; } /** *The user data to make available to the launched EC2 instances. Must be * base64-encoded text.
*/ inline void SetUserData(Aws::String&& value) { m_userDataHasBeenSet = true; m_userData = std::move(value); } /** *The user data to make available to the launched EC2 instances. Must be * base64-encoded text.
*/ inline void SetUserData(const char* value) { m_userDataHasBeenSet = true; m_userData.assign(value); } /** *The user data to make available to the launched EC2 instances. Must be * base64-encoded text.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithUserData(const Aws::String& value) { SetUserData(value); return *this;} /** *The user data to make available to the launched EC2 instances. Must be * base64-encoded text.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithUserData(Aws::String&& value) { SetUserData(std::move(value)); return *this;} /** *The user data to make available to the launched EC2 instances. Must be * base64-encoded text.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithUserData(const char* value) { SetUserData(value); return *this;} /** *The metadata options for the instances.
*/ inline const AwsAutoScalingLaunchConfigurationMetadataOptions& GetMetadataOptions() const{ return m_metadataOptions; } /** *The metadata options for the instances.
*/ inline bool MetadataOptionsHasBeenSet() const { return m_metadataOptionsHasBeenSet; } /** *The metadata options for the instances.
*/ inline void SetMetadataOptions(const AwsAutoScalingLaunchConfigurationMetadataOptions& value) { m_metadataOptionsHasBeenSet = true; m_metadataOptions = value; } /** *The metadata options for the instances.
*/ inline void SetMetadataOptions(AwsAutoScalingLaunchConfigurationMetadataOptions&& value) { m_metadataOptionsHasBeenSet = true; m_metadataOptions = std::move(value); } /** *The metadata options for the instances.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithMetadataOptions(const AwsAutoScalingLaunchConfigurationMetadataOptions& value) { SetMetadataOptions(value); return *this;} /** *The metadata options for the instances.
*/ inline AwsAutoScalingLaunchConfigurationDetails& WithMetadataOptions(AwsAutoScalingLaunchConfigurationMetadataOptions&& value) { SetMetadataOptions(std::move(value)); return *this;} private: bool m_associatePublicIpAddress; bool m_associatePublicIpAddressHasBeenSet = false; Aws::Vector