/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Details about a launch configuration.

See Also:

AWS * API Reference

*/ class AwsAutoScalingLaunchConfigurationDetails { public: AWS_SECURITYHUB_API AwsAutoScalingLaunchConfigurationDetails(); AWS_SECURITYHUB_API AwsAutoScalingLaunchConfigurationDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsAutoScalingLaunchConfigurationDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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::Vector& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; } /** *

Specifies 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::Vector& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = value; } /** *

Specifies the block devices for the instance.

*/ inline void SetBlockDeviceMappings(Aws::Vector&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = std::move(value); } /** *

Specifies the block devices for the instance.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithBlockDeviceMappings(const Aws::Vector& value) { SetBlockDeviceMappings(value); return *this;} /** *

Specifies the block devices for the instance.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithBlockDeviceMappings(Aws::Vector&& value) { SetBlockDeviceMappings(std::move(value)); return *this;} /** *

Specifies 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.

*/ inline const Aws::Vector& GetClassicLinkVpcSecurityGroups() const{ return m_classicLinkVpcSecurityGroups; } /** *

The identifiers of one or more security groups for the VPC that is specified * in ClassicLinkVPCId.

*/ inline bool ClassicLinkVpcSecurityGroupsHasBeenSet() const { return m_classicLinkVpcSecurityGroupsHasBeenSet; } /** *

The identifiers of one or more security groups for the VPC that is specified * in ClassicLinkVPCId.

*/ inline void SetClassicLinkVpcSecurityGroups(const Aws::Vector& value) { m_classicLinkVpcSecurityGroupsHasBeenSet = true; m_classicLinkVpcSecurityGroups = value; } /** *

The identifiers of one or more security groups for the VPC that is specified * in ClassicLinkVPCId.

*/ inline void SetClassicLinkVpcSecurityGroups(Aws::Vector&& value) { m_classicLinkVpcSecurityGroupsHasBeenSet = true; m_classicLinkVpcSecurityGroups = std::move(value); } /** *

The identifiers of one or more security groups for the VPC that is specified * in ClassicLinkVPCId.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithClassicLinkVpcSecurityGroups(const Aws::Vector& value) { SetClassicLinkVpcSecurityGroups(value); return *this;} /** *

The identifiers of one or more security groups for the VPC that is specified * in ClassicLinkVPCId.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithClassicLinkVpcSecurityGroups(Aws::Vector&& value) { SetClassicLinkVpcSecurityGroups(std::move(value)); return *this;} /** *

The identifiers of one or more security groups for the VPC that is specified * in ClassicLinkVPCId.

*/ inline AwsAutoScalingLaunchConfigurationDetails& AddClassicLinkVpcSecurityGroups(const Aws::String& value) { m_classicLinkVpcSecurityGroupsHasBeenSet = true; m_classicLinkVpcSecurityGroups.push_back(value); return *this; } /** *

The identifiers of one or more security groups for the VPC that is specified * in ClassicLinkVPCId.

*/ inline AwsAutoScalingLaunchConfigurationDetails& AddClassicLinkVpcSecurityGroups(Aws::String&& value) { m_classicLinkVpcSecurityGroupsHasBeenSet = true; m_classicLinkVpcSecurityGroups.push_back(std::move(value)); return *this; } /** *

The identifiers of one or more security groups for the VPC that is specified * in ClassicLinkVPCId.

*/ inline AwsAutoScalingLaunchConfigurationDetails& AddClassicLinkVpcSecurityGroups(const char* value) { m_classicLinkVpcSecurityGroupsHasBeenSet = true; m_classicLinkVpcSecurityGroups.push_back(value); return *this; } /** *

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.

*/ inline const Aws::String& GetCreatedTime() const{ return m_createdTime; } /** *

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.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

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.

*/ inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

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.

*/ inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

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.

*/ inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); } /** *

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.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;} /** *

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.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

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.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;} /** *

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.

*/ inline const Aws::String& GetPlacementTenancy() const{ return m_placementTenancy; } /** *

The tenancy of the instance. An instance with dedicated tenancy * runs on isolated, single-tenant hardware and can only be launched into a * VPC.

*/ inline bool PlacementTenancyHasBeenSet() const { return m_placementTenancyHasBeenSet; } /** *

The tenancy of the instance. An instance with dedicated tenancy * runs on isolated, single-tenant hardware and can only be launched into a * VPC.

*/ inline void SetPlacementTenancy(const Aws::String& value) { m_placementTenancyHasBeenSet = true; m_placementTenancy = value; } /** *

The tenancy of the instance. An instance with dedicated tenancy * runs on isolated, single-tenant hardware and can only be launched into a * VPC.

*/ inline void SetPlacementTenancy(Aws::String&& value) { m_placementTenancyHasBeenSet = true; m_placementTenancy = std::move(value); } /** *

The tenancy of the instance. An instance with dedicated tenancy * runs on isolated, single-tenant hardware and can only be launched into a * VPC.

*/ inline void SetPlacementTenancy(const char* value) { m_placementTenancyHasBeenSet = true; m_placementTenancy.assign(value); } /** *

The tenancy of the instance. An instance with dedicated tenancy * runs on isolated, single-tenant hardware and can only be launched into a * VPC.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithPlacementTenancy(const Aws::String& value) { SetPlacementTenancy(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.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithPlacementTenancy(Aws::String&& value) { SetPlacementTenancy(std::move(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.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithPlacementTenancy(const char* value) { SetPlacementTenancy(value); return *this;} /** *

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::Vector& GetSecurityGroups() const{ return m_securityGroups; } /** *

The 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::Vector& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; } /** *

The security groups to assign to the instances in the Auto Scaling group.

*/ inline void SetSecurityGroups(Aws::Vector&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); } /** *

The security groups to assign to the instances in the Auto Scaling group.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithSecurityGroups(const Aws::Vector& value) { SetSecurityGroups(value); return *this;} /** *

The security groups to assign to the instances in the Auto Scaling group.

*/ inline AwsAutoScalingLaunchConfigurationDetails& WithSecurityGroups(Aws::Vector&& value) { SetSecurityGroups(std::move(value)); return *this;} /** *

The 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 m_blockDeviceMappings; bool m_blockDeviceMappingsHasBeenSet = false; Aws::String m_classicLinkVpcId; bool m_classicLinkVpcIdHasBeenSet = false; Aws::Vector m_classicLinkVpcSecurityGroups; bool m_classicLinkVpcSecurityGroupsHasBeenSet = false; Aws::String m_createdTime; bool m_createdTimeHasBeenSet = false; bool m_ebsOptimized; bool m_ebsOptimizedHasBeenSet = false; Aws::String m_iamInstanceProfile; bool m_iamInstanceProfileHasBeenSet = false; Aws::String m_imageId; bool m_imageIdHasBeenSet = false; AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails m_instanceMonitoring; bool m_instanceMonitoringHasBeenSet = false; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::String m_kernelId; bool m_kernelIdHasBeenSet = false; Aws::String m_keyName; bool m_keyNameHasBeenSet = false; Aws::String m_launchConfigurationName; bool m_launchConfigurationNameHasBeenSet = false; Aws::String m_placementTenancy; bool m_placementTenancyHasBeenSet = false; Aws::String m_ramdiskId; bool m_ramdiskIdHasBeenSet = false; Aws::Vector m_securityGroups; bool m_securityGroupsHasBeenSet = false; Aws::String m_spotPrice; bool m_spotPriceHasBeenSet = false; Aws::String m_userData; bool m_userDataHasBeenSet = false; AwsAutoScalingLaunchConfigurationMetadataOptions m_metadataOptions; bool m_metadataOptionsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws