AWS SDK for C++  1.9.106
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::FleetLaunchTemplateSpecification Class Reference

#include <FleetLaunchTemplateSpecification.h>

Public Member Functions

 FleetLaunchTemplateSpecification ()
 
 FleetLaunchTemplateSpecification (const Aws::Utils::Xml::XmlNode &xmlNode)
 
FleetLaunchTemplateSpecificationoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::StringGetLaunchTemplateId () const
 
bool LaunchTemplateIdHasBeenSet () const
 
void SetLaunchTemplateId (const Aws::String &value)
 
void SetLaunchTemplateId (Aws::String &&value)
 
void SetLaunchTemplateId (const char *value)
 
FleetLaunchTemplateSpecificationWithLaunchTemplateId (const Aws::String &value)
 
FleetLaunchTemplateSpecificationWithLaunchTemplateId (Aws::String &&value)
 
FleetLaunchTemplateSpecificationWithLaunchTemplateId (const char *value)
 
const Aws::StringGetLaunchTemplateName () const
 
bool LaunchTemplateNameHasBeenSet () const
 
void SetLaunchTemplateName (const Aws::String &value)
 
void SetLaunchTemplateName (Aws::String &&value)
 
void SetLaunchTemplateName (const char *value)
 
FleetLaunchTemplateSpecificationWithLaunchTemplateName (const Aws::String &value)
 
FleetLaunchTemplateSpecificationWithLaunchTemplateName (Aws::String &&value)
 
FleetLaunchTemplateSpecificationWithLaunchTemplateName (const char *value)
 
const Aws::StringGetVersion () const
 
bool VersionHasBeenSet () const
 
void SetVersion (const Aws::String &value)
 
void SetVersion (Aws::String &&value)
 
void SetVersion (const char *value)
 
FleetLaunchTemplateSpecificationWithVersion (const Aws::String &value)
 
FleetLaunchTemplateSpecificationWithVersion (Aws::String &&value)
 
FleetLaunchTemplateSpecificationWithVersion (const char *value)
 

Detailed Description

Describes the Amazon EC2 launch template and the launch template version that can be used by a Spot Fleet request to configure Amazon EC2 instances. For information about launch templates, see Launching an instance from a launch template in the Amazon EC2 User Guide for Linux Instances.

See Also:

AWS API Reference

Definition at line 36 of file FleetLaunchTemplateSpecification.h.

Constructor & Destructor Documentation

◆ FleetLaunchTemplateSpecification() [1/2]

Aws::EC2::Model::FleetLaunchTemplateSpecification::FleetLaunchTemplateSpecification ( )

◆ FleetLaunchTemplateSpecification() [2/2]

Aws::EC2::Model::FleetLaunchTemplateSpecification::FleetLaunchTemplateSpecification ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ GetLaunchTemplateId()

const Aws::String& Aws::EC2::Model::FleetLaunchTemplateSpecification::GetLaunchTemplateId ( ) const
inline

The ID of the launch template. If you specify the template ID, you can't specify the template name.

Definition at line 51 of file FleetLaunchTemplateSpecification.h.

◆ GetLaunchTemplateName()

const Aws::String& Aws::EC2::Model::FleetLaunchTemplateSpecification::GetLaunchTemplateName ( ) const
inline

The name of the launch template. If you specify the template name, you can't specify the template ID.

Definition at line 100 of file FleetLaunchTemplateSpecification.h.

◆ GetVersion()

const Aws::String& Aws::EC2::Model::FleetLaunchTemplateSpecification::GetVersion ( ) const
inline

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.

Definition at line 152 of file FleetLaunchTemplateSpecification.h.

◆ LaunchTemplateIdHasBeenSet()

bool Aws::EC2::Model::FleetLaunchTemplateSpecification::LaunchTemplateIdHasBeenSet ( ) const
inline

The ID of the launch template. If you specify the template ID, you can't specify the template name.

Definition at line 57 of file FleetLaunchTemplateSpecification.h.

◆ LaunchTemplateNameHasBeenSet()

bool Aws::EC2::Model::FleetLaunchTemplateSpecification::LaunchTemplateNameHasBeenSet ( ) const
inline

The name of the launch template. If you specify the template name, you can't specify the template ID.

Definition at line 106 of file FleetLaunchTemplateSpecification.h.

◆ operator=()

FleetLaunchTemplateSpecification& Aws::EC2::Model::FleetLaunchTemplateSpecification::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetLaunchTemplateId() [1/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::SetLaunchTemplateId ( Aws::String &&  value)
inline

The ID of the launch template. If you specify the template ID, you can't specify the template name.

Definition at line 69 of file FleetLaunchTemplateSpecification.h.

◆ SetLaunchTemplateId() [2/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::SetLaunchTemplateId ( const Aws::String value)
inline

The ID of the launch template. If you specify the template ID, you can't specify the template name.

Definition at line 63 of file FleetLaunchTemplateSpecification.h.

◆ SetLaunchTemplateId() [3/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::SetLaunchTemplateId ( const char *  value)
inline

The ID of the launch template. If you specify the template ID, you can't specify the template name.

Definition at line 75 of file FleetLaunchTemplateSpecification.h.

◆ SetLaunchTemplateName() [1/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::SetLaunchTemplateName ( Aws::String &&  value)
inline

The name of the launch template. If you specify the template name, you can't specify the template ID.

Definition at line 118 of file FleetLaunchTemplateSpecification.h.

◆ SetLaunchTemplateName() [2/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::SetLaunchTemplateName ( const Aws::String value)
inline

The name of the launch template. If you specify the template name, you can't specify the template ID.

Definition at line 112 of file FleetLaunchTemplateSpecification.h.

◆ SetLaunchTemplateName() [3/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::SetLaunchTemplateName ( const char *  value)
inline

The name of the launch template. If you specify the template name, you can't specify the template ID.

Definition at line 124 of file FleetLaunchTemplateSpecification.h.

◆ SetVersion() [1/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::SetVersion ( Aws::String &&  value)
inline

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.

Definition at line 179 of file FleetLaunchTemplateSpecification.h.

◆ SetVersion() [2/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::SetVersion ( const Aws::String value)
inline

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.

Definition at line 170 of file FleetLaunchTemplateSpecification.h.

◆ SetVersion() [3/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecification::SetVersion ( const char *  value)
inline

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.

Definition at line 188 of file FleetLaunchTemplateSpecification.h.

◆ VersionHasBeenSet()

bool Aws::EC2::Model::FleetLaunchTemplateSpecification::VersionHasBeenSet ( ) const
inline

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.

Definition at line 161 of file FleetLaunchTemplateSpecification.h.

◆ WithLaunchTemplateId() [1/3]

FleetLaunchTemplateSpecification& Aws::EC2::Model::FleetLaunchTemplateSpecification::WithLaunchTemplateId ( Aws::String &&  value)
inline

The ID of the launch template. If you specify the template ID, you can't specify the template name.

Definition at line 87 of file FleetLaunchTemplateSpecification.h.

◆ WithLaunchTemplateId() [2/3]

FleetLaunchTemplateSpecification& Aws::EC2::Model::FleetLaunchTemplateSpecification::WithLaunchTemplateId ( const Aws::String value)
inline

The ID of the launch template. If you specify the template ID, you can't specify the template name.

Definition at line 81 of file FleetLaunchTemplateSpecification.h.

◆ WithLaunchTemplateId() [3/3]

FleetLaunchTemplateSpecification& Aws::EC2::Model::FleetLaunchTemplateSpecification::WithLaunchTemplateId ( const char *  value)
inline

The ID of the launch template. If you specify the template ID, you can't specify the template name.

Definition at line 93 of file FleetLaunchTemplateSpecification.h.

◆ WithLaunchTemplateName() [1/3]

FleetLaunchTemplateSpecification& Aws::EC2::Model::FleetLaunchTemplateSpecification::WithLaunchTemplateName ( Aws::String &&  value)
inline

The name of the launch template. If you specify the template name, you can't specify the template ID.

Definition at line 136 of file FleetLaunchTemplateSpecification.h.

◆ WithLaunchTemplateName() [2/3]

FleetLaunchTemplateSpecification& Aws::EC2::Model::FleetLaunchTemplateSpecification::WithLaunchTemplateName ( const Aws::String value)
inline

The name of the launch template. If you specify the template name, you can't specify the template ID.

Definition at line 130 of file FleetLaunchTemplateSpecification.h.

◆ WithLaunchTemplateName() [3/3]

FleetLaunchTemplateSpecification& Aws::EC2::Model::FleetLaunchTemplateSpecification::WithLaunchTemplateName ( const char *  value)
inline

The name of the launch template. If you specify the template name, you can't specify the template ID.

Definition at line 142 of file FleetLaunchTemplateSpecification.h.

◆ WithVersion() [1/3]

FleetLaunchTemplateSpecification& Aws::EC2::Model::FleetLaunchTemplateSpecification::WithVersion ( Aws::String &&  value)
inline

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.

Definition at line 206 of file FleetLaunchTemplateSpecification.h.

◆ WithVersion() [2/3]

FleetLaunchTemplateSpecification& Aws::EC2::Model::FleetLaunchTemplateSpecification::WithVersion ( const Aws::String value)
inline

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.

Definition at line 197 of file FleetLaunchTemplateSpecification.h.

◆ WithVersion() [3/3]

FleetLaunchTemplateSpecification& Aws::EC2::Model::FleetLaunchTemplateSpecification::WithVersion ( const char *  value)
inline

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.

Definition at line 215 of file FleetLaunchTemplateSpecification.h.


The documentation for this class was generated from the following file: