/** * 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

The information for a launch template.

See Also:

AWS * API Reference

*/ class ResponseLaunchTemplateData { public: AWS_EC2_API ResponseLaunchTemplateData(); AWS_EC2_API ResponseLaunchTemplateData(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API ResponseLaunchTemplateData& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The ID of the kernel, if applicable.

*/ inline const Aws::String& GetKernelId() const{ return m_kernelId; } /** *

The ID of the kernel, if applicable.

*/ inline bool KernelIdHasBeenSet() const { return m_kernelIdHasBeenSet; } /** *

The ID of the kernel, if applicable.

*/ inline void SetKernelId(const Aws::String& value) { m_kernelIdHasBeenSet = true; m_kernelId = value; } /** *

The ID of the kernel, if applicable.

*/ inline void SetKernelId(Aws::String&& value) { m_kernelIdHasBeenSet = true; m_kernelId = std::move(value); } /** *

The ID of the kernel, if applicable.

*/ inline void SetKernelId(const char* value) { m_kernelIdHasBeenSet = true; m_kernelId.assign(value); } /** *

The ID of the kernel, if applicable.

*/ inline ResponseLaunchTemplateData& WithKernelId(const Aws::String& value) { SetKernelId(value); return *this;} /** *

The ID of the kernel, if applicable.

*/ inline ResponseLaunchTemplateData& WithKernelId(Aws::String&& value) { SetKernelId(std::move(value)); return *this;} /** *

The ID of the kernel, if applicable.

*/ inline ResponseLaunchTemplateData& WithKernelId(const char* value) { SetKernelId(value); return *this;} /** *

Indicates whether the instance is optimized for Amazon EBS I/O.

*/ inline bool GetEbsOptimized() const{ return m_ebsOptimized; } /** *

Indicates whether the instance is optimized for Amazon EBS I/O.

*/ inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; } /** *

Indicates whether the instance is optimized for Amazon EBS I/O.

*/ inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; } /** *

Indicates whether the instance is optimized for Amazon EBS I/O.

*/ inline ResponseLaunchTemplateData& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;} /** *

The IAM instance profile.

*/ inline const LaunchTemplateIamInstanceProfileSpecification& GetIamInstanceProfile() const{ return m_iamInstanceProfile; } /** *

The IAM instance profile.

*/ inline bool IamInstanceProfileHasBeenSet() const { return m_iamInstanceProfileHasBeenSet; } /** *

The IAM instance profile.

*/ inline void SetIamInstanceProfile(const LaunchTemplateIamInstanceProfileSpecification& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = value; } /** *

The IAM instance profile.

*/ inline void SetIamInstanceProfile(LaunchTemplateIamInstanceProfileSpecification&& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = std::move(value); } /** *

The IAM instance profile.

*/ inline ResponseLaunchTemplateData& WithIamInstanceProfile(const LaunchTemplateIamInstanceProfileSpecification& value) { SetIamInstanceProfile(value); return *this;} /** *

The IAM instance profile.

*/ inline ResponseLaunchTemplateData& WithIamInstanceProfile(LaunchTemplateIamInstanceProfileSpecification&& value) { SetIamInstanceProfile(std::move(value)); return *this;} /** *

The block device mappings.

*/ inline const Aws::Vector& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; } /** *

The block device mappings.

*/ inline bool BlockDeviceMappingsHasBeenSet() const { return m_blockDeviceMappingsHasBeenSet; } /** *

The block device mappings.

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

The block device mappings.

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

The block device mappings.

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

The block device mappings.

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

The block device mappings.

*/ inline ResponseLaunchTemplateData& AddBlockDeviceMappings(const LaunchTemplateBlockDeviceMapping& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; } /** *

The block device mappings.

*/ inline ResponseLaunchTemplateData& AddBlockDeviceMappings(LaunchTemplateBlockDeviceMapping&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(std::move(value)); return *this; } /** *

The network interfaces.

*/ inline const Aws::Vector& GetNetworkInterfaces() const{ return m_networkInterfaces; } /** *

The network interfaces.

*/ inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; } /** *

The network interfaces.

*/ inline void SetNetworkInterfaces(const Aws::Vector& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; } /** *

The network interfaces.

*/ inline void SetNetworkInterfaces(Aws::Vector&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); } /** *

The network interfaces.

*/ inline ResponseLaunchTemplateData& WithNetworkInterfaces(const Aws::Vector& value) { SetNetworkInterfaces(value); return *this;} /** *

The network interfaces.

*/ inline ResponseLaunchTemplateData& WithNetworkInterfaces(Aws::Vector&& value) { SetNetworkInterfaces(std::move(value)); return *this;} /** *

The network interfaces.

*/ inline ResponseLaunchTemplateData& AddNetworkInterfaces(const LaunchTemplateInstanceNetworkInterfaceSpecification& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; } /** *

The network interfaces.

*/ inline ResponseLaunchTemplateData& AddNetworkInterfaces(LaunchTemplateInstanceNetworkInterfaceSpecification&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; } /** *

The ID of the AMI or a Systems Manager parameter. The Systems Manager * parameter will resolve to the ID of the AMI at instance launch.

The value * depends on what you specified in the request. The possible values are:

    *
  • If an AMI ID was specified in the request, then this is the AMI ID.

    *
  • If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as true, then this is the * AMI ID that the parameter is mapped to in the Parameter Store.

  • *

    If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as false, then this is the * parameter value.

For more information, see Use * a Systems Manager parameter instead of an AMI ID in the Amazon Elastic * Compute Cloud User Guide.

*/ inline const Aws::String& GetImageId() const{ return m_imageId; } /** *

The ID of the AMI or a Systems Manager parameter. The Systems Manager * parameter will resolve to the ID of the AMI at instance launch.

The value * depends on what you specified in the request. The possible values are:

    *
  • If an AMI ID was specified in the request, then this is the AMI ID.

    *
  • If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as true, then this is the * AMI ID that the parameter is mapped to in the Parameter Store.

  • *

    If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as false, then this is the * parameter value.

For more information, see Use * a Systems Manager parameter instead of an AMI ID in the Amazon Elastic * Compute Cloud User Guide.

*/ inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } /** *

The ID of the AMI or a Systems Manager parameter. The Systems Manager * parameter will resolve to the ID of the AMI at instance launch.

The value * depends on what you specified in the request. The possible values are:

    *
  • If an AMI ID was specified in the request, then this is the AMI ID.

    *
  • If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as true, then this is the * AMI ID that the parameter is mapped to in the Parameter Store.

  • *

    If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as false, then this is the * parameter value.

For more information, see Use * a Systems Manager parameter instead of an AMI ID in the Amazon Elastic * Compute Cloud User Guide.

*/ inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } /** *

The ID of the AMI or a Systems Manager parameter. The Systems Manager * parameter will resolve to the ID of the AMI at instance launch.

The value * depends on what you specified in the request. The possible values are:

    *
  • If an AMI ID was specified in the request, then this is the AMI ID.

    *
  • If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as true, then this is the * AMI ID that the parameter is mapped to in the Parameter Store.

  • *

    If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as false, then this is the * parameter value.

For more information, see Use * a Systems Manager parameter instead of an AMI ID in the Amazon Elastic * Compute Cloud User Guide.

*/ inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } /** *

The ID of the AMI or a Systems Manager parameter. The Systems Manager * parameter will resolve to the ID of the AMI at instance launch.

The value * depends on what you specified in the request. The possible values are:

    *
  • If an AMI ID was specified in the request, then this is the AMI ID.

    *
  • If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as true, then this is the * AMI ID that the parameter is mapped to in the Parameter Store.

  • *

    If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as false, then this is the * parameter value.

For more information, see Use * a Systems Manager parameter instead of an AMI ID in the Amazon Elastic * Compute Cloud User Guide.

*/ inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } /** *

The ID of the AMI or a Systems Manager parameter. The Systems Manager * parameter will resolve to the ID of the AMI at instance launch.

The value * depends on what you specified in the request. The possible values are:

    *
  • If an AMI ID was specified in the request, then this is the AMI ID.

    *
  • If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as true, then this is the * AMI ID that the parameter is mapped to in the Parameter Store.

  • *

    If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as false, then this is the * parameter value.

For more information, see Use * a Systems Manager parameter instead of an AMI ID in the Amazon Elastic * Compute Cloud User Guide.

*/ inline ResponseLaunchTemplateData& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} /** *

The ID of the AMI or a Systems Manager parameter. The Systems Manager * parameter will resolve to the ID of the AMI at instance launch.

The value * depends on what you specified in the request. The possible values are:

    *
  • If an AMI ID was specified in the request, then this is the AMI ID.

    *
  • If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as true, then this is the * AMI ID that the parameter is mapped to in the Parameter Store.

  • *

    If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as false, then this is the * parameter value.

For more information, see Use * a Systems Manager parameter instead of an AMI ID in the Amazon Elastic * Compute Cloud User Guide.

*/ inline ResponseLaunchTemplateData& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} /** *

The ID of the AMI or a Systems Manager parameter. The Systems Manager * parameter will resolve to the ID of the AMI at instance launch.

The value * depends on what you specified in the request. The possible values are:

    *
  • If an AMI ID was specified in the request, then this is the AMI ID.

    *
  • If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as true, then this is the * AMI ID that the parameter is mapped to in the Parameter Store.

  • *

    If a Systems Manager parameter was specified in the request, and * ResolveAlias was configured as false, then this is the * parameter value.

For more information, see Use * a Systems Manager parameter instead of an AMI ID in the Amazon Elastic * Compute Cloud User Guide.

*/ inline ResponseLaunchTemplateData& WithImageId(const char* value) { SetImageId(value); return *this;} /** *

The instance type.

*/ inline const InstanceType& GetInstanceType() const{ return m_instanceType; } /** *

The instance type.

*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *

The instance type.

*/ inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *

The instance type.

*/ inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *

The instance type.

*/ inline ResponseLaunchTemplateData& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;} /** *

The instance type.

*/ inline ResponseLaunchTemplateData& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(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 ResponseLaunchTemplateData& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} /** *

The name of the key pair.

*/ inline ResponseLaunchTemplateData& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} /** *

The name of the key pair.

*/ inline ResponseLaunchTemplateData& WithKeyName(const char* value) { SetKeyName(value); return *this;} /** *

The monitoring for the instance.

*/ inline const LaunchTemplatesMonitoring& GetMonitoring() const{ return m_monitoring; } /** *

The monitoring for the instance.

*/ inline bool MonitoringHasBeenSet() const { return m_monitoringHasBeenSet; } /** *

The monitoring for the instance.

*/ inline void SetMonitoring(const LaunchTemplatesMonitoring& value) { m_monitoringHasBeenSet = true; m_monitoring = value; } /** *

The monitoring for the instance.

*/ inline void SetMonitoring(LaunchTemplatesMonitoring&& value) { m_monitoringHasBeenSet = true; m_monitoring = std::move(value); } /** *

The monitoring for the instance.

*/ inline ResponseLaunchTemplateData& WithMonitoring(const LaunchTemplatesMonitoring& value) { SetMonitoring(value); return *this;} /** *

The monitoring for the instance.

*/ inline ResponseLaunchTemplateData& WithMonitoring(LaunchTemplatesMonitoring&& value) { SetMonitoring(std::move(value)); return *this;} /** *

The placement of the instance.

*/ inline const LaunchTemplatePlacement& GetPlacement() const{ return m_placement; } /** *

The placement of the instance.

*/ inline bool PlacementHasBeenSet() const { return m_placementHasBeenSet; } /** *

The placement of the instance.

*/ inline void SetPlacement(const LaunchTemplatePlacement& value) { m_placementHasBeenSet = true; m_placement = value; } /** *

The placement of the instance.

*/ inline void SetPlacement(LaunchTemplatePlacement&& value) { m_placementHasBeenSet = true; m_placement = std::move(value); } /** *

The placement of the instance.

*/ inline ResponseLaunchTemplateData& WithPlacement(const LaunchTemplatePlacement& value) { SetPlacement(value); return *this;} /** *

The placement of the instance.

*/ inline ResponseLaunchTemplateData& WithPlacement(LaunchTemplatePlacement&& value) { SetPlacement(std::move(value)); return *this;} /** *

The ID of the RAM disk, if applicable.

*/ inline const Aws::String& GetRamDiskId() const{ return m_ramDiskId; } /** *

The ID of the RAM disk, if applicable.

*/ inline bool RamDiskIdHasBeenSet() const { return m_ramDiskIdHasBeenSet; } /** *

The ID of the RAM disk, if applicable.

*/ inline void SetRamDiskId(const Aws::String& value) { m_ramDiskIdHasBeenSet = true; m_ramDiskId = value; } /** *

The ID of the RAM disk, if applicable.

*/ inline void SetRamDiskId(Aws::String&& value) { m_ramDiskIdHasBeenSet = true; m_ramDiskId = std::move(value); } /** *

The ID of the RAM disk, if applicable.

*/ inline void SetRamDiskId(const char* value) { m_ramDiskIdHasBeenSet = true; m_ramDiskId.assign(value); } /** *

The ID of the RAM disk, if applicable.

*/ inline ResponseLaunchTemplateData& WithRamDiskId(const Aws::String& value) { SetRamDiskId(value); return *this;} /** *

The ID of the RAM disk, if applicable.

*/ inline ResponseLaunchTemplateData& WithRamDiskId(Aws::String&& value) { SetRamDiskId(std::move(value)); return *this;} /** *

The ID of the RAM disk, if applicable.

*/ inline ResponseLaunchTemplateData& WithRamDiskId(const char* value) { SetRamDiskId(value); return *this;} /** *

If set to true, indicates that the instance cannot be terminated * using the Amazon EC2 console, command line tool, or API.

*/ inline bool GetDisableApiTermination() const{ return m_disableApiTermination; } /** *

If set to true, indicates that the instance cannot be terminated * using the Amazon EC2 console, command line tool, or API.

*/ inline bool DisableApiTerminationHasBeenSet() const { return m_disableApiTerminationHasBeenSet; } /** *

If set to true, indicates that the instance cannot be terminated * using the Amazon EC2 console, command line tool, or API.

*/ inline void SetDisableApiTermination(bool value) { m_disableApiTerminationHasBeenSet = true; m_disableApiTermination = value; } /** *

If set to true, indicates that the instance cannot be terminated * using the Amazon EC2 console, command line tool, or API.

*/ inline ResponseLaunchTemplateData& WithDisableApiTermination(bool value) { SetDisableApiTermination(value); return *this;} /** *

Indicates whether an instance stops or terminates when you initiate shutdown * from the instance (using the operating system command for system shutdown).

*/ inline const ShutdownBehavior& GetInstanceInitiatedShutdownBehavior() const{ return m_instanceInitiatedShutdownBehavior; } /** *

Indicates whether an instance stops or terminates when you initiate shutdown * from the instance (using the operating system command for system shutdown).

*/ inline bool InstanceInitiatedShutdownBehaviorHasBeenSet() const { return m_instanceInitiatedShutdownBehaviorHasBeenSet; } /** *

Indicates whether an instance stops or terminates when you initiate shutdown * from the instance (using the operating system command for system shutdown).

*/ inline void SetInstanceInitiatedShutdownBehavior(const ShutdownBehavior& value) { m_instanceInitiatedShutdownBehaviorHasBeenSet = true; m_instanceInitiatedShutdownBehavior = value; } /** *

Indicates whether an instance stops or terminates when you initiate shutdown * from the instance (using the operating system command for system shutdown).

*/ inline void SetInstanceInitiatedShutdownBehavior(ShutdownBehavior&& value) { m_instanceInitiatedShutdownBehaviorHasBeenSet = true; m_instanceInitiatedShutdownBehavior = std::move(value); } /** *

Indicates whether an instance stops or terminates when you initiate shutdown * from the instance (using the operating system command for system shutdown).

*/ inline ResponseLaunchTemplateData& WithInstanceInitiatedShutdownBehavior(const ShutdownBehavior& value) { SetInstanceInitiatedShutdownBehavior(value); return *this;} /** *

Indicates whether an instance stops or terminates when you initiate shutdown * from the instance (using the operating system command for system shutdown).

*/ inline ResponseLaunchTemplateData& WithInstanceInitiatedShutdownBehavior(ShutdownBehavior&& value) { SetInstanceInitiatedShutdownBehavior(std::move(value)); return *this;} /** *

The user data for the instance.

*/ inline const Aws::String& GetUserData() const{ return m_userData; } /** *

The user data for the instance.

*/ inline bool UserDataHasBeenSet() const { return m_userDataHasBeenSet; } /** *

The user data for the instance.

*/ inline void SetUserData(const Aws::String& value) { m_userDataHasBeenSet = true; m_userData = value; } /** *

The user data for the instance.

*/ inline void SetUserData(Aws::String&& value) { m_userDataHasBeenSet = true; m_userData = std::move(value); } /** *

The user data for the instance.

*/ inline void SetUserData(const char* value) { m_userDataHasBeenSet = true; m_userData.assign(value); } /** *

The user data for the instance.

*/ inline ResponseLaunchTemplateData& WithUserData(const Aws::String& value) { SetUserData(value); return *this;} /** *

The user data for the instance.

*/ inline ResponseLaunchTemplateData& WithUserData(Aws::String&& value) { SetUserData(std::move(value)); return *this;} /** *

The user data for the instance.

*/ inline ResponseLaunchTemplateData& WithUserData(const char* value) { SetUserData(value); return *this;} /** *

The tags that are applied to the resources that are created during instance * launch.

*/ inline const Aws::Vector& GetTagSpecifications() const{ return m_tagSpecifications; } /** *

The tags that are applied to the resources that are created during instance * launch.

*/ inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; } /** *

The tags that are applied to the resources that are created during instance * launch.

*/ inline void SetTagSpecifications(const Aws::Vector& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; } /** *

The tags that are applied to the resources that are created during instance * launch.

*/ inline void SetTagSpecifications(Aws::Vector&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); } /** *

The tags that are applied to the resources that are created during instance * launch.

*/ inline ResponseLaunchTemplateData& WithTagSpecifications(const Aws::Vector& value) { SetTagSpecifications(value); return *this;} /** *

The tags that are applied to the resources that are created during instance * launch.

*/ inline ResponseLaunchTemplateData& WithTagSpecifications(Aws::Vector&& value) { SetTagSpecifications(std::move(value)); return *this;} /** *

The tags that are applied to the resources that are created during instance * launch.

*/ inline ResponseLaunchTemplateData& AddTagSpecifications(const LaunchTemplateTagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; } /** *

The tags that are applied to the resources that are created during instance * launch.

*/ inline ResponseLaunchTemplateData& AddTagSpecifications(LaunchTemplateTagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; } /** *

The elastic GPU specification.

*/ inline const Aws::Vector& GetElasticGpuSpecifications() const{ return m_elasticGpuSpecifications; } /** *

The elastic GPU specification.

*/ inline bool ElasticGpuSpecificationsHasBeenSet() const { return m_elasticGpuSpecificationsHasBeenSet; } /** *

The elastic GPU specification.

*/ inline void SetElasticGpuSpecifications(const Aws::Vector& value) { m_elasticGpuSpecificationsHasBeenSet = true; m_elasticGpuSpecifications = value; } /** *

The elastic GPU specification.

*/ inline void SetElasticGpuSpecifications(Aws::Vector&& value) { m_elasticGpuSpecificationsHasBeenSet = true; m_elasticGpuSpecifications = std::move(value); } /** *

The elastic GPU specification.

*/ inline ResponseLaunchTemplateData& WithElasticGpuSpecifications(const Aws::Vector& value) { SetElasticGpuSpecifications(value); return *this;} /** *

The elastic GPU specification.

*/ inline ResponseLaunchTemplateData& WithElasticGpuSpecifications(Aws::Vector&& value) { SetElasticGpuSpecifications(std::move(value)); return *this;} /** *

The elastic GPU specification.

*/ inline ResponseLaunchTemplateData& AddElasticGpuSpecifications(const ElasticGpuSpecificationResponse& value) { m_elasticGpuSpecificationsHasBeenSet = true; m_elasticGpuSpecifications.push_back(value); return *this; } /** *

The elastic GPU specification.

*/ inline ResponseLaunchTemplateData& AddElasticGpuSpecifications(ElasticGpuSpecificationResponse&& value) { m_elasticGpuSpecificationsHasBeenSet = true; m_elasticGpuSpecifications.push_back(std::move(value)); return *this; } /** *

The elastic inference accelerator for the instance.

*/ inline const Aws::Vector& GetElasticInferenceAccelerators() const{ return m_elasticInferenceAccelerators; } /** *

The elastic inference accelerator for the instance.

*/ inline bool ElasticInferenceAcceleratorsHasBeenSet() const { return m_elasticInferenceAcceleratorsHasBeenSet; } /** *

The elastic inference accelerator for the instance.

*/ inline void SetElasticInferenceAccelerators(const Aws::Vector& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators = value; } /** *

The elastic inference accelerator for the instance.

*/ inline void SetElasticInferenceAccelerators(Aws::Vector&& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators = std::move(value); } /** *

The elastic inference accelerator for the instance.

*/ inline ResponseLaunchTemplateData& WithElasticInferenceAccelerators(const Aws::Vector& value) { SetElasticInferenceAccelerators(value); return *this;} /** *

The elastic inference accelerator for the instance.

*/ inline ResponseLaunchTemplateData& WithElasticInferenceAccelerators(Aws::Vector&& value) { SetElasticInferenceAccelerators(std::move(value)); return *this;} /** *

The elastic inference accelerator for the instance.

*/ inline ResponseLaunchTemplateData& AddElasticInferenceAccelerators(const LaunchTemplateElasticInferenceAcceleratorResponse& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators.push_back(value); return *this; } /** *

The elastic inference accelerator for the instance.

*/ inline ResponseLaunchTemplateData& AddElasticInferenceAccelerators(LaunchTemplateElasticInferenceAcceleratorResponse&& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators.push_back(std::move(value)); return *this; } /** *

The security group IDs.

*/ inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } /** *

The security group IDs.

*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *

The security group IDs.

*/ inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } /** *

The security group IDs.

*/ inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } /** *

The security group IDs.

*/ inline ResponseLaunchTemplateData& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} /** *

The security group IDs.

*/ inline ResponseLaunchTemplateData& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} /** *

The security group IDs.

*/ inline ResponseLaunchTemplateData& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

The security group IDs.

*/ inline ResponseLaunchTemplateData& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *

The security group IDs.

*/ inline ResponseLaunchTemplateData& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

The security group names.

*/ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } /** *

The security group names.

*/ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** *

The security group names.

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

The security group names.

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

The security group names.

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

The security group names.

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

The security group names.

*/ inline ResponseLaunchTemplateData& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *

The security group names.

*/ inline ResponseLaunchTemplateData& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } /** *

The security group names.

*/ inline ResponseLaunchTemplateData& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *

The market (purchasing) option for the instances.

*/ inline const LaunchTemplateInstanceMarketOptions& GetInstanceMarketOptions() const{ return m_instanceMarketOptions; } /** *

The market (purchasing) option for the instances.

*/ inline bool InstanceMarketOptionsHasBeenSet() const { return m_instanceMarketOptionsHasBeenSet; } /** *

The market (purchasing) option for the instances.

*/ inline void SetInstanceMarketOptions(const LaunchTemplateInstanceMarketOptions& value) { m_instanceMarketOptionsHasBeenSet = true; m_instanceMarketOptions = value; } /** *

The market (purchasing) option for the instances.

*/ inline void SetInstanceMarketOptions(LaunchTemplateInstanceMarketOptions&& value) { m_instanceMarketOptionsHasBeenSet = true; m_instanceMarketOptions = std::move(value); } /** *

The market (purchasing) option for the instances.

*/ inline ResponseLaunchTemplateData& WithInstanceMarketOptions(const LaunchTemplateInstanceMarketOptions& value) { SetInstanceMarketOptions(value); return *this;} /** *

The market (purchasing) option for the instances.

*/ inline ResponseLaunchTemplateData& WithInstanceMarketOptions(LaunchTemplateInstanceMarketOptions&& value) { SetInstanceMarketOptions(std::move(value)); return *this;} /** *

The credit option for CPU usage of the instance.

*/ inline const CreditSpecification& GetCreditSpecification() const{ return m_creditSpecification; } /** *

The credit option for CPU usage of the instance.

*/ inline bool CreditSpecificationHasBeenSet() const { return m_creditSpecificationHasBeenSet; } /** *

The credit option for CPU usage of the instance.

*/ inline void SetCreditSpecification(const CreditSpecification& value) { m_creditSpecificationHasBeenSet = true; m_creditSpecification = value; } /** *

The credit option for CPU usage of the instance.

*/ inline void SetCreditSpecification(CreditSpecification&& value) { m_creditSpecificationHasBeenSet = true; m_creditSpecification = std::move(value); } /** *

The credit option for CPU usage of the instance.

*/ inline ResponseLaunchTemplateData& WithCreditSpecification(const CreditSpecification& value) { SetCreditSpecification(value); return *this;} /** *

The credit option for CPU usage of the instance.

*/ inline ResponseLaunchTemplateData& WithCreditSpecification(CreditSpecification&& value) { SetCreditSpecification(std::move(value)); return *this;} /** *

The CPU options for the instance. For more information, see Optimizing * CPU options in the Amazon Elastic Compute Cloud User Guide.

*/ inline const LaunchTemplateCpuOptions& GetCpuOptions() const{ return m_cpuOptions; } /** *

The CPU options for the instance. For more information, see Optimizing * CPU options in the Amazon Elastic Compute Cloud User Guide.

*/ inline bool CpuOptionsHasBeenSet() const { return m_cpuOptionsHasBeenSet; } /** *

The CPU options for the instance. For more information, see Optimizing * CPU options in the Amazon Elastic Compute Cloud User Guide.

*/ inline void SetCpuOptions(const LaunchTemplateCpuOptions& value) { m_cpuOptionsHasBeenSet = true; m_cpuOptions = value; } /** *

The CPU options for the instance. For more information, see Optimizing * CPU options in the Amazon Elastic Compute Cloud User Guide.

*/ inline void SetCpuOptions(LaunchTemplateCpuOptions&& value) { m_cpuOptionsHasBeenSet = true; m_cpuOptions = std::move(value); } /** *

The CPU options for the instance. For more information, see Optimizing * CPU options in the Amazon Elastic Compute Cloud User Guide.

*/ inline ResponseLaunchTemplateData& WithCpuOptions(const LaunchTemplateCpuOptions& value) { SetCpuOptions(value); return *this;} /** *

The CPU options for the instance. For more information, see Optimizing * CPU options in the Amazon Elastic Compute Cloud User Guide.

*/ inline ResponseLaunchTemplateData& WithCpuOptions(LaunchTemplateCpuOptions&& value) { SetCpuOptions(std::move(value)); return *this;} /** *

Information about the Capacity Reservation targeting option.

*/ inline const LaunchTemplateCapacityReservationSpecificationResponse& GetCapacityReservationSpecification() const{ return m_capacityReservationSpecification; } /** *

Information about the Capacity Reservation targeting option.

*/ inline bool CapacityReservationSpecificationHasBeenSet() const { return m_capacityReservationSpecificationHasBeenSet; } /** *

Information about the Capacity Reservation targeting option.

*/ inline void SetCapacityReservationSpecification(const LaunchTemplateCapacityReservationSpecificationResponse& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = value; } /** *

Information about the Capacity Reservation targeting option.

*/ inline void SetCapacityReservationSpecification(LaunchTemplateCapacityReservationSpecificationResponse&& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = std::move(value); } /** *

Information about the Capacity Reservation targeting option.

*/ inline ResponseLaunchTemplateData& WithCapacityReservationSpecification(const LaunchTemplateCapacityReservationSpecificationResponse& value) { SetCapacityReservationSpecification(value); return *this;} /** *

Information about the Capacity Reservation targeting option.

*/ inline ResponseLaunchTemplateData& WithCapacityReservationSpecification(LaunchTemplateCapacityReservationSpecificationResponse&& value) { SetCapacityReservationSpecification(std::move(value)); return *this;} /** *

The license configurations.

*/ inline const Aws::Vector& GetLicenseSpecifications() const{ return m_licenseSpecifications; } /** *

The license configurations.

*/ inline bool LicenseSpecificationsHasBeenSet() const { return m_licenseSpecificationsHasBeenSet; } /** *

The license configurations.

*/ inline void SetLicenseSpecifications(const Aws::Vector& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications = value; } /** *

The license configurations.

*/ inline void SetLicenseSpecifications(Aws::Vector&& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications = std::move(value); } /** *

The license configurations.

*/ inline ResponseLaunchTemplateData& WithLicenseSpecifications(const Aws::Vector& value) { SetLicenseSpecifications(value); return *this;} /** *

The license configurations.

*/ inline ResponseLaunchTemplateData& WithLicenseSpecifications(Aws::Vector&& value) { SetLicenseSpecifications(std::move(value)); return *this;} /** *

The license configurations.

*/ inline ResponseLaunchTemplateData& AddLicenseSpecifications(const LaunchTemplateLicenseConfiguration& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications.push_back(value); return *this; } /** *

The license configurations.

*/ inline ResponseLaunchTemplateData& AddLicenseSpecifications(LaunchTemplateLicenseConfiguration&& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications.push_back(std::move(value)); return *this; } /** *

Indicates whether an instance is configured for hibernation. For more * information, see Hibernate * your instance in the Amazon Elastic Compute Cloud User Guide.

*/ inline const LaunchTemplateHibernationOptions& GetHibernationOptions() const{ return m_hibernationOptions; } /** *

Indicates whether an instance is configured for hibernation. For more * information, see Hibernate * your instance in the Amazon Elastic Compute Cloud User Guide.

*/ inline bool HibernationOptionsHasBeenSet() const { return m_hibernationOptionsHasBeenSet; } /** *

Indicates whether an instance is configured for hibernation. For more * information, see Hibernate * your instance in the Amazon Elastic Compute Cloud User Guide.

*/ inline void SetHibernationOptions(const LaunchTemplateHibernationOptions& value) { m_hibernationOptionsHasBeenSet = true; m_hibernationOptions = value; } /** *

Indicates whether an instance is configured for hibernation. For more * information, see Hibernate * your instance in the Amazon Elastic Compute Cloud User Guide.

*/ inline void SetHibernationOptions(LaunchTemplateHibernationOptions&& value) { m_hibernationOptionsHasBeenSet = true; m_hibernationOptions = std::move(value); } /** *

Indicates whether an instance is configured for hibernation. For more * information, see Hibernate * your instance in the Amazon Elastic Compute Cloud User Guide.

*/ inline ResponseLaunchTemplateData& WithHibernationOptions(const LaunchTemplateHibernationOptions& value) { SetHibernationOptions(value); return *this;} /** *

Indicates whether an instance is configured for hibernation. For more * information, see Hibernate * your instance in the Amazon Elastic Compute Cloud User Guide.

*/ inline ResponseLaunchTemplateData& WithHibernationOptions(LaunchTemplateHibernationOptions&& value) { SetHibernationOptions(std::move(value)); return *this;} /** *

The metadata options for the instance. For more information, see Instance * metadata and user data in the Amazon Elastic Compute Cloud User * Guide.

*/ inline const LaunchTemplateInstanceMetadataOptions& GetMetadataOptions() const{ return m_metadataOptions; } /** *

The metadata options for the instance. For more information, see Instance * metadata and user data in the Amazon Elastic Compute Cloud User * Guide.

*/ inline bool MetadataOptionsHasBeenSet() const { return m_metadataOptionsHasBeenSet; } /** *

The metadata options for the instance. For more information, see Instance * metadata and user data in the Amazon Elastic Compute Cloud User * Guide.

*/ inline void SetMetadataOptions(const LaunchTemplateInstanceMetadataOptions& value) { m_metadataOptionsHasBeenSet = true; m_metadataOptions = value; } /** *

The metadata options for the instance. For more information, see Instance * metadata and user data in the Amazon Elastic Compute Cloud User * Guide.

*/ inline void SetMetadataOptions(LaunchTemplateInstanceMetadataOptions&& value) { m_metadataOptionsHasBeenSet = true; m_metadataOptions = std::move(value); } /** *

The metadata options for the instance. For more information, see Instance * metadata and user data in the Amazon Elastic Compute Cloud User * Guide.

*/ inline ResponseLaunchTemplateData& WithMetadataOptions(const LaunchTemplateInstanceMetadataOptions& value) { SetMetadataOptions(value); return *this;} /** *

The metadata options for the instance. For more information, see Instance * metadata and user data in the Amazon Elastic Compute Cloud User * Guide.

*/ inline ResponseLaunchTemplateData& WithMetadataOptions(LaunchTemplateInstanceMetadataOptions&& value) { SetMetadataOptions(std::move(value)); return *this;} /** *

Indicates whether the instance is enabled for Amazon Web Services Nitro * Enclaves.

*/ inline const LaunchTemplateEnclaveOptions& GetEnclaveOptions() const{ return m_enclaveOptions; } /** *

Indicates whether the instance is enabled for Amazon Web Services Nitro * Enclaves.

*/ inline bool EnclaveOptionsHasBeenSet() const { return m_enclaveOptionsHasBeenSet; } /** *

Indicates whether the instance is enabled for Amazon Web Services Nitro * Enclaves.

*/ inline void SetEnclaveOptions(const LaunchTemplateEnclaveOptions& value) { m_enclaveOptionsHasBeenSet = true; m_enclaveOptions = value; } /** *

Indicates whether the instance is enabled for Amazon Web Services Nitro * Enclaves.

*/ inline void SetEnclaveOptions(LaunchTemplateEnclaveOptions&& value) { m_enclaveOptionsHasBeenSet = true; m_enclaveOptions = std::move(value); } /** *

Indicates whether the instance is enabled for Amazon Web Services Nitro * Enclaves.

*/ inline ResponseLaunchTemplateData& WithEnclaveOptions(const LaunchTemplateEnclaveOptions& value) { SetEnclaveOptions(value); return *this;} /** *

Indicates whether the instance is enabled for Amazon Web Services Nitro * Enclaves.

*/ inline ResponseLaunchTemplateData& WithEnclaveOptions(LaunchTemplateEnclaveOptions&& value) { SetEnclaveOptions(std::move(value)); return *this;} /** *

The attributes for the instance types. When you specify instance attributes, * Amazon EC2 will identify instance types with these attributes.

If you * specify InstanceRequirements, you can't specify * InstanceTypes.

*/ inline const InstanceRequirements& GetInstanceRequirements() const{ return m_instanceRequirements; } /** *

The attributes for the instance types. When you specify instance attributes, * Amazon EC2 will identify instance types with these attributes.

If you * specify InstanceRequirements, you can't specify * InstanceTypes.

*/ inline bool InstanceRequirementsHasBeenSet() const { return m_instanceRequirementsHasBeenSet; } /** *

The attributes for the instance types. When you specify instance attributes, * Amazon EC2 will identify instance types with these attributes.

If you * specify InstanceRequirements, you can't specify * InstanceTypes.

*/ inline void SetInstanceRequirements(const InstanceRequirements& value) { m_instanceRequirementsHasBeenSet = true; m_instanceRequirements = value; } /** *

The attributes for the instance types. When you specify instance attributes, * Amazon EC2 will identify instance types with these attributes.

If you * specify InstanceRequirements, you can't specify * InstanceTypes.

*/ inline void SetInstanceRequirements(InstanceRequirements&& value) { m_instanceRequirementsHasBeenSet = true; m_instanceRequirements = std::move(value); } /** *

The attributes for the instance types. When you specify instance attributes, * Amazon EC2 will identify instance types with these attributes.

If you * specify InstanceRequirements, you can't specify * InstanceTypes.

*/ inline ResponseLaunchTemplateData& WithInstanceRequirements(const InstanceRequirements& value) { SetInstanceRequirements(value); return *this;} /** *

The attributes for the instance types. When you specify instance attributes, * Amazon EC2 will identify instance types with these attributes.

If you * specify InstanceRequirements, you can't specify * InstanceTypes.

*/ inline ResponseLaunchTemplateData& WithInstanceRequirements(InstanceRequirements&& value) { SetInstanceRequirements(std::move(value)); return *this;} /** *

The options for the instance hostname.

*/ inline const LaunchTemplatePrivateDnsNameOptions& GetPrivateDnsNameOptions() const{ return m_privateDnsNameOptions; } /** *

The options for the instance hostname.

*/ inline bool PrivateDnsNameOptionsHasBeenSet() const { return m_privateDnsNameOptionsHasBeenSet; } /** *

The options for the instance hostname.

*/ inline void SetPrivateDnsNameOptions(const LaunchTemplatePrivateDnsNameOptions& value) { m_privateDnsNameOptionsHasBeenSet = true; m_privateDnsNameOptions = value; } /** *

The options for the instance hostname.

*/ inline void SetPrivateDnsNameOptions(LaunchTemplatePrivateDnsNameOptions&& value) { m_privateDnsNameOptionsHasBeenSet = true; m_privateDnsNameOptions = std::move(value); } /** *

The options for the instance hostname.

*/ inline ResponseLaunchTemplateData& WithPrivateDnsNameOptions(const LaunchTemplatePrivateDnsNameOptions& value) { SetPrivateDnsNameOptions(value); return *this;} /** *

The options for the instance hostname.

*/ inline ResponseLaunchTemplateData& WithPrivateDnsNameOptions(LaunchTemplatePrivateDnsNameOptions&& value) { SetPrivateDnsNameOptions(std::move(value)); return *this;} /** *

The maintenance options for your instance.

*/ inline const LaunchTemplateInstanceMaintenanceOptions& GetMaintenanceOptions() const{ return m_maintenanceOptions; } /** *

The maintenance options for your instance.

*/ inline bool MaintenanceOptionsHasBeenSet() const { return m_maintenanceOptionsHasBeenSet; } /** *

The maintenance options for your instance.

*/ inline void SetMaintenanceOptions(const LaunchTemplateInstanceMaintenanceOptions& value) { m_maintenanceOptionsHasBeenSet = true; m_maintenanceOptions = value; } /** *

The maintenance options for your instance.

*/ inline void SetMaintenanceOptions(LaunchTemplateInstanceMaintenanceOptions&& value) { m_maintenanceOptionsHasBeenSet = true; m_maintenanceOptions = std::move(value); } /** *

The maintenance options for your instance.

*/ inline ResponseLaunchTemplateData& WithMaintenanceOptions(const LaunchTemplateInstanceMaintenanceOptions& value) { SetMaintenanceOptions(value); return *this;} /** *

The maintenance options for your instance.

*/ inline ResponseLaunchTemplateData& WithMaintenanceOptions(LaunchTemplateInstanceMaintenanceOptions&& value) { SetMaintenanceOptions(std::move(value)); return *this;} /** *

Indicates whether the instance is enabled for stop protection. For more * information, see Stop * protection in the Amazon Elastic Compute Cloud User Guide.

*/ inline bool GetDisableApiStop() const{ return m_disableApiStop; } /** *

Indicates whether the instance is enabled for stop protection. For more * information, see Stop * protection in the Amazon Elastic Compute Cloud User Guide.

*/ inline bool DisableApiStopHasBeenSet() const { return m_disableApiStopHasBeenSet; } /** *

Indicates whether the instance is enabled for stop protection. For more * information, see Stop * protection in the Amazon Elastic Compute Cloud User Guide.

*/ inline void SetDisableApiStop(bool value) { m_disableApiStopHasBeenSet = true; m_disableApiStop = value; } /** *

Indicates whether the instance is enabled for stop protection. For more * information, see Stop * protection in the Amazon Elastic Compute Cloud User Guide.

*/ inline ResponseLaunchTemplateData& WithDisableApiStop(bool value) { SetDisableApiStop(value); return *this;} private: Aws::String m_kernelId; bool m_kernelIdHasBeenSet = false; bool m_ebsOptimized; bool m_ebsOptimizedHasBeenSet = false; LaunchTemplateIamInstanceProfileSpecification m_iamInstanceProfile; bool m_iamInstanceProfileHasBeenSet = false; Aws::Vector m_blockDeviceMappings; bool m_blockDeviceMappingsHasBeenSet = false; Aws::Vector m_networkInterfaces; bool m_networkInterfacesHasBeenSet = false; Aws::String m_imageId; bool m_imageIdHasBeenSet = false; InstanceType m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::String m_keyName; bool m_keyNameHasBeenSet = false; LaunchTemplatesMonitoring m_monitoring; bool m_monitoringHasBeenSet = false; LaunchTemplatePlacement m_placement; bool m_placementHasBeenSet = false; Aws::String m_ramDiskId; bool m_ramDiskIdHasBeenSet = false; bool m_disableApiTermination; bool m_disableApiTerminationHasBeenSet = false; ShutdownBehavior m_instanceInitiatedShutdownBehavior; bool m_instanceInitiatedShutdownBehaviorHasBeenSet = false; Aws::String m_userData; bool m_userDataHasBeenSet = false; Aws::Vector m_tagSpecifications; bool m_tagSpecificationsHasBeenSet = false; Aws::Vector m_elasticGpuSpecifications; bool m_elasticGpuSpecificationsHasBeenSet = false; Aws::Vector m_elasticInferenceAccelerators; bool m_elasticInferenceAcceleratorsHasBeenSet = false; Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; Aws::Vector m_securityGroups; bool m_securityGroupsHasBeenSet = false; LaunchTemplateInstanceMarketOptions m_instanceMarketOptions; bool m_instanceMarketOptionsHasBeenSet = false; CreditSpecification m_creditSpecification; bool m_creditSpecificationHasBeenSet = false; LaunchTemplateCpuOptions m_cpuOptions; bool m_cpuOptionsHasBeenSet = false; LaunchTemplateCapacityReservationSpecificationResponse m_capacityReservationSpecification; bool m_capacityReservationSpecificationHasBeenSet = false; Aws::Vector m_licenseSpecifications; bool m_licenseSpecificationsHasBeenSet = false; LaunchTemplateHibernationOptions m_hibernationOptions; bool m_hibernationOptionsHasBeenSet = false; LaunchTemplateInstanceMetadataOptions m_metadataOptions; bool m_metadataOptionsHasBeenSet = false; LaunchTemplateEnclaveOptions m_enclaveOptions; bool m_enclaveOptionsHasBeenSet = false; InstanceRequirements m_instanceRequirements; bool m_instanceRequirementsHasBeenSet = false; LaunchTemplatePrivateDnsNameOptions m_privateDnsNameOptions; bool m_privateDnsNameOptionsHasBeenSet = false; LaunchTemplateInstanceMaintenanceOptions m_maintenanceOptions; bool m_maintenanceOptionsHasBeenSet = false; bool m_disableApiStop; bool m_disableApiStopHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws