AWS SDK for C++  1.8.72
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.

You must specify either a template ID or a template name.

Definition at line 55 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.

You must specify either a template ID or a template name.

Definition at line 129 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 215 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.

You must specify either a template ID or a template name.

Definition at line 64 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.

You must specify either a template ID or a template name.

Definition at line 139 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,
unsigned  index,
const char *  locationValue 
) const

◆ OutputToStream() [2/2]

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

◆ SetLaunchTemplateId() [1/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.

You must specify either a template ID or a template name.

Definition at line 73 of file LaunchTemplateSpecification.h.

◆ SetLaunchTemplateId() [2/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.

You must specify either a template ID or a template name.

Definition at line 82 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.

You must specify either a template ID or a template name.

Definition at line 91 of file LaunchTemplateSpecification.h.

◆ SetLaunchTemplateName() [1/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.

You must specify either a template ID or a template name.

Definition at line 149 of file LaunchTemplateSpecification.h.

◆ SetLaunchTemplateName() [2/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.

You must specify either a template ID or a template name.

Definition at line 159 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.

You must specify either a template ID or a template name.

Definition at line 169 of file LaunchTemplateSpecification.h.

◆ SetVersion() [1/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 245 of file LaunchTemplateSpecification.h.

◆ SetVersion() [2/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 260 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 275 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 230 of file LaunchTemplateSpecification.h.

◆ WithLaunchTemplateId() [1/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.

You must specify either a template ID or a template name.

Definition at line 100 of file LaunchTemplateSpecification.h.

◆ WithLaunchTemplateId() [2/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.

You must specify either a template ID or a template name.

Definition at line 109 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.

You must specify either a template ID or a template name.

Definition at line 118 of file LaunchTemplateSpecification.h.

◆ WithLaunchTemplateName() [1/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.

You must specify either a template ID or a template name.

Definition at line 179 of file LaunchTemplateSpecification.h.

◆ WithLaunchTemplateName() [2/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.

You must specify either a template ID or a template name.

Definition at line 189 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.

You must specify either a template ID or a template name.

Definition at line 199 of file LaunchTemplateSpecification.h.

◆ WithVersion() [1/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 290 of file LaunchTemplateSpecification.h.

◆ WithVersion() [2/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 305 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 320 of file LaunchTemplateSpecification.h.


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