AWS SDK for C++  1.8.129
AWS SDK for C++
Public Member Functions | List of all members
Aws::AutoScaling::Model::LaunchTemplateSpecification Class Reference

#include <LaunchTemplateSpecification.h>

Public Member Functions

 LaunchTemplateSpecification ()
 
 LaunchTemplateSpecification (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LaunchTemplateSpecificationoperator= (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)
 
LaunchTemplateSpecificationWithLaunchTemplateId (const Aws::String &value)
 
LaunchTemplateSpecificationWithLaunchTemplateId (Aws::String &&value)
 
LaunchTemplateSpecificationWithLaunchTemplateId (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)
 
LaunchTemplateSpecificationWithLaunchTemplateName (const Aws::String &value)
 
LaunchTemplateSpecificationWithLaunchTemplateName (Aws::String &&value)
 
LaunchTemplateSpecificationWithLaunchTemplateName (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)
 
LaunchTemplateSpecificationWithVersion (const Aws::String &value)
 
LaunchTemplateSpecificationWithVersion (Aws::String &&value)
 
LaunchTemplateSpecificationWithVersion (const char *value)
 

Detailed Description

Describes the Amazon EC2 launch template and the launch template version that can be used by an Auto Scaling group to configure Amazon EC2 instances.

The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

See Also:

AWS API Reference

Definition at line 37 of file LaunchTemplateSpecification.h.

Constructor & Destructor Documentation

◆ LaunchTemplateSpecification() [1/2]

Aws::AutoScaling::Model::LaunchTemplateSpecification::LaunchTemplateSpecification ( )

◆ LaunchTemplateSpecification() [2/2]

Aws::AutoScaling::Model::LaunchTemplateSpecification::LaunchTemplateSpecification ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ GetLaunchTemplateId()

const Aws::String& Aws::AutoScaling::Model::LaunchTemplateSpecification::GetLaunchTemplateId ( ) const
inline

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 56 of file LaunchTemplateSpecification.h.

◆ GetLaunchTemplateName()

const Aws::String& Aws::AutoScaling::Model::LaunchTemplateSpecification::GetLaunchTemplateName ( ) const
inline

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 138 of file LaunchTemplateSpecification.h.

◆ GetVersion()

const Aws::String& Aws::AutoScaling::Model::LaunchTemplateSpecification::GetVersion ( ) const
inline

The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

Definition at line 231 of file LaunchTemplateSpecification.h.

◆ LaunchTemplateIdHasBeenSet()

bool Aws::AutoScaling::Model::LaunchTemplateSpecification::LaunchTemplateIdHasBeenSet ( ) const
inline

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 66 of file LaunchTemplateSpecification.h.

◆ LaunchTemplateNameHasBeenSet()

bool Aws::AutoScaling::Model::LaunchTemplateSpecification::LaunchTemplateNameHasBeenSet ( ) const
inline

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 149 of file LaunchTemplateSpecification.h.

◆ operator=()

LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplateSpecification::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::AutoScaling::Model::LaunchTemplateSpecification::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

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

◆ SetLaunchTemplateId() [1/3]

void Aws::AutoScaling::Model::LaunchTemplateSpecification::SetLaunchTemplateId ( Aws::String &&  value)
inline

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 86 of file LaunchTemplateSpecification.h.

◆ SetLaunchTemplateId() [2/3]

void Aws::AutoScaling::Model::LaunchTemplateSpecification::SetLaunchTemplateId ( const Aws::String value)
inline

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 76 of file LaunchTemplateSpecification.h.

◆ SetLaunchTemplateId() [3/3]

void Aws::AutoScaling::Model::LaunchTemplateSpecification::SetLaunchTemplateId ( const char *  value)
inline

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 96 of file LaunchTemplateSpecification.h.

◆ SetLaunchTemplateName() [1/3]

void Aws::AutoScaling::Model::LaunchTemplateSpecification::SetLaunchTemplateName ( Aws::String &&  value)
inline

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 171 of file LaunchTemplateSpecification.h.

◆ SetLaunchTemplateName() [2/3]

void Aws::AutoScaling::Model::LaunchTemplateSpecification::SetLaunchTemplateName ( const Aws::String value)
inline

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 160 of file LaunchTemplateSpecification.h.

◆ SetLaunchTemplateName() [3/3]

void Aws::AutoScaling::Model::LaunchTemplateSpecification::SetLaunchTemplateName ( const char *  value)
inline

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 182 of file LaunchTemplateSpecification.h.

◆ SetVersion() [1/3]

void Aws::AutoScaling::Model::LaunchTemplateSpecification::SetVersion ( Aws::String &&  value)
inline

The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

Definition at line 276 of file LaunchTemplateSpecification.h.

◆ SetVersion() [2/3]

void Aws::AutoScaling::Model::LaunchTemplateSpecification::SetVersion ( const Aws::String value)
inline

The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

Definition at line 261 of file LaunchTemplateSpecification.h.

◆ SetVersion() [3/3]

void Aws::AutoScaling::Model::LaunchTemplateSpecification::SetVersion ( const char *  value)
inline

The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

Definition at line 291 of file LaunchTemplateSpecification.h.

◆ VersionHasBeenSet()

bool Aws::AutoScaling::Model::LaunchTemplateSpecification::VersionHasBeenSet ( ) const
inline

The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

Definition at line 246 of file LaunchTemplateSpecification.h.

◆ WithLaunchTemplateId() [1/3]

LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplateSpecification::WithLaunchTemplateId ( Aws::String &&  value)
inline

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 116 of file LaunchTemplateSpecification.h.

◆ WithLaunchTemplateId() [2/3]

LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplateSpecification::WithLaunchTemplateId ( const Aws::String value)
inline

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 106 of file LaunchTemplateSpecification.h.

◆ WithLaunchTemplateId() [3/3]

LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplateSpecification::WithLaunchTemplateId ( const char *  value)
inline

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 126 of file LaunchTemplateSpecification.h.

◆ WithLaunchTemplateName() [1/3]

LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplateSpecification::WithLaunchTemplateName ( Aws::String &&  value)
inline

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 204 of file LaunchTemplateSpecification.h.

◆ WithLaunchTemplateName() [2/3]

LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplateSpecification::WithLaunchTemplateName ( const Aws::String value)
inline

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 193 of file LaunchTemplateSpecification.h.

◆ WithLaunchTemplateName() [3/3]

LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplateSpecification::WithLaunchTemplateName ( const char *  value)
inline

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

Definition at line 215 of file LaunchTemplateSpecification.h.

◆ WithVersion() [1/3]

LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplateSpecification::WithVersion ( Aws::String &&  value)
inline

The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

Definition at line 321 of file LaunchTemplateSpecification.h.

◆ WithVersion() [2/3]

LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplateSpecification::WithVersion ( const Aws::String value)
inline

The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

Definition at line 306 of file LaunchTemplateSpecification.h.

◆ WithVersion() [3/3]

LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplateSpecification::WithVersion ( const char *  value)
inline

The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

Definition at line 336 of file LaunchTemplateSpecification.h.


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