/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the Amazon EC2 launch template and the launch template version that
* can be used by an EC2 Fleet to configure Amazon EC2 instances. For information
* about launch templates, see Launching
* an instance from a launch template in the Amazon Elastic Compute Cloud
* User Guide.See Also:
AWS
* API Reference
The ID of the launch template. If you specify the template ID, you can't * specify the template name.
*/ inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; } /** *The ID of the launch template. If you specify the template ID, you can't * specify the template name.
*/ inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; } /** *The ID of the launch template. If you specify the template ID, you can't * specify the template name.
*/ inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; } /** *The ID of the launch template. If you specify the template ID, you can't * specify the template name.
*/ inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); } /** *The ID of the launch template. If you specify the template ID, you can't * specify the template name.
*/ inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); } /** *The ID of the launch template. If you specify the template ID, you can't * specify the template name.
*/ inline FleetLaunchTemplateSpecificationRequest& WithLaunchTemplateId(const Aws::String& value) { SetLaunchTemplateId(value); return *this;} /** *The ID of the launch template. If you specify the template ID, you can't * specify the template name.
*/ inline FleetLaunchTemplateSpecificationRequest& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;} /** *The ID of the launch template. If you specify the template ID, you can't * specify the template name.
*/ inline FleetLaunchTemplateSpecificationRequest& WithLaunchTemplateId(const char* value) { SetLaunchTemplateId(value); return *this;} /** *The name of the launch template. If you specify the template name, you can't * specify the template ID.
*/ inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; } /** *The name of the launch template. If you specify the template name, you can't * specify the template ID.
*/ inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; } /** *The name of the launch template. If you specify the template name, you can't * specify the template ID.
*/ inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; } /** *The name of the launch template. If you specify the template name, you can't * specify the template ID.
*/ inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); } /** *The name of the launch template. If you specify the template name, you can't * specify the template ID.
*/ inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); } /** *The name of the launch template. If you specify the template name, you can't * specify the template ID.
*/ inline FleetLaunchTemplateSpecificationRequest& WithLaunchTemplateName(const Aws::String& value) { SetLaunchTemplateName(value); return *this;} /** *The name of the launch template. If you specify the template name, you can't * specify the template ID.
*/ inline FleetLaunchTemplateSpecificationRequest& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;} /** *The name of the launch template. If you specify the template name, you can't * specify the template ID.
*/ inline FleetLaunchTemplateSpecificationRequest& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;} /** *The launch template version number, $Latest, or
* $Default. You must specify a value, otherwise the request
* fails.
If the value is $Latest, Amazon EC2 uses the latest
* version of the launch template.
If the value is $Default,
* Amazon EC2 uses the default version of the launch template.
The launch template version number, $Latest, or
* $Default. You must specify a value, otherwise the request
* fails.
If the value is $Latest, Amazon EC2 uses the latest
* version of the launch template.
If the value is $Default,
* Amazon EC2 uses the default version of the launch template.
The launch template version number, $Latest, or
* $Default. You must specify a value, otherwise the request
* fails.
If the value is $Latest, Amazon EC2 uses the latest
* version of the launch template.
If the value is $Default,
* Amazon EC2 uses the default version of the launch template.
The launch template version number, $Latest, or
* $Default. You must specify a value, otherwise the request
* fails.
If the value is $Latest, Amazon EC2 uses the latest
* version of the launch template.
If the value is $Default,
* Amazon EC2 uses the default version of the launch template.
The launch template version number, $Latest, or
* $Default. You must specify a value, otherwise the request
* fails.
If the value is $Latest, Amazon EC2 uses the latest
* version of the launch template.
If the value is $Default,
* Amazon EC2 uses the default version of the launch template.
The launch template version number, $Latest, or
* $Default. You must specify a value, otherwise the request
* fails.
If the value is $Latest, Amazon EC2 uses the latest
* version of the launch template.
If the value is $Default,
* Amazon EC2 uses the default version of the launch template.
The launch template version number, $Latest, or
* $Default. You must specify a value, otherwise the request
* fails.
If the value is $Latest, Amazon EC2 uses the latest
* version of the launch template.
If the value is $Default,
* Amazon EC2 uses the default version of the launch template.
The launch template version number, $Latest, or
* $Default. You must specify a value, otherwise the request
* fails.
If the value is $Latest, Amazon EC2 uses the latest
* version of the launch template.
If the value is $Default,
* Amazon EC2 uses the default version of the launch template.