/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace EC2 { namespace Model { /** */ class DescribeLaunchTemplateVersionsRequest : public EC2Request { public: AWS_EC2_API DescribeLaunchTemplateVersionsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeLaunchTemplateVersions"; } AWS_EC2_API Aws::String SerializePayload() const override; protected: AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline bool GetDryRun() const{ return m_dryRun; } /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; } /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; } /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline DescribeLaunchTemplateVersionsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;} /** *

The ID of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateId or the LaunchTemplateName, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; } /** *

The ID of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateId or the LaunchTemplateName, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; } /** *

The ID of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateId or the LaunchTemplateName, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; } /** *

The ID of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateId or the LaunchTemplateName, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); } /** *

The ID of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateId or the LaunchTemplateName, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); } /** *

The ID of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateId or the LaunchTemplateName, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline DescribeLaunchTemplateVersionsRequest& WithLaunchTemplateId(const Aws::String& value) { SetLaunchTemplateId(value); return *this;} /** *

The ID of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateId or the LaunchTemplateName, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline DescribeLaunchTemplateVersionsRequest& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;} /** *

The ID of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateId or the LaunchTemplateName, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline DescribeLaunchTemplateVersionsRequest& WithLaunchTemplateId(const char* value) { SetLaunchTemplateId(value); return *this;} /** *

The name of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateName or the LaunchTemplateId, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; } /** *

The name of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateName or the LaunchTemplateId, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; } /** *

The name of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateName or the LaunchTemplateId, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; } /** *

The name of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateName or the LaunchTemplateId, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); } /** *

The name of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateName or the LaunchTemplateId, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); } /** *

The name of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateName or the LaunchTemplateId, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline DescribeLaunchTemplateVersionsRequest& WithLaunchTemplateName(const Aws::String& value) { SetLaunchTemplateName(value); return *this;} /** *

The name of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateName or the LaunchTemplateId, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline DescribeLaunchTemplateVersionsRequest& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;} /** *

The name of the launch template.

To describe one or more versions of a * specified launch template, you must specify either the * LaunchTemplateName or the LaunchTemplateId, but not * both.

To describe all the latest or default launch template versions in * your account, you must omit this parameter.

*/ inline DescribeLaunchTemplateVersionsRequest& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;} /** *

One or more versions of the launch template. Valid values depend on whether * you are describing a specified launch template (by ID or name) or all launch * templates in your account.

To describe one or more versions of a * specified launch template, valid values are $Latest, * $Default, and numbers.

To describe all launch templates in * your account that are defined as the latest version, the valid value is * $Latest. To describe all launch templates in your account that are * defined as the default version, the valid value is $Default. You * can specify $Latest and $Default in the same request. * You cannot specify numbers.

*/ inline const Aws::Vector& GetVersions() const{ return m_versions; } /** *

One or more versions of the launch template. Valid values depend on whether * you are describing a specified launch template (by ID or name) or all launch * templates in your account.

To describe one or more versions of a * specified launch template, valid values are $Latest, * $Default, and numbers.

To describe all launch templates in * your account that are defined as the latest version, the valid value is * $Latest. To describe all launch templates in your account that are * defined as the default version, the valid value is $Default. You * can specify $Latest and $Default in the same request. * You cannot specify numbers.

*/ inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; } /** *

One or more versions of the launch template. Valid values depend on whether * you are describing a specified launch template (by ID or name) or all launch * templates in your account.

To describe one or more versions of a * specified launch template, valid values are $Latest, * $Default, and numbers.

To describe all launch templates in * your account that are defined as the latest version, the valid value is * $Latest. To describe all launch templates in your account that are * defined as the default version, the valid value is $Default. You * can specify $Latest and $Default in the same request. * You cannot specify numbers.

*/ inline void SetVersions(const Aws::Vector& value) { m_versionsHasBeenSet = true; m_versions = value; } /** *

One or more versions of the launch template. Valid values depend on whether * you are describing a specified launch template (by ID or name) or all launch * templates in your account.

To describe one or more versions of a * specified launch template, valid values are $Latest, * $Default, and numbers.

To describe all launch templates in * your account that are defined as the latest version, the valid value is * $Latest. To describe all launch templates in your account that are * defined as the default version, the valid value is $Default. You * can specify $Latest and $Default in the same request. * You cannot specify numbers.

*/ inline void SetVersions(Aws::Vector&& value) { m_versionsHasBeenSet = true; m_versions = std::move(value); } /** *

One or more versions of the launch template. Valid values depend on whether * you are describing a specified launch template (by ID or name) or all launch * templates in your account.

To describe one or more versions of a * specified launch template, valid values are $Latest, * $Default, and numbers.

To describe all launch templates in * your account that are defined as the latest version, the valid value is * $Latest. To describe all launch templates in your account that are * defined as the default version, the valid value is $Default. You * can specify $Latest and $Default in the same request. * You cannot specify numbers.

*/ inline DescribeLaunchTemplateVersionsRequest& WithVersions(const Aws::Vector& value) { SetVersions(value); return *this;} /** *

One or more versions of the launch template. Valid values depend on whether * you are describing a specified launch template (by ID or name) or all launch * templates in your account.

To describe one or more versions of a * specified launch template, valid values are $Latest, * $Default, and numbers.

To describe all launch templates in * your account that are defined as the latest version, the valid value is * $Latest. To describe all launch templates in your account that are * defined as the default version, the valid value is $Default. You * can specify $Latest and $Default in the same request. * You cannot specify numbers.

*/ inline DescribeLaunchTemplateVersionsRequest& WithVersions(Aws::Vector&& value) { SetVersions(std::move(value)); return *this;} /** *

One or more versions of the launch template. Valid values depend on whether * you are describing a specified launch template (by ID or name) or all launch * templates in your account.

To describe one or more versions of a * specified launch template, valid values are $Latest, * $Default, and numbers.

To describe all launch templates in * your account that are defined as the latest version, the valid value is * $Latest. To describe all launch templates in your account that are * defined as the default version, the valid value is $Default. You * can specify $Latest and $Default in the same request. * You cannot specify numbers.

*/ inline DescribeLaunchTemplateVersionsRequest& AddVersions(const Aws::String& value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; } /** *

One or more versions of the launch template. Valid values depend on whether * you are describing a specified launch template (by ID or name) or all launch * templates in your account.

To describe one or more versions of a * specified launch template, valid values are $Latest, * $Default, and numbers.

To describe all launch templates in * your account that are defined as the latest version, the valid value is * $Latest. To describe all launch templates in your account that are * defined as the default version, the valid value is $Default. You * can specify $Latest and $Default in the same request. * You cannot specify numbers.

*/ inline DescribeLaunchTemplateVersionsRequest& AddVersions(Aws::String&& value) { m_versionsHasBeenSet = true; m_versions.push_back(std::move(value)); return *this; } /** *

One or more versions of the launch template. Valid values depend on whether * you are describing a specified launch template (by ID or name) or all launch * templates in your account.

To describe one or more versions of a * specified launch template, valid values are $Latest, * $Default, and numbers.

To describe all launch templates in * your account that are defined as the latest version, the valid value is * $Latest. To describe all launch templates in your account that are * defined as the default version, the valid value is $Default. You * can specify $Latest and $Default in the same request. * You cannot specify numbers.

*/ inline DescribeLaunchTemplateVersionsRequest& AddVersions(const char* value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; } /** *

The version number after which to describe launch template versions.

*/ inline const Aws::String& GetMinVersion() const{ return m_minVersion; } /** *

The version number after which to describe launch template versions.

*/ inline bool MinVersionHasBeenSet() const { return m_minVersionHasBeenSet; } /** *

The version number after which to describe launch template versions.

*/ inline void SetMinVersion(const Aws::String& value) { m_minVersionHasBeenSet = true; m_minVersion = value; } /** *

The version number after which to describe launch template versions.

*/ inline void SetMinVersion(Aws::String&& value) { m_minVersionHasBeenSet = true; m_minVersion = std::move(value); } /** *

The version number after which to describe launch template versions.

*/ inline void SetMinVersion(const char* value) { m_minVersionHasBeenSet = true; m_minVersion.assign(value); } /** *

The version number after which to describe launch template versions.

*/ inline DescribeLaunchTemplateVersionsRequest& WithMinVersion(const Aws::String& value) { SetMinVersion(value); return *this;} /** *

The version number after which to describe launch template versions.

*/ inline DescribeLaunchTemplateVersionsRequest& WithMinVersion(Aws::String&& value) { SetMinVersion(std::move(value)); return *this;} /** *

The version number after which to describe launch template versions.

*/ inline DescribeLaunchTemplateVersionsRequest& WithMinVersion(const char* value) { SetMinVersion(value); return *this;} /** *

The version number up to which to describe launch template versions.

*/ inline const Aws::String& GetMaxVersion() const{ return m_maxVersion; } /** *

The version number up to which to describe launch template versions.

*/ inline bool MaxVersionHasBeenSet() const { return m_maxVersionHasBeenSet; } /** *

The version number up to which to describe launch template versions.

*/ inline void SetMaxVersion(const Aws::String& value) { m_maxVersionHasBeenSet = true; m_maxVersion = value; } /** *

The version number up to which to describe launch template versions.

*/ inline void SetMaxVersion(Aws::String&& value) { m_maxVersionHasBeenSet = true; m_maxVersion = std::move(value); } /** *

The version number up to which to describe launch template versions.

*/ inline void SetMaxVersion(const char* value) { m_maxVersionHasBeenSet = true; m_maxVersion.assign(value); } /** *

The version number up to which to describe launch template versions.

*/ inline DescribeLaunchTemplateVersionsRequest& WithMaxVersion(const Aws::String& value) { SetMaxVersion(value); return *this;} /** *

The version number up to which to describe launch template versions.

*/ inline DescribeLaunchTemplateVersionsRequest& WithMaxVersion(Aws::String&& value) { SetMaxVersion(std::move(value)); return *this;} /** *

The version number up to which to describe launch template versions.

*/ inline DescribeLaunchTemplateVersionsRequest& WithMaxVersion(const char* value) { SetMaxVersion(value); return *this;} /** *

The token to request the next page of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token to request the next page of results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The token to request the next page of results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The token to request the next page of results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The token to request the next page of results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The token to request the next page of results.

*/ inline DescribeLaunchTemplateVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token to request the next page of results.

*/ inline DescribeLaunchTemplateVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token to request the next page of results.

*/ inline DescribeLaunchTemplateVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of results to return in a single call. To retrieve the * remaining results, make another call with the returned NextToken * value. This value can be between 1 and 200.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return in a single call. To retrieve the * remaining results, make another call with the returned NextToken * value. This value can be between 1 and 200.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return in a single call. To retrieve the * remaining results, make another call with the returned NextToken * value. This value can be between 1 and 200.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return in a single call. To retrieve the * remaining results, make another call with the returned NextToken * value. This value can be between 1 and 200.

*/ inline DescribeLaunchTemplateVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

One or more filters.

  • create-time - The time * the launch template version was created.

  • * ebs-optimized - A boolean that indicates whether the instance is * optimized for Amazon EBS I/O.

  • http-endpoint - * Indicates whether the HTTP metadata endpoint on your instances is enabled * (enabled | disabled).

  • * http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the * instance metadata service is enabled (enabled | * disabled).

  • host-resource-group-arn * - The ARN of the host resource group in which to launch the instances.

  • *
  • http-tokens - The state of token usage for your instance * metadata requests (optional | required).

  • *
  • iam-instance-profile - The ARN of the IAM instance * profile.

  • image-id - The ID of the AMI.

  • *
  • instance-type - The instance type.

  • * is-default-version - A boolean that indicates whether the launch * template version is the default version.

  • * kernel-id - The kernel ID.

  • * license-configuration-arn - The ARN of the license * configuration.

  • network-card-index - The index of * the network card.

  • ram-disk-id - The RAM disk * ID.

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

One or more filters.

  • create-time - The time * the launch template version was created.

  • * ebs-optimized - A boolean that indicates whether the instance is * optimized for Amazon EBS I/O.

  • http-endpoint - * Indicates whether the HTTP metadata endpoint on your instances is enabled * (enabled | disabled).

  • * http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the * instance metadata service is enabled (enabled | * disabled).

  • host-resource-group-arn * - The ARN of the host resource group in which to launch the instances.

  • *
  • http-tokens - The state of token usage for your instance * metadata requests (optional | required).

  • *
  • iam-instance-profile - The ARN of the IAM instance * profile.

  • image-id - The ID of the AMI.

  • *
  • instance-type - The instance type.

  • * is-default-version - A boolean that indicates whether the launch * template version is the default version.

  • * kernel-id - The kernel ID.

  • * license-configuration-arn - The ARN of the license * configuration.

  • network-card-index - The index of * the network card.

  • ram-disk-id - The RAM disk * ID.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

One or more filters.

  • create-time - The time * the launch template version was created.

  • * ebs-optimized - A boolean that indicates whether the instance is * optimized for Amazon EBS I/O.

  • http-endpoint - * Indicates whether the HTTP metadata endpoint on your instances is enabled * (enabled | disabled).

  • * http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the * instance metadata service is enabled (enabled | * disabled).

  • host-resource-group-arn * - The ARN of the host resource group in which to launch the instances.

  • *
  • http-tokens - The state of token usage for your instance * metadata requests (optional | required).

  • *
  • iam-instance-profile - The ARN of the IAM instance * profile.

  • image-id - The ID of the AMI.

  • *
  • instance-type - The instance type.

  • * is-default-version - A boolean that indicates whether the launch * template version is the default version.

  • * kernel-id - The kernel ID.

  • * license-configuration-arn - The ARN of the license * configuration.

  • network-card-index - The index of * the network card.

  • ram-disk-id - The RAM disk * ID.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

One or more filters.

  • create-time - The time * the launch template version was created.

  • * ebs-optimized - A boolean that indicates whether the instance is * optimized for Amazon EBS I/O.

  • http-endpoint - * Indicates whether the HTTP metadata endpoint on your instances is enabled * (enabled | disabled).

  • * http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the * instance metadata service is enabled (enabled | * disabled).

  • host-resource-group-arn * - The ARN of the host resource group in which to launch the instances.

  • *
  • http-tokens - The state of token usage for your instance * metadata requests (optional | required).

  • *
  • iam-instance-profile - The ARN of the IAM instance * profile.

  • image-id - The ID of the AMI.

  • *
  • instance-type - The instance type.

  • * is-default-version - A boolean that indicates whether the launch * template version is the default version.

  • * kernel-id - The kernel ID.

  • * license-configuration-arn - The ARN of the license * configuration.

  • network-card-index - The index of * the network card.

  • ram-disk-id - The RAM disk * ID.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

One or more filters.

  • create-time - The time * the launch template version was created.

  • * ebs-optimized - A boolean that indicates whether the instance is * optimized for Amazon EBS I/O.

  • http-endpoint - * Indicates whether the HTTP metadata endpoint on your instances is enabled * (enabled | disabled).

  • * http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the * instance metadata service is enabled (enabled | * disabled).

  • host-resource-group-arn * - The ARN of the host resource group in which to launch the instances.

  • *
  • http-tokens - The state of token usage for your instance * metadata requests (optional | required).

  • *
  • iam-instance-profile - The ARN of the IAM instance * profile.

  • image-id - The ID of the AMI.

  • *
  • instance-type - The instance type.

  • * is-default-version - A boolean that indicates whether the launch * template version is the default version.

  • * kernel-id - The kernel ID.

  • * license-configuration-arn - The ARN of the license * configuration.

  • network-card-index - The index of * the network card.

  • ram-disk-id - The RAM disk * ID.

*/ inline DescribeLaunchTemplateVersionsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

One or more filters.

  • create-time - The time * the launch template version was created.

  • * ebs-optimized - A boolean that indicates whether the instance is * optimized for Amazon EBS I/O.

  • http-endpoint - * Indicates whether the HTTP metadata endpoint on your instances is enabled * (enabled | disabled).

  • * http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the * instance metadata service is enabled (enabled | * disabled).

  • host-resource-group-arn * - The ARN of the host resource group in which to launch the instances.

  • *
  • http-tokens - The state of token usage for your instance * metadata requests (optional | required).

  • *
  • iam-instance-profile - The ARN of the IAM instance * profile.

  • image-id - The ID of the AMI.

  • *
  • instance-type - The instance type.

  • * is-default-version - A boolean that indicates whether the launch * template version is the default version.

  • * kernel-id - The kernel ID.

  • * license-configuration-arn - The ARN of the license * configuration.

  • network-card-index - The index of * the network card.

  • ram-disk-id - The RAM disk * ID.

*/ inline DescribeLaunchTemplateVersionsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

One or more filters.

  • create-time - The time * the launch template version was created.

  • * ebs-optimized - A boolean that indicates whether the instance is * optimized for Amazon EBS I/O.

  • http-endpoint - * Indicates whether the HTTP metadata endpoint on your instances is enabled * (enabled | disabled).

  • * http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the * instance metadata service is enabled (enabled | * disabled).

  • host-resource-group-arn * - The ARN of the host resource group in which to launch the instances.

  • *
  • http-tokens - The state of token usage for your instance * metadata requests (optional | required).

  • *
  • iam-instance-profile - The ARN of the IAM instance * profile.

  • image-id - The ID of the AMI.

  • *
  • instance-type - The instance type.

  • * is-default-version - A boolean that indicates whether the launch * template version is the default version.

  • * kernel-id - The kernel ID.

  • * license-configuration-arn - The ARN of the license * configuration.

  • network-card-index - The index of * the network card.

  • ram-disk-id - The RAM disk * ID.

*/ inline DescribeLaunchTemplateVersionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

One or more filters.

  • create-time - The time * the launch template version was created.

  • * ebs-optimized - A boolean that indicates whether the instance is * optimized for Amazon EBS I/O.

  • http-endpoint - * Indicates whether the HTTP metadata endpoint on your instances is enabled * (enabled | disabled).

  • * http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the * instance metadata service is enabled (enabled | * disabled).

  • host-resource-group-arn * - The ARN of the host resource group in which to launch the instances.

  • *
  • http-tokens - The state of token usage for your instance * metadata requests (optional | required).

  • *
  • iam-instance-profile - The ARN of the IAM instance * profile.

  • image-id - The ID of the AMI.

  • *
  • instance-type - The instance type.

  • * is-default-version - A boolean that indicates whether the launch * template version is the default version.

  • * kernel-id - The kernel ID.

  • * license-configuration-arn - The ARN of the license * configuration.

  • network-card-index - The index of * the network card.

  • ram-disk-id - The RAM disk * ID.

*/ inline DescribeLaunchTemplateVersionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *

If true, and if a Systems Manager parameter is specified for * ImageId, the AMI ID is displayed in the response for * imageId.

If false, and if a Systems Manager * parameter is specified for ImageId, the parameter is displayed in * the response for imageId.

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

Default: false

*/ inline bool GetResolveAlias() const{ return m_resolveAlias; } /** *

If true, and if a Systems Manager parameter is specified for * ImageId, the AMI ID is displayed in the response for * imageId.

If false, and if a Systems Manager * parameter is specified for ImageId, the parameter is displayed in * the response for imageId.

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

Default: false

*/ inline bool ResolveAliasHasBeenSet() const { return m_resolveAliasHasBeenSet; } /** *

If true, and if a Systems Manager parameter is specified for * ImageId, the AMI ID is displayed in the response for * imageId.

If false, and if a Systems Manager * parameter is specified for ImageId, the parameter is displayed in * the response for imageId.

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

Default: false

*/ inline void SetResolveAlias(bool value) { m_resolveAliasHasBeenSet = true; m_resolveAlias = value; } /** *

If true, and if a Systems Manager parameter is specified for * ImageId, the AMI ID is displayed in the response for * imageId.

If false, and if a Systems Manager * parameter is specified for ImageId, the parameter is displayed in * the response for imageId.

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

Default: false

*/ inline DescribeLaunchTemplateVersionsRequest& WithResolveAlias(bool value) { SetResolveAlias(value); return *this;} private: bool m_dryRun; bool m_dryRunHasBeenSet = false; Aws::String m_launchTemplateId; bool m_launchTemplateIdHasBeenSet = false; Aws::String m_launchTemplateName; bool m_launchTemplateNameHasBeenSet = false; Aws::Vector m_versions; bool m_versionsHasBeenSet = false; Aws::String m_minVersion; bool m_minVersionHasBeenSet = false; Aws::String m_maxVersion; bool m_maxVersionHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::Vector m_filters; bool m_filtersHasBeenSet = false; bool m_resolveAlias; bool m_resolveAliasHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws