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

#include <HostReservation.h>

Public Member Functions

 HostReservation ()
 
 HostReservation (const Aws::Utils::Xml::XmlNode &xmlNode)
 
HostReservationoperator= (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
 
int GetCount () const
 
bool CountHasBeenSet () const
 
void SetCount (int value)
 
HostReservationWithCount (int value)
 
const CurrencyCodeValuesGetCurrencyCode () const
 
bool CurrencyCodeHasBeenSet () const
 
void SetCurrencyCode (const CurrencyCodeValues &value)
 
void SetCurrencyCode (CurrencyCodeValues &&value)
 
HostReservationWithCurrencyCode (const CurrencyCodeValues &value)
 
HostReservationWithCurrencyCode (CurrencyCodeValues &&value)
 
int GetDuration () const
 
bool DurationHasBeenSet () const
 
void SetDuration (int value)
 
HostReservationWithDuration (int value)
 
const Aws::Utils::DateTimeGetEnd () const
 
bool EndHasBeenSet () const
 
void SetEnd (const Aws::Utils::DateTime &value)
 
void SetEnd (Aws::Utils::DateTime &&value)
 
HostReservationWithEnd (const Aws::Utils::DateTime &value)
 
HostReservationWithEnd (Aws::Utils::DateTime &&value)
 
const Aws::Vector< Aws::String > & GetHostIdSet () const
 
bool HostIdSetHasBeenSet () const
 
void SetHostIdSet (const Aws::Vector< Aws::String > &value)
 
void SetHostIdSet (Aws::Vector< Aws::String > &&value)
 
HostReservationWithHostIdSet (const Aws::Vector< Aws::String > &value)
 
HostReservationWithHostIdSet (Aws::Vector< Aws::String > &&value)
 
HostReservationAddHostIdSet (const Aws::String &value)
 
HostReservationAddHostIdSet (Aws::String &&value)
 
HostReservationAddHostIdSet (const char *value)
 
const Aws::StringGetHostReservationId () const
 
bool HostReservationIdHasBeenSet () const
 
void SetHostReservationId (const Aws::String &value)
 
void SetHostReservationId (Aws::String &&value)
 
void SetHostReservationId (const char *value)
 
HostReservationWithHostReservationId (const Aws::String &value)
 
HostReservationWithHostReservationId (Aws::String &&value)
 
HostReservationWithHostReservationId (const char *value)
 
const Aws::StringGetHourlyPrice () const
 
bool HourlyPriceHasBeenSet () const
 
void SetHourlyPrice (const Aws::String &value)
 
void SetHourlyPrice (Aws::String &&value)
 
void SetHourlyPrice (const char *value)
 
HostReservationWithHourlyPrice (const Aws::String &value)
 
HostReservationWithHourlyPrice (Aws::String &&value)
 
HostReservationWithHourlyPrice (const char *value)
 
const Aws::StringGetInstanceFamily () const
 
bool InstanceFamilyHasBeenSet () const
 
void SetInstanceFamily (const Aws::String &value)
 
void SetInstanceFamily (Aws::String &&value)
 
void SetInstanceFamily (const char *value)
 
HostReservationWithInstanceFamily (const Aws::String &value)
 
HostReservationWithInstanceFamily (Aws::String &&value)
 
HostReservationWithInstanceFamily (const char *value)
 
const Aws::StringGetOfferingId () const
 
bool OfferingIdHasBeenSet () const
 
void SetOfferingId (const Aws::String &value)
 
void SetOfferingId (Aws::String &&value)
 
void SetOfferingId (const char *value)
 
HostReservationWithOfferingId (const Aws::String &value)
 
HostReservationWithOfferingId (Aws::String &&value)
 
HostReservationWithOfferingId (const char *value)
 
const PaymentOptionGetPaymentOption () const
 
bool PaymentOptionHasBeenSet () const
 
void SetPaymentOption (const PaymentOption &value)
 
void SetPaymentOption (PaymentOption &&value)
 
HostReservationWithPaymentOption (const PaymentOption &value)
 
HostReservationWithPaymentOption (PaymentOption &&value)
 
const Aws::Utils::DateTimeGetStart () const
 
bool StartHasBeenSet () const
 
void SetStart (const Aws::Utils::DateTime &value)
 
void SetStart (Aws::Utils::DateTime &&value)
 
HostReservationWithStart (const Aws::Utils::DateTime &value)
 
HostReservationWithStart (Aws::Utils::DateTime &&value)
 
const ReservationStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const ReservationState &value)
 
