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

#include <FleetLaunchTemplateSpecificationRequest.h>

Public Member Functions

 FleetLaunchTemplateSpecificationRequest ()
 
 FleetLaunchTemplateSpecificationRequest (const Aws::Utils::Xml::XmlNode &xmlNode)
 
FleetLaunchTemplateSpecificationRequestoperator= (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)
 
FleetLaunchTemplateSpecificationRequestWithLaunchTemplateId (const Aws::String &value)
 
FleetLaunchTemplateSpecificationRequestWithLaunchTemplateId (Aws::String &&value)
 
FleetLaunchTemplateSpecificationRequestWithLaunchTemplateId (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)
 
FleetLaunchTemplateSpecificationRequestWithLaunchTemplateName (const Aws::String &value)
 
FleetLaunchTemplateSpecificationRequestWithLaunchTemplateName (Aws::String &&value)
 
FleetLaunchTemplateSpecificationRequestWithLaunchTemplateName (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)
 
FleetLaunchTemplateSpecificationRequestWithVersion (const Aws::String &value)
 
FleetLaunchTemplateSpecificationRequestWithVersion (Aws::String &&value)
 
FleetLaunchTemplateSpecificationRequestWithVersion (const char *value)
 

Detailed Description

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 EC2 User Guide.

See Also:

AWS API Reference

Definition at line 36 of file FleetLaunchTemplateSpecificationRequest.h.

Constructor & Destructor Documentation

◆ FleetLaunchTemplateSpecificationRequest() [1/2]

Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::FleetLaunchTemplateSpecificationRequest ( )

◆ FleetLaunchTemplateSpecificationRequest() [2/2]

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

Member Function Documentation

◆ GetLaunchTemplateId()

const Aws::String& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ GetLaunchTemplateName()

const Aws::String& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ GetVersion()

const Aws::String& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ LaunchTemplateIdHasBeenSet()

bool Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ LaunchTemplateNameHasBeenSet()

bool Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetLaunchTemplateId() [1/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ SetLaunchTemplateId() [2/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ SetLaunchTemplateId() [3/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ SetLaunchTemplateName() [1/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ SetLaunchTemplateName() [2/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ SetLaunchTemplateName() [3/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ SetVersion() [1/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ SetVersion() [2/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ SetVersion() [3/3]

void Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ VersionHasBeenSet()

bool Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ WithLaunchTemplateId() [1/3]

FleetLaunchTemplateSpecificationRequest& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ WithLaunchTemplateId() [2/3]

FleetLaunchTemplateSpecificationRequest& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ WithLaunchTemplateId() [3/3]

FleetLaunchTemplateSpecificationRequest& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ WithLaunchTemplateName() [1/3]

FleetLaunchTemplateSpecificationRequest& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ WithLaunchTemplateName() [2/3]

FleetLaunchTemplateSpecificationRequest& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ WithLaunchTemplateName() [3/3]

FleetLaunchTemplateSpecificationRequest& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ WithVersion() [1/3]

FleetLaunchTemplateSpecificationRequest& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ WithVersion() [2/3]

FleetLaunchTemplateSpecificationRequest& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.

◆ WithVersion() [3/3]

FleetLaunchTemplateSpecificationRequest& Aws::EC2::Model::FleetLaunchTemplateSpecificationRequest::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 FleetLaunchTemplateSpecificationRequest.h.


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