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

#include <GetCapacityReservationUsageResponse.h>

Public Member Functions

 GetCapacityReservationUsageResponse ()
 
 GetCapacityReservationUsageResponse (const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
 
GetCapacityReservationUsageResponseoperator= (const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
 
const Aws::StringGetNextToken () const
 
void SetNextToken (const Aws::String &value)
 
void SetNextToken (Aws::String &&value)
 
void SetNextToken (const char *value)
 
GetCapacityReservationUsageResponseWithNextToken (const Aws::String &value)
 
GetCapacityReservationUsageResponseWithNextToken (Aws::String &&value)
 
GetCapacityReservationUsageResponseWithNextToken (const char *value)
 
const Aws::StringGetCapacityReservationId () const
 
void SetCapacityReservationId (const Aws::String &value)
 
void SetCapacityReservationId (Aws::String &&value)
 
void SetCapacityReservationId (const char *value)
 
GetCapacityReservationUsageResponseWithCapacityReservationId (const Aws::String &value)
 
GetCapacityReservationUsageResponseWithCapacityReservationId (Aws::String &&value)
 
GetCapacityReservationUsageResponseWithCapacityReservationId (const char *value)
 
const Aws::StringGetInstanceType () const
 
void SetInstanceType (const Aws::String &value)
 
void SetInstanceType (Aws::String &&value)
 
void SetInstanceType (const char *value)
 
GetCapacityReservationUsageResponseWithInstanceType (const Aws::String &value)
 
GetCapacityReservationUsageResponseWithInstanceType (Aws::String &&value)
 
GetCapacityReservationUsageResponseWithInstanceType (const char *value)
 
int GetTotalInstanceCount () const
 
void SetTotalInstanceCount (int value)
 
GetCapacityReservationUsageResponseWithTotalInstanceCount (int value)
 
int GetAvailableInstanceCount () const
 
void SetAvailableInstanceCount (int value)
 
GetCapacityReservationUsageResponseWithAvailableInstanceCount (int value)
 
const CapacityReservationStateGetState () const
 
void SetState (const CapacityReservationState &value)
 
void SetState (CapacityReservationState &&value)
 
GetCapacityReservationUsageResponseWithState (const CapacityReservationState &value)
 
GetCapacityReservationUsageResponseWithState (CapacityReservationState &&value)
 
const Aws::Vector< InstanceUsage > & GetInstanceUsages () const
 
void SetInstanceUsages (const Aws::Vector< InstanceUsage > &value)
 
void SetInstanceUsages (Aws::Vector< InstanceUsage > &&value)
 
GetCapacityReservationUsageResponseWithInstanceUsages (const Aws::Vector< InstanceUsage > &value)
 
GetCapacityReservationUsageResponseWithInstanceUsages (Aws::Vector< InstanceUsage > &&value)
 
GetCapacityReservationUsageResponseAddInstanceUsages (const InstanceUsage &value)
 
GetCapacityReservationUsageResponseAddInstanceUsages (InstanceUsage &&value)
 
const ResponseMetadataGetResponseMetadata () const
 
void SetResponseMetadata (const ResponseMetadata &value)
 
void SetResponseMetadata (ResponseMetadata &&value)
 
GetCapacityReservationUsageResponseWithResponseMetadata (const ResponseMetadata &value)
 
GetCapacityReservationUsageResponseWithResponseMetadata (ResponseMetadata &&value)
 

Detailed Description

Definition at line 31 of file GetCapacityReservationUsageResponse.h.

Constructor & Destructor Documentation

◆ GetCapacityReservationUsageResponse() [1/2]

Aws::EC2::Model::GetCapacityReservationUsageResponse::GetCapacityReservationUsageResponse ( )

◆ GetCapacityReservationUsageResponse() [2/2]

Aws::EC2::Model::GetCapacityReservationUsageResponse::GetCapacityReservationUsageResponse ( const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &  result)

Member Function Documentation

◆ AddInstanceUsages() [1/2]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::AddInstanceUsages ( const InstanceUsage value)
inline

Information about the Capacity Reservation usage.

Definition at line 313 of file GetCapacityReservationUsageResponse.h.

◆ AddInstanceUsages() [2/2]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::AddInstanceUsages ( InstanceUsage &&  value)
inline

Information about the Capacity Reservation usage.

Definition at line 318 of file GetCapacityReservationUsageResponse.h.

◆ GetAvailableInstanceCount()

int Aws::EC2::Model::GetCapacityReservationUsageResponse::GetAvailableInstanceCount ( ) const
inline

The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

Definition at line 184 of file GetCapacityReservationUsageResponse.h.

◆ GetCapacityReservationId()

const Aws::String& Aws::EC2::Model::GetCapacityReservationUsageResponse::GetCapacityReservationId ( ) const
inline

The ID of the Capacity Reservation.

Definition at line 85 of file GetCapacityReservationUsageResponse.h.

◆ GetInstanceType()

const Aws::String& Aws::EC2::Model::GetCapacityReservationUsageResponse::GetInstanceType ( ) const
inline

The type of instance for which the Capacity Reservation reserves capacity.

Definition at line 122 of file GetCapacityReservationUsageResponse.h.

◆ GetInstanceUsages()

const Aws::Vector<InstanceUsage>& Aws::EC2::Model::GetCapacityReservationUsageResponse::GetInstanceUsages ( ) const
inline

Information about the Capacity Reservation usage.

Definition at line 288 of file GetCapacityReservationUsageResponse.h.

◆ GetNextToken()

const Aws::String& Aws::EC2::Model::GetCapacityReservationUsageResponse::GetNextToken ( ) const
inline

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Definition at line 43 of file GetCapacityReservationUsageResponse.h.

◆ GetResponseMetadata()

const ResponseMetadata& Aws::EC2::Model::GetCapacityReservationUsageResponse::GetResponseMetadata ( ) const
inline

Definition at line 322 of file GetCapacityReservationUsageResponse.h.

◆ GetState()

const CapacityReservationState& Aws::EC2::Model::GetCapacityReservationUsageResponse::GetState ( ) const
inline

The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

  • active - The Capacity Reservation is active and the capacity is available for your use.

  • expired - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use.

  • cancelled - The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use.

  • pending - The Capacity Reservation request was successful but the capacity provisioning is still pending.

  • failed - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.

Definition at line 214 of file GetCapacityReservationUsageResponse.h.

◆ GetTotalInstanceCount()

int Aws::EC2::Model::GetCapacityReservationUsageResponse::GetTotalInstanceCount ( ) const
inline

The number of instances for which the Capacity Reservation reserves capacity.

Definition at line 165 of file GetCapacityReservationUsageResponse.h.

◆ operator=()

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::operator= ( const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &  result)

◆ SetAvailableInstanceCount()

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetAvailableInstanceCount ( int  value)
inline

The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

Definition at line 190 of file GetCapacityReservationUsageResponse.h.

◆ SetCapacityReservationId() [1/3]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetCapacityReservationId ( Aws::String &&  value)
inline

The ID of the Capacity Reservation.

Definition at line 95 of file GetCapacityReservationUsageResponse.h.

◆ SetCapacityReservationId() [2/3]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetCapacityReservationId ( const Aws::String value)
inline

The ID of the Capacity Reservation.

Definition at line 90 of file GetCapacityReservationUsageResponse.h.

◆ SetCapacityReservationId() [3/3]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetCapacityReservationId ( const char *  value)
inline

The ID of the Capacity Reservation.

Definition at line 100 of file GetCapacityReservationUsageResponse.h.

◆ SetInstanceType() [1/3]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetInstanceType ( Aws::String &&  value)
inline

The type of instance for which the Capacity Reservation reserves capacity.

Definition at line 134 of file GetCapacityReservationUsageResponse.h.

◆ SetInstanceType() [2/3]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetInstanceType ( const Aws::String value)
inline

The type of instance for which the Capacity Reservation reserves capacity.

Definition at line 128 of file GetCapacityReservationUsageResponse.h.

◆ SetInstanceType() [3/3]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetInstanceType ( const char *  value)
inline

The type of instance for which the Capacity Reservation reserves capacity.

Definition at line 140 of file GetCapacityReservationUsageResponse.h.

◆ SetInstanceUsages() [1/2]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetInstanceUsages ( Aws::Vector< InstanceUsage > &&  value)
inline

Information about the Capacity Reservation usage.

Definition at line 298 of file GetCapacityReservationUsageResponse.h.

◆ SetInstanceUsages() [2/2]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetInstanceUsages ( const Aws::Vector< InstanceUsage > &  value)
inline

Information about the Capacity Reservation usage.

Definition at line 293 of file GetCapacityReservationUsageResponse.h.

◆ SetNextToken() [1/3]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetNextToken ( Aws::String &&  value)
inline

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Definition at line 55 of file GetCapacityReservationUsageResponse.h.

◆ SetNextToken() [2/3]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetNextToken ( const Aws::String value)
inline

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Definition at line 49 of file GetCapacityReservationUsageResponse.h.

◆ SetNextToken() [3/3]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetNextToken ( const char *  value)
inline

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Definition at line 61 of file GetCapacityReservationUsageResponse.h.

◆ SetResponseMetadata() [1/2]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 325 of file GetCapacityReservationUsageResponse.h.

◆ SetResponseMetadata() [2/2]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 328 of file GetCapacityReservationUsageResponse.h.

◆ SetState() [1/2]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetState ( CapacityReservationState &&  value)
inline

The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

  • active - The Capacity Reservation is active and the capacity is available for your use.

  • expired - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use.

  • cancelled - The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use.

  • pending - The Capacity Reservation request was successful but the capacity provisioning is still pending.

  • failed - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.

Definition at line 248 of file GetCapacityReservationUsageResponse.h.

◆ SetState() [2/2]

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetState ( const CapacityReservationState value)
inline

The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

  • active - The Capacity Reservation is active and the capacity is available for your use.

  • expired - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use.

  • cancelled - The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use.

  • pending - The Capacity Reservation request was successful but the capacity provisioning is still pending.

  • failed - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.

Definition at line 231 of file GetCapacityReservationUsageResponse.h.

◆ SetTotalInstanceCount()

void Aws::EC2::Model::GetCapacityReservationUsageResponse::SetTotalInstanceCount ( int  value)
inline

The number of instances for which the Capacity Reservation reserves capacity.

Definition at line 171 of file GetCapacityReservationUsageResponse.h.

◆ WithAvailableInstanceCount()

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithAvailableInstanceCount ( int  value)
inline

The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

Definition at line 196 of file GetCapacityReservationUsageResponse.h.

◆ WithCapacityReservationId() [1/3]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithCapacityReservationId ( Aws::String &&  value)
inline

The ID of the Capacity Reservation.

Definition at line 110 of file GetCapacityReservationUsageResponse.h.

◆ WithCapacityReservationId() [2/3]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithCapacityReservationId ( const Aws::String value)
inline

The ID of the Capacity Reservation.

Definition at line 105 of file GetCapacityReservationUsageResponse.h.

◆ WithCapacityReservationId() [3/3]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithCapacityReservationId ( const char *  value)
inline

The ID of the Capacity Reservation.

Definition at line 115 of file GetCapacityReservationUsageResponse.h.

◆ WithInstanceType() [1/3]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithInstanceType ( Aws::String &&  value)
inline

The type of instance for which the Capacity Reservation reserves capacity.

Definition at line 152 of file GetCapacityReservationUsageResponse.h.

◆ WithInstanceType() [2/3]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithInstanceType ( const Aws::String value)
inline

The type of instance for which the Capacity Reservation reserves capacity.

Definition at line 146 of file GetCapacityReservationUsageResponse.h.

◆ WithInstanceType() [3/3]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithInstanceType ( const char *  value)
inline

The type of instance for which the Capacity Reservation reserves capacity.

Definition at line 158 of file GetCapacityReservationUsageResponse.h.

◆ WithInstanceUsages() [1/2]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithInstanceUsages ( Aws::Vector< InstanceUsage > &&  value)
inline

Information about the Capacity Reservation usage.

Definition at line 308 of file GetCapacityReservationUsageResponse.h.

◆ WithInstanceUsages() [2/2]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithInstanceUsages ( const Aws::Vector< InstanceUsage > &  value)
inline

Information about the Capacity Reservation usage.

Definition at line 303 of file GetCapacityReservationUsageResponse.h.

◆ WithNextToken() [1/3]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithNextToken ( Aws::String &&  value)
inline

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Definition at line 73 of file GetCapacityReservationUsageResponse.h.

◆ WithNextToken() [2/3]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithNextToken ( const Aws::String value)
inline

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Definition at line 67 of file GetCapacityReservationUsageResponse.h.

◆ WithNextToken() [3/3]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithNextToken ( const char *  value)
inline

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Definition at line 79 of file GetCapacityReservationUsageResponse.h.

◆ WithResponseMetadata() [1/2]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 331 of file GetCapacityReservationUsageResponse.h.

◆ WithResponseMetadata() [2/2]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 334 of file GetCapacityReservationUsageResponse.h.

◆ WithState() [1/2]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithState ( CapacityReservationState &&  value)
inline

The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

  • active - The Capacity Reservation is active and the capacity is available for your use.

  • expired - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use.

  • cancelled - The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use.

  • pending - The Capacity Reservation request was successful but the capacity provisioning is still pending.

  • failed - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.

Definition at line 282 of file GetCapacityReservationUsageResponse.h.

◆ WithState() [2/2]

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithState ( const CapacityReservationState value)
inline

The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

  • active - The Capacity Reservation is active and the capacity is available for your use.

  • expired - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use.

  • cancelled - The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use.

  • pending - The Capacity Reservation request was successful but the capacity provisioning is still pending.

  • failed - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.

Definition at line 265 of file GetCapacityReservationUsageResponse.h.

◆ WithTotalInstanceCount()

GetCapacityReservationUsageResponse& Aws::EC2::Model::GetCapacityReservationUsageResponse::WithTotalInstanceCount ( int  value)
inline

The number of instances for which the Capacity Reservation reserves capacity.

Definition at line 177 of file GetCapacityReservationUsageResponse.h.


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