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

#include <CapacityReservationSpecificationResponse.h>

Public Member Functions

 CapacityReservationSpecificationResponse ()
 
 CapacityReservationSpecificationResponse (const Aws::Utils::Xml::XmlNode &xmlNode)
 
CapacityReservationSpecificationResponseoperator= (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)
 
CapacityReservationSpecificationResponseWithCapacityReservationPreference (const CapacityReservationPreference &value)
 
CapacityReservationSpecificationResponseWithCapacityReservationPreference (CapacityReservationPreference &&value)
 
const CapacityReservationTargetResponseGetCapacityReservationTarget () const
 
bool CapacityReservationTargetHasBeenSet () const
 
void SetCapacityReservationTarget (const CapacityReservationTargetResponse &value)
 
void SetCapacityReservationTarget (CapacityReservationTargetResponse &&value)
 
CapacityReservationSpecificationResponseWithCapacityReservationTarget (const CapacityReservationTargetResponse &value)
 
CapacityReservationSpecificationResponseWithCapacityReservationTarget (CapacityReservationTargetResponse &&value)
 

Detailed Description

Describes the instance's Capacity Reservation targeting preferences. The action returns the capacityReservationPreference response element if the instance is configured to run in On-Demand capacity, or if it is configured in run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). The action returns the capacityReservationTarget response element if the instance explicily targets a specific Capacity Reservation or Capacity Reservation group.

See Also:

AWS API Reference

Definition at line 39 of file CapacityReservationSpecificationResponse.h.

Constructor & Destructor Documentation

◆ CapacityReservationSpecificationResponse() [1/2]

Aws::EC2::Model::CapacityReservationSpecificationResponse::CapacityReservationSpecificationResponse ( )

◆ CapacityReservationSpecificationResponse() [2/2]

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

Member Function Documentation

◆ CapacityReservationPreferenceHasBeenSet()

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

Describes 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 68 of file CapacityReservationSpecificationResponse.h.

◆ CapacityReservationTargetHasBeenSet()

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

Information about the targeted Capacity Reservation or Capacity Reservation group.

Definition at line 121 of file CapacityReservationSpecificationResponse.h.

◆ GetCapacityReservationPreference()

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

Describes 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 58 of file CapacityReservationSpecificationResponse.h.

◆ GetCapacityReservationTarget()

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

Information about the targeted Capacity Reservation or Capacity Reservation group.

Definition at line 115 of file CapacityReservationSpecificationResponse.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetCapacityReservationPreference() [1/2]

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

Describes 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 88 of file CapacityReservationSpecificationResponse.h.

◆ SetCapacityReservationPreference() [2/2]

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

Describes 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 78 of file CapacityReservationSpecificationResponse.h.

◆ SetCapacityReservationTarget() [1/2]

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

Information about the targeted Capacity Reservation or Capacity Reservation group.

Definition at line 133 of file CapacityReservationSpecificationResponse.h.

◆ SetCapacityReservationTarget() [2/2]

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

Information about the targeted Capacity Reservation or Capacity Reservation group.

Definition at line 127 of file CapacityReservationSpecificationResponse.h.

◆ WithCapacityReservationPreference() [1/2]

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

Describes 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 108 of file CapacityReservationSpecificationResponse.h.

◆ WithCapacityReservationPreference() [2/2]

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

Describes 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 98 of file CapacityReservationSpecificationResponse.h.

◆ WithCapacityReservationTarget() [1/2]

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

Information about the targeted Capacity Reservation or Capacity Reservation group.

Definition at line 145 of file CapacityReservationSpecificationResponse.h.

◆ WithCapacityReservationTarget() [2/2]

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

Information about the targeted Capacity Reservation or Capacity Reservation group.

Definition at line 139 of file CapacityReservationSpecificationResponse.h.


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