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

#include <LaunchTemplateCapacityReservationSpecificationResponse.h>

Public Member Functions

 LaunchTemplateCapacityReservationSpecificationResponse ()
 
 LaunchTemplateCapacityReservationSpecificationResponse (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LaunchTemplateCapacityReservationSpecificationResponseoperator= (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 CapacityReservationPreferenceGetCapacityReservationPreference () const
 
bool CapacityReservationPreferenceHasBeenSet () const
 
void SetCapacityReservationPreference (const CapacityReservationPreference &value)
 
void SetCapacityReservationPreference (CapacityReservationPreference &&value)
 
LaunchTemplateCapacityReservationSpecificationResponseWithCapacityReservationPreference (const CapacityReservationPreference &value)
 
LaunchTemplateCapacityReservationSpecificationResponseWithCapacityReservationPreference (CapacityReservationPreference &&value)
 
const CapacityReservationTargetResponseGetCapacityReservationTarget () const
 
bool CapacityReservationTargetHasBeenSet () const
 
void SetCapacityReservationTarget (const CapacityReservationTargetResponse &value)
 
void SetCapacityReservationTarget (CapacityReservationTargetResponse &&value)
 
LaunchTemplateCapacityReservationSpecificationResponseWithCapacityReservationTarget (const CapacityReservationTargetResponse &value)
 
LaunchTemplateCapacityReservationSpecificationResponseWithCapacityReservationTarget (CapacityReservationTargetResponse &&value)
 

Detailed Description

Information about the Capacity Reservation targeting option.

See Also:

AWS API Reference

Definition at line 33 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

Constructor & Destructor Documentation

◆ LaunchTemplateCapacityReservationSpecificationResponse() [1/2]

Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::LaunchTemplateCapacityReservationSpecificationResponse ( )

◆ LaunchTemplateCapacityReservationSpecificationResponse() [2/2]

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

Member Function Documentation

◆ CapacityReservationPreferenceHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::CapacityReservationPreferenceHasBeenSet ( ) const
inline

Indicates the instance's Capacity Reservation preferences. Possible preferences include:

  • open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

  • none - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.

Definition at line 62 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ CapacityReservationTargetHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::CapacityReservationTargetHasBeenSet ( ) const
inline

Information about the target Capacity Reservation or Capacity Reservation group.

Definition at line 115 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ GetCapacityReservationPreference()

const CapacityReservationPreference& Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::GetCapacityReservationPreference ( ) const
inline

Indicates the instance's Capacity Reservation preferences. Possible preferences include:

  • open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

  • none - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.

Definition at line 52 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ GetCapacityReservationTarget()

const CapacityReservationTargetResponse& Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::GetCapacityReservationTarget ( ) const
inline

Information about the target Capacity Reservation or Capacity Reservation group.

Definition at line 109 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetCapacityReservationPreference() [1/2]

void Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::SetCapacityReservationPreference ( CapacityReservationPreference &&  value)
inline

Indicates the instance's Capacity Reservation preferences. Possible preferences include:

  • open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

  • none - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.

Definition at line 82 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ SetCapacityReservationPreference() [2/2]

void Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::SetCapacityReservationPreference ( const CapacityReservationPreference value)
inline

Indicates the instance's Capacity Reservation preferences. Possible preferences include:

  • open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

  • none - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.

Definition at line 72 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ SetCapacityReservationTarget() [1/2]

void Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::SetCapacityReservationTarget ( CapacityReservationTargetResponse &&  value)
inline

Information about the target Capacity Reservation or Capacity Reservation group.

Definition at line 127 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ SetCapacityReservationTarget() [2/2]

void Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::SetCapacityReservationTarget ( const CapacityReservationTargetResponse value)
inline

Information about the target Capacity Reservation or Capacity Reservation group.

Definition at line 121 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ WithCapacityReservationPreference() [1/2]

LaunchTemplateCapacityReservationSpecificationResponse& Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::WithCapacityReservationPreference ( CapacityReservationPreference &&  value)
inline

Indicates the instance's Capacity Reservation preferences. Possible preferences include:

  • open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

  • none - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.

Definition at line 102 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ WithCapacityReservationPreference() [2/2]

LaunchTemplateCapacityReservationSpecificationResponse& Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::WithCapacityReservationPreference ( const CapacityReservationPreference value)
inline

Indicates the instance's Capacity Reservation preferences. Possible preferences include:

  • open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

  • none - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.

Definition at line 92 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ WithCapacityReservationTarget() [1/2]

LaunchTemplateCapacityReservationSpecificationResponse& Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::WithCapacityReservationTarget ( CapacityReservationTargetResponse &&  value)
inline

Information about the target Capacity Reservation or Capacity Reservation group.

Definition at line 139 of file LaunchTemplateCapacityReservationSpecificationResponse.h.

◆ WithCapacityReservationTarget() [2/2]

LaunchTemplateCapacityReservationSpecificationResponse& Aws::EC2::Model::LaunchTemplateCapacityReservationSpecificationResponse::WithCapacityReservationTarget ( const CapacityReservationTargetResponse value)
inline

Information about the target Capacity Reservation or Capacity Reservation group.

Definition at line 133 of file LaunchTemplateCapacityReservationSpecificationResponse.h.


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