void SetState (ReservationState &&value)
 
HostReservationWithState (const ReservationState &value)
 
HostReservationWithState (ReservationState &&value)
 
const Aws::StringGetUpfrontPrice () const
 
bool UpfrontPriceHasBeenSet () const
 
void SetUpfrontPrice (const Aws::String &value)
 
void SetUpfrontPrice (Aws::String &&value)
 
void SetUpfrontPrice (const char *value)
 
HostReservationWithUpfrontPrice (const Aws::String &value)
 
HostReservationWithUpfrontPrice (Aws::String &&value)
 
HostReservationWithUpfrontPrice (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
HostReservationWithTags (const Aws::Vector< Tag > &value)
 
HostReservationWithTags (Aws::Vector< Tag > &&value)
 
HostReservationAddTags (const Tag &value)
 
HostReservationAddTags (Tag &&value)
 

Detailed Description

Details about the Dedicated Host Reservation and associated Dedicated Hosts.

See Also:

AWS API Reference

Definition at line 38 of file HostReservation.h.

Constructor & Destructor Documentation

◆ HostReservation() [1/2]

Aws::EC2::Model::HostReservation::HostReservation ( )

◆ HostReservation() [2/2]

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

Member Function Documentation

◆ AddHostIdSet() [1/3]

HostReservation& Aws::EC2::Model::HostReservation::AddHostIdSet ( Aws::String &&  value)
inline

The IDs of the Dedicated Hosts associated with the reservation.

Definition at line 207 of file HostReservation.h.

◆ AddHostIdSet() [2/3]

HostReservation& Aws::EC2::Model::HostReservation::AddHostIdSet ( const Aws::String value)
inline

The IDs of the Dedicated Hosts associated with the reservation.

Definition at line 202 of file HostReservation.h.

◆ AddHostIdSet() [3/3]

HostReservation& Aws::EC2::Model::HostReservation::AddHostIdSet ( const char *  value)
inline

The IDs of the Dedicated Hosts associated with the reservation.

Definition at line 212 of file HostReservation.h.

◆ AddTags() [1/2]

HostReservation& Aws::EC2::Model::HostReservation::AddTags ( const Tag value)
inline

Any tags assigned to the Dedicated Host Reservation.

Definition at line 570 of file HostReservation.h.

◆ AddTags() [2/2]

HostReservation& Aws::EC2::Model::HostReservation::AddTags ( Tag &&  value)
inline

Any tags assigned to the Dedicated Host Reservation.

Definition at line 575 of file HostReservation.h.

◆ CountHasBeenSet()

bool Aws::EC2::Model::HostReservation::CountHasBeenSet ( ) const
inline

The number of Dedicated Hosts the reservation is associated with.

Definition at line 57 of file HostReservation.h.

◆ CurrencyCodeHasBeenSet()

bool Aws::EC2::Model::HostReservation::CurrencyCodeHasBeenSet ( ) const
inline

The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 82 of file HostReservation.h.

◆ DurationHasBeenSet()

bool Aws::EC2::Model::HostReservation::DurationHasBeenSet ( ) const
inline

The length of the reservation's term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).

Definition at line 123 of file HostReservation.h.

◆ EndHasBeenSet()

bool Aws::EC2::Model::HostReservation::EndHasBeenSet ( ) const
inline

The date and time that the reservation ends.

Definition at line 146 of file HostReservation.h.

◆ GetCount()

int Aws::EC2::Model::HostReservation::GetCount ( ) const
inline

The number of Dedicated Hosts the reservation is associated with.

Definition at line 52 of file HostReservation.h.

◆ GetCurrencyCode()

const CurrencyCodeValues& Aws::EC2::Model::HostReservation::GetCurrencyCode ( ) const
inline

The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 75 of file HostReservation.h.

◆ GetDuration()

int Aws::EC2::Model::HostReservation::GetDuration ( ) const
inline

The length of the reservation's term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).

Definition at line 117 of file HostReservation.h.

◆ GetEnd()

const Aws::Utils::DateTime& Aws::EC2::Model::HostReservation::GetEnd ( ) const
inline

The date and time that the reservation ends.

Definition at line 141 of file HostReservation.h.

◆ GetHostIdSet()

const Aws::Vector<Aws::String>& Aws::EC2::Model::HostReservation::GetHostIdSet ( ) const
inline

The IDs of the Dedicated Hosts associated with the reservation.

Definition at line 172 of file HostReservation.h.

◆ GetHostReservationId()

const Aws::String& Aws::EC2::Model::HostReservation::GetHostReservationId ( ) const
inline

The ID of the reservation that specifies the associated Dedicated Hosts.

Definition at line 218 of file HostReservation.h.

◆ GetHourlyPrice()

const Aws::String& Aws::EC2::Model::HostReservation::GetHourlyPrice ( ) const
inline

The hourly price of the reservation.

Definition at line 259 of file HostReservation.h.

◆ GetInstanceFamily()

const Aws::String& Aws::EC2::Model::HostReservation::GetInstanceFamily ( ) const
inline

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

Definition at line 302 of file HostReservation.h.

◆ GetOfferingId()

const Aws::String& Aws::EC2::Model::HostReservation::GetOfferingId ( ) const
inline

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

Definition at line 358 of file HostReservation.h.

◆ GetPaymentOption()

const PaymentOption& Aws::EC2::Model::HostReservation::GetPaymentOption ( ) const
inline

The payment option selected for this reservation.

Definition at line 406 of file HostReservation.h.

◆ GetStart()

const Aws::Utils::DateTime& Aws::EC2::Model::HostReservation::GetStart ( ) const
inline

The date and time that the reservation started.

Definition at line 437 of file HostReservation.h.

◆ GetState()

const ReservationState& Aws::EC2::Model::HostReservation::GetState ( ) const
inline

The state of the reservation.

Definition at line 468 of file HostReservation.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::EC2::Model::HostReservation::GetTags ( ) const
inline

Any tags assigned to the Dedicated Host Reservation.

Definition at line 540 of file HostReservation.h.

◆ GetUpfrontPrice()

const Aws::String& Aws::EC2::Model::HostReservation::GetUpfrontPrice ( ) const
inline

The upfront price of the reservation.

Definition at line 499 of file HostReservation.h.

◆ HostIdSetHasBeenSet()

bool Aws::EC2::Model::HostReservation::HostIdSetHasBeenSet ( ) const
inline

The IDs of the Dedicated Hosts associated with the reservation.

Definition at line 177 of file HostReservation.h.

◆ HostReservationIdHasBeenSet()

bool Aws::EC2::Model::HostReservation::HostReservationIdHasBeenSet ( ) const
inline

The ID of the reservation that specifies the associated Dedicated Hosts.

Definition at line 223 of file HostReservation.h.

◆ HourlyPriceHasBeenSet()

bool Aws::EC2::Model::HostReservation::HourlyPriceHasBeenSet ( ) const
inline

The hourly price of the reservation.

Definition at line 264 of file HostReservation.h.

◆ InstanceFamilyHasBeenSet()

bool Aws::EC2::Model::HostReservation::InstanceFamilyHasBeenSet ( ) const
inline

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

Definition at line 309 of file HostReservation.h.

◆ OfferingIdHasBeenSet()

bool Aws::EC2::Model::HostReservation::OfferingIdHasBeenSet ( ) const
inline

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

Definition at line 364 of file HostReservation.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PaymentOptionHasBeenSet()

bool Aws::EC2::Model::HostReservation::PaymentOptionHasBeenSet ( ) const
inline

The payment option selected for this reservation.

Definition at line 411 of file HostReservation.h.

◆ SetCount()

void Aws::EC2::Model::HostReservation::SetCount ( int  value)
inline

The number of Dedicated Hosts the reservation is associated with.

Definition at line 62 of file HostReservation.h.

◆ SetCurrencyCode() [1/2]

void Aws::EC2::Model::HostReservation::SetCurrencyCode ( const CurrencyCodeValues value)
inline

The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 89 of file HostReservation.h.

◆ SetCurrencyCode() [2/2]

void Aws::EC2::Model::HostReservation::SetCurrencyCode ( CurrencyCodeValues &&  value)
inline

The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 96 of file HostReservation.h.

◆ SetDuration()

void Aws::EC2::Model::HostReservation::SetDuration ( int  value)
inline

The length of the reservation's term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).

Definition at line 129 of file HostReservation.h.

◆ SetEnd() [1/2]

void Aws::EC2::Model::HostReservation::SetEnd ( Aws::Utils::DateTime &&  value)
inline

The date and time that the reservation ends.

Definition at line 156 of file HostReservation.h.

◆ SetEnd() [2/2]

void Aws::EC2::Model::HostReservation::SetEnd ( const Aws::Utils::DateTime value)
inline

The date and time that the reservation ends.

Definition at line 151 of file HostReservation.h.

◆ SetHostIdSet() [1/2]

void Aws::EC2::Model::HostReservation::SetHostIdSet ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the Dedicated Hosts associated with the reservation.

Definition at line 187 of file HostReservation.h.

◆ SetHostIdSet() [2/2]

void Aws::EC2::Model::HostReservation::SetHostIdSet ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the Dedicated Hosts associated with the reservation.

Definition at line 182 of file HostReservation.h.

◆ SetHostReservationId() [1/3]

void Aws::EC2::Model::HostReservation::SetHostReservationId ( Aws::String &&  value)
inline

The ID of the reservation that specifies the associated Dedicated Hosts.

Definition at line 233 of file HostReservation.h.

◆ SetHostReservationId() [2/3]

void Aws::EC2::Model::HostReservation::SetHostReservationId ( const Aws::String value)
inline

The ID of the reservation that specifies the associated Dedicated Hosts.

Definition at line 228 of file HostReservation.h.

◆ SetHostReservationId() [3/3]

void Aws::EC2::Model::HostReservation::SetHostReservationId ( const char *  value)
inline

The ID of the reservation that specifies the associated Dedicated Hosts.

Definition at line 238 of file HostReservation.h.

◆ SetHourlyPrice() [1/3]

void Aws::EC2::Model::HostReservation::SetHourlyPrice ( Aws::String &&  value)
inline

The hourly price of the reservation.

Definition at line 274 of file HostReservation.h.

◆ SetHourlyPrice() [2/3]

void Aws::EC2::Model::HostReservation::SetHourlyPrice ( const Aws::String value)
inline

The hourly price of the reservation.

Definition at line 269 of file HostReservation.h.

◆ SetHourlyPrice() [3/3]

void Aws::EC2::Model::HostReservation::SetHourlyPrice ( const char *  value)
inline

The hourly price of the reservation.

Definition at line 279 of file HostReservation.h.

◆ SetInstanceFamily() [1/3]

void Aws::EC2::Model::HostReservation::SetInstanceFamily ( Aws::String &&  value)
inline

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

Definition at line 323 of file HostReservation.h.

◆ SetInstanceFamily() [2/3]

void Aws::EC2::Model::HostReservation::SetInstanceFamily ( const Aws::String value)
inline

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

Definition at line 316 of file HostReservation.h.

◆ SetInstanceFamily() [3/3]

void Aws::EC2::Model::HostReservation::SetInstanceFamily ( const char *  value)
inline

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

Definition at line 330 of file HostReservation.h.

◆ SetOfferingId() [1/3]

void Aws::EC2::Model::HostReservation::SetOfferingId ( Aws::String &&  value)
inline

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

Definition at line 376 of file HostReservation.h.

◆ SetOfferingId() [2/3]

void Aws::EC2::Model::HostReservation::SetOfferingId ( const Aws::String value)
inline

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

Definition at line 370 of file HostReservation.h.

◆ SetOfferingId() [3/3]

void Aws::EC2::Model::HostReservation::SetOfferingId ( const char *  value)
inline

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

Definition at line 382 of file HostReservation.h.

◆ SetPaymentOption() [1/2]

void Aws::EC2::Model::HostReservation::SetPaymentOption ( const PaymentOption value)
inline

The payment option selected for this reservation.

Definition at line 416 of file HostReservation.h.

◆ SetPaymentOption() [2/2]

void Aws::EC2::Model::HostReservation::SetPaymentOption ( PaymentOption &&  value)
inline

The payment option selected for this reservation.

Definition at line 421 of file HostReservation.h.

◆ SetStart() [1/2]

void Aws::EC2::Model::HostReservation::SetStart ( Aws::Utils::DateTime &&  value)
inline

The date and time that the reservation started.

Definition at line 452 of file HostReservation.h.

◆ SetStart() [2/2]

void Aws::EC2::Model::HostReservation::SetStart ( const Aws::Utils::DateTime value)
inline

The date and time that the reservation started.

Definition at line 447 of file HostReservation.h.

◆ SetState() [1/2]

void Aws::EC2::Model::HostReservation::SetState ( const ReservationState value)
inline

The state of the reservation.

Definition at line 478 of file HostReservation.h.

◆ SetState() [2/2]

void Aws::EC2::Model::HostReservation::SetState ( ReservationState &&  value)
inline

The state of the reservation.

Definition at line 483 of file HostReservation.h.

◆ SetTags() [1/2]

void Aws::EC2::Model::HostReservation::SetTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the Dedicated Host Reservation.

Definition at line 555 of file HostReservation.h.

◆ SetTags() [2/2]

void Aws::EC2::Model::HostReservation::SetTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the Dedicated Host Reservation.

Definition at line 550 of file HostReservation.h.

◆ SetUpfrontPrice() [1/3]

void Aws::EC2::Model::HostReservation::SetUpfrontPrice ( Aws::String &&  value)
inline

The upfront price of the reservation.

Definition at line 514 of file HostReservation.h.

◆ SetUpfrontPrice() [2/3]

void Aws::EC2::Model::HostReservation::SetUpfrontPrice ( const Aws::String value)
inline

The upfront price of the reservation.

Definition at line 509 of file HostReservation.h.

◆ SetUpfrontPrice() [3/3]

void Aws::EC2::Model::HostReservation::SetUpfrontPrice ( const char *  value)
inline

The upfront price of the reservation.

Definition at line 519 of file HostReservation.h.

◆ StartHasBeenSet()

bool Aws::EC2::Model::HostReservation::StartHasBeenSet ( ) const
inline

The date and time that the reservation started.

Definition at line 442 of file HostReservation.h.

◆ StateHasBeenSet()

bool Aws::EC2::Model::HostReservation::StateHasBeenSet ( ) const
inline

The state of the reservation.

Definition at line 473 of file HostReservation.h.

◆ TagsHasBeenSet()

bool Aws::EC2::Model::HostReservation::TagsHasBeenSet ( ) const
inline

Any tags assigned to the Dedicated Host Reservation.

Definition at line 545 of file HostReservation.h.

◆ UpfrontPriceHasBeenSet()

bool Aws::EC2::Model::HostReservation::UpfrontPriceHasBeenSet ( ) const
inline

The upfront price of the reservation.

Definition at line 504 of file HostReservation.h.

◆ WithCount()

HostReservation& Aws::EC2::Model::HostReservation::WithCount ( int  value)
inline

The number of Dedicated Hosts the reservation is associated with.

Definition at line 67 of file HostReservation.h.

◆ WithCurrencyCode() [1/2]

HostReservation& Aws::EC2::Model::HostReservation::WithCurrencyCode ( const CurrencyCodeValues value)
inline

The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 103 of file HostReservation.h.

◆ WithCurrencyCode() [2/2]

HostReservation& Aws::EC2::Model::HostReservation::WithCurrencyCode ( CurrencyCodeValues &&  value)
inline

The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 110 of file HostReservation.h.

◆ WithDuration()

HostReservation& Aws::EC2::Model::HostReservation::WithDuration ( int  value)
inline

The length of the reservation's term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).

Definition at line 135 of file HostReservation.h.

◆ WithEnd() [1/2]

HostReservation& Aws::EC2::Model::HostReservation::WithEnd ( Aws::Utils::DateTime &&  value)
inline

The date and time that the reservation ends.

Definition at line 166 of file HostReservation.h.

◆ WithEnd() [2/2]

HostReservation& Aws::EC2::Model::HostReservation::WithEnd ( const Aws::Utils::DateTime value)
inline

The date and time that the reservation ends.

Definition at line 161 of file HostReservation.h.

◆ WithHostIdSet() [1/2]

HostReservation& Aws::EC2::Model::HostReservation::WithHostIdSet ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the Dedicated Hosts associated with the reservation.

Definition at line 197 of file HostReservation.h.

◆ WithHostIdSet() [2/2]

HostReservation& Aws::EC2::Model::HostReservation::WithHostIdSet ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the Dedicated Hosts associated with the reservation.

Definition at line 192 of file HostReservation.h.

◆ WithHostReservationId() [1/3]

HostReservation& Aws::EC2::Model::HostReservation::WithHostReservationId ( Aws::String &&  value)
inline

The ID of the reservation that specifies the associated Dedicated Hosts.

Definition at line 248 of file HostReservation.h.

◆ WithHostReservationId() [2/3]

HostReservation& Aws::EC2::Model::HostReservation::WithHostReservationId ( const Aws::String value)
inline

The ID of the reservation that specifies the associated Dedicated Hosts.

Definition at line 243 of file HostReservation.h.

◆ WithHostReservationId() [3/3]

HostReservation& Aws::EC2::Model::HostReservation::WithHostReservationId ( const char *  value)
inline

The ID of the reservation that specifies the associated Dedicated Hosts.

Definition at line 253 of file HostReservation.h.

◆ WithHourlyPrice() [1/3]

HostReservation& Aws::EC2::Model::HostReservation::WithHourlyPrice ( Aws::String &&  value)
inline

The hourly price of the reservation.

Definition at line 289 of file HostReservation.h.

◆ WithHourlyPrice() [2/3]

HostReservation& Aws::EC2::Model::HostReservation::WithHourlyPrice ( const Aws::String value)
inline

The hourly price of the reservation.

Definition at line 284 of file HostReservation.h.

◆ WithHourlyPrice() [3/3]

HostReservation& Aws::EC2::Model::HostReservation::WithHourlyPrice ( const char *  value)
inline

The hourly price of the reservation.

Definition at line 294 of file HostReservation.h.

◆ WithInstanceFamily() [1/3]

HostReservation& Aws::EC2::Model::HostReservation::WithInstanceFamily ( Aws::String &&  value)
inline

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

Definition at line 344 of file HostReservation.h.

◆ WithInstanceFamily() [2/3]

HostReservation& Aws::EC2::Model::HostReservation::WithInstanceFamily ( const Aws::String value)
inline

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

Definition at line 337 of file HostReservation.h.

◆ WithInstanceFamily() [3/3]

HostReservation& Aws::EC2::Model::HostReservation::WithInstanceFamily ( const char *  value)
inline

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

Definition at line 351 of file HostReservation.h.

◆ WithOfferingId() [1/3]

HostReservation& Aws::EC2::Model::HostReservation::WithOfferingId ( Aws::String &&  value)
inline

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

Definition at line 394 of file HostReservation.h.

◆ WithOfferingId() [2/3]

HostReservation& Aws::EC2::Model::HostReservation::WithOfferingId ( const Aws::String value)
inline

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

Definition at line 388 of file HostReservation.h.

◆ WithOfferingId() [3/3]

HostReservation& Aws::EC2::Model::HostReservation::WithOfferingId ( const char *  value)
inline

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

Definition at line 400 of file HostReservation.h.

◆ WithPaymentOption() [1/2]

HostReservation& Aws::EC2::Model::HostReservation::WithPaymentOption ( const PaymentOption value)
inline

The payment option selected for this reservation.

Definition at line 426 of file HostReservation.h.

◆ WithPaymentOption() [2/2]

HostReservation& Aws::EC2::Model::HostReservation::WithPaymentOption ( PaymentOption &&  value)
inline

The payment option selected for this reservation.

Definition at line 431 of file HostReservation.h.

◆ WithStart() [1/2]

HostReservation& Aws::EC2::Model::HostReservation::WithStart ( Aws::Utils::DateTime &&  value)
inline

The date and time that the reservation started.

Definition at line 462 of file HostReservation.h.

◆ WithStart() [2/2]

HostReservation& Aws::EC2::Model::HostReservation::WithStart ( const Aws::Utils::DateTime value)
inline

The date and time that the reservation started.

Definition at line 457 of file HostReservation.h.

◆ WithState() [1/2]

HostReservation& Aws::EC2::Model::HostReservation::WithState ( const ReservationState value)
inline

The state of the reservation.

Definition at line 488 of file HostReservation.h.

◆ WithState() [2/2]

HostReservation& Aws::EC2::Model::HostReservation::WithState ( ReservationState &&  value)
inline

The state of the reservation.

Definition at line 493 of file HostReservation.h.

◆ WithTags() [1/2]

HostReservation& Aws::EC2::Model::HostReservation::WithTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the Dedicated Host Reservation.

Definition at line 565 of file HostReservation.h.

◆ WithTags() [2/2]

HostReservation& Aws::EC2::Model::HostReservation::WithTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the Dedicated Host Reservation.

Definition at line 560 of file HostReservation.h.

◆ WithUpfrontPrice() [1/3]

HostReservation& Aws::EC2::Model::HostReservation::WithUpfrontPrice ( Aws::String &&  value)
inline

The upfront price of the reservation.

Definition at line 529 of file HostReservation.h.

◆ WithUpfrontPrice() [2/3]

HostReservation& Aws::EC2::Model::HostReservation::WithUpfrontPrice ( const Aws::String value)
inline

The upfront price of the reservation.

Definition at line 524 of file HostReservation.h.

◆ WithUpfrontPrice() [3/3]

HostReservation& Aws::EC2::Model::HostReservation::WithUpfrontPrice ( const char *  value)
inline

The upfront price of the reservation.

Definition at line 534 of file HostReservation.h.


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