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

#include <ReservedInstances.h>

Public Member Functions

 ReservedInstances ()
 
 ReservedInstances (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ReservedInstancesoperator= (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::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
ReservedInstancesWithAvailabilityZone (const Aws::String &value)
 
ReservedInstancesWithAvailabilityZone (Aws::String &&value)
 
ReservedInstancesWithAvailabilityZone (const char *value)
 
long long GetDuration () const
 
bool DurationHasBeenSet () const
 
void SetDuration (long long value)
 
ReservedInstancesWithDuration (long long value)
 
const Aws::Utils::DateTimeGetEnd () const
 
bool EndHasBeenSet () const
 
void SetEnd (const Aws::Utils::DateTime &value)
 
void SetEnd (Aws::Utils::DateTime &&value)
 
ReservedInstancesWithEnd (const Aws::Utils::DateTime &value)
 
ReservedInstancesWithEnd (Aws::Utils::DateTime &&value)
 
double GetFixedPrice () const
 
bool FixedPriceHasBeenSet () const
 
void SetFixedPrice (double value)
 
ReservedInstancesWithFixedPrice (double value)
 
int GetInstanceCount () const
 
bool InstanceCountHasBeenSet () const
 
void SetInstanceCount (int value)
 
ReservedInstancesWithInstanceCount (int value)
 
const InstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const InstanceType &value)
 
void SetInstanceType (InstanceType &&value)
 
ReservedInstancesWithInstanceType (const InstanceType &value)
 
ReservedInstancesWithInstanceType (InstanceType &&value)
 
const RIProductDescriptionGetProductDescription () const
 
bool ProductDescriptionHasBeenSet () const
 
void SetProductDescription (const RIProductDescription &value)
 
void SetProductDescription (RIProductDescription &&value)
 
ReservedInstancesWithProductDescription (const RIProductDescription &value)
 
ReservedInstancesWithProductDescription (RIProductDescription &&value)
 
const Aws::StringGetReservedInstancesId () const
 
bool ReservedInstancesIdHasBeenSet () const
 
void SetReservedInstancesId (const Aws::String &value)
 
void SetReservedInstancesId (Aws::String &&value)
 
void SetReservedInstancesId (const char *value)
 
ReservedInstancesWithReservedInstancesId (const Aws::String &value)
 
ReservedInstancesWithReservedInstancesId (Aws::String &&value)
 
ReservedInstancesWithReservedInstancesId (const char *value)
 
const Aws::Utils::DateTimeGetStart () const
 
bool StartHasBeenSet () const
 
void SetStart (const Aws::Utils::DateTime &value)
 
void SetStart (Aws::Utils::DateTime &&value)
 
ReservedInstancesWithStart (const Aws::Utils::DateTime &value)
 
ReservedInstancesWithStart (Aws::Utils::DateTime &&value)
 
const ReservedInstanceStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const ReservedInstanceState &value)
 
void SetState (ReservedInstanceState &&value)
 
ReservedInstancesWithState (const ReservedInstanceState &value)
 
ReservedInstancesWithState (ReservedInstanceState &&value)
 
double GetUsagePrice () const
 
bool UsagePriceHasBeenSet () const
 
void SetUsagePrice (double value)
 
ReservedInstancesWithUsagePrice (double value)
 
const CurrencyCodeValuesGetCurrencyCode () const
 
bool CurrencyCodeHasBeenSet () const
 
void SetCurrencyCode (const CurrencyCodeValues &value)
 
void SetCurrencyCode (CurrencyCodeValues &&value)
 
ReservedInstancesWithCurrencyCode (const CurrencyCodeValues &value)
 
ReservedInstancesWithCurrencyCode (CurrencyCodeValues &&value)
 
const TenancyGetInstanceTenancy () const
 
bool InstanceTenancyHasBeenSet () const
 
void SetInstanceTenancy (const Tenancy &value)
 
void SetInstanceTenancy (Tenancy &&value)
 
ReservedInstancesWithInstanceTenancy (const Tenancy &value)
 
ReservedInstancesWithInstanceTenancy (Tenancy &&value)
 
const OfferingClassTypeGetOfferingClass () const
 
bool OfferingClassHasBeenSet () const
 
void SetOfferingClass (const OfferingClassType &value)
 
void SetOfferingClass (OfferingClassType &&value)
 
ReservedInstancesWithOfferingClass (const OfferingClassType &value)
 
ReservedInstancesWithOfferingClass (OfferingClassType &&value)
 
const OfferingTypeValuesGetOfferingType () const
 
bool OfferingTypeHasBeenSet () const
 
void SetOfferingType (const OfferingTypeValues &value)
 
void SetOfferingType (OfferingTypeValues &&value)
 
ReservedInstancesWithOfferingType (const OfferingTypeValues &value)
 
ReservedInstancesWithOfferingType (OfferingTypeValues &&value)
 
const Aws::Vector< RecurringCharge > & GetRecurringCharges () const
 
bool RecurringChargesHasBeenSet () const
 
void SetRecurringCharges (const Aws::Vector< RecurringCharge > &value)
 
void SetRecurringCharges (Aws::Vector< RecurringCharge > &&value)
 
ReservedInstancesWithRecurringCharges (const Aws::Vector< RecurringCharge > &value)
 
ReservedInstancesWithRecurringCharges (Aws::Vector< RecurringCharge > &&value)
 
ReservedInstancesAddRecurringCharges (const RecurringCharge &value)
 
ReservedInstancesAddRecurringCharges (RecurringCharge &&value)
 
const ScopeGetScope () const
 
bool ScopeHasBeenSet () const
 
void SetScope (const Scope &value)
 
void SetScope (Scope &&value)
 
ReservedInstancesWithScope (const Scope &value)
 
ReservedInstancesWithScope (Scope &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
ReservedInstancesWithTags (const Aws::Vector< Tag > &value)
 
ReservedInstancesWithTags (Aws::Vector< Tag > &&value)
 
ReservedInstancesAddTags (const Tag &value)
 
ReservedInstancesAddTags (Tag &&value)
 

Detailed Description

Describes a Reserved Instance.

See Also:

AWS API Reference

Definition at line 43 of file ReservedInstances.h.

Constructor & Destructor Documentation

◆ ReservedInstances() [1/2]

Aws::EC2::Model::ReservedInstances::ReservedInstances ( )

◆ ReservedInstances() [2/2]

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

Member Function Documentation

◆ AddRecurringCharges() [1/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::AddRecurringCharges ( const RecurringCharge value)
inline

The recurring charge tag assigned to the resource.

Definition at line 544 of file ReservedInstances.h.

◆ AddRecurringCharges() [2/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::AddRecurringCharges ( RecurringCharge &&  value)
inline

The recurring charge tag assigned to the resource.

Definition at line 549 of file ReservedInstances.h.

◆ AddTags() [1/2]

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

Any tags assigned to the resource.

Definition at line 616 of file ReservedInstances.h.

◆ AddTags() [2/2]

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

Any tags assigned to the resource.

Definition at line 621 of file ReservedInstances.h.

◆ AvailabilityZoneHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone in which the Reserved Instance can be used.

Definition at line 62 of file ReservedInstances.h.

◆ CurrencyCodeHasBeenSet()

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

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Definition at line 387 of file ReservedInstances.h.

◆ DurationHasBeenSet()

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

The duration of the Reserved Instance, in seconds.

Definition at line 103 of file ReservedInstances.h.

◆ EndHasBeenSet()

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

The time when the Reserved Instance expires.

Definition at line 124 of file ReservedInstances.h.

◆ FixedPriceHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::FixedPriceHasBeenSet ( ) const
inline

The purchase price of the Reserved Instance.

Definition at line 155 of file ReservedInstances.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::EC2::Model::ReservedInstances::GetAvailabilityZone ( ) const
inline

The Availability Zone in which the Reserved Instance can be used.

Definition at line 57 of file ReservedInstances.h.

◆ GetCurrencyCode()

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

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Definition at line 380 of file ReservedInstances.h.

◆ GetDuration()

long long Aws::EC2::Model::ReservedInstances::GetDuration ( ) const
inline

The duration of the Reserved Instance, in seconds.

Definition at line 98 of file ReservedInstances.h.

◆ GetEnd()

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

The time when the Reserved Instance expires.

Definition at line 119 of file ReservedInstances.h.

◆ GetFixedPrice()

double Aws::EC2::Model::ReservedInstances::GetFixedPrice ( ) const
inline

The purchase price of the Reserved Instance.

Definition at line 150 of file ReservedInstances.h.

◆ GetInstanceCount()

int Aws::EC2::Model::ReservedInstances::GetInstanceCount ( ) const
inline

The number of reservations purchased.

Definition at line 171 of file ReservedInstances.h.

◆ GetInstanceTenancy()

const Tenancy& Aws::EC2::Model::ReservedInstances::GetInstanceTenancy ( ) const
inline

The tenancy of the instance.

Definition at line 421 of file ReservedInstances.h.

◆ GetInstanceType()

const InstanceType& Aws::EC2::Model::ReservedInstances::GetInstanceType ( ) const
inline

The instance type on which the Reserved Instance can be used.

Definition at line 192 of file ReservedInstances.h.

◆ GetOfferingClass()

const OfferingClassType& Aws::EC2::Model::ReservedInstances::GetOfferingClass ( ) const
inline

The offering class of the Reserved Instance.

Definition at line 452 of file ReservedInstances.h.

◆ GetOfferingType()

const OfferingTypeValues& Aws::EC2::Model::ReservedInstances::GetOfferingType ( ) const
inline

The Reserved Instance offering type.

Definition at line 483 of file ReservedInstances.h.

◆ GetProductDescription()

const RIProductDescription& Aws::EC2::Model::ReservedInstances::GetProductDescription ( ) const
inline

The Reserved Instance product platform description.

Definition at line 223 of file ReservedInstances.h.

◆ GetRecurringCharges()

const Aws::Vector<RecurringCharge>& Aws::EC2::Model::ReservedInstances::GetRecurringCharges ( ) const
inline

The recurring charge tag assigned to the resource.

Definition at line 514 of file ReservedInstances.h.

◆ GetReservedInstancesId()

const Aws::String& Aws::EC2::Model::ReservedInstances::GetReservedInstancesId ( ) const
inline

The ID of the Reserved Instance.

Definition at line 254 of file ReservedInstances.h.

◆ GetScope()

const Scope& Aws::EC2::Model::ReservedInstances::GetScope ( ) const
inline

The scope of the Reserved Instance.

Definition at line 555 of file ReservedInstances.h.

◆ GetStart()

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

The date and time the Reserved Instance started.

Definition at line 295 of file ReservedInstances.h.

◆ GetState()

const ReservedInstanceState& Aws::EC2::Model::ReservedInstances::GetState ( ) const
inline

The state of the Reserved Instance purchase.

Definition at line 326 of file ReservedInstances.h.

◆ GetTags()

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

Any tags assigned to the resource.

Definition at line 586 of file ReservedInstances.h.

◆ GetUsagePrice()

double Aws::EC2::Model::ReservedInstances::GetUsagePrice ( ) const
inline

The usage price of the Reserved Instance, per hour.

Definition at line 357 of file ReservedInstances.h.

◆ InstanceCountHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::InstanceCountHasBeenSet ( ) const
inline

The number of reservations purchased.

Definition at line 176 of file ReservedInstances.h.

◆ InstanceTenancyHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::InstanceTenancyHasBeenSet ( ) const
inline

The tenancy of the instance.

Definition at line 426 of file ReservedInstances.h.

◆ InstanceTypeHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::InstanceTypeHasBeenSet ( ) const
inline

The instance type on which the Reserved Instance can be used.

Definition at line 197 of file ReservedInstances.h.

◆ OfferingClassHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::OfferingClassHasBeenSet ( ) const
inline

The offering class of the Reserved Instance.

Definition at line 457 of file ReservedInstances.h.

◆ OfferingTypeHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::OfferingTypeHasBeenSet ( ) const
inline

The Reserved Instance offering type.

Definition at line 488 of file ReservedInstances.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ ProductDescriptionHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::ProductDescriptionHasBeenSet ( ) const
inline

The Reserved Instance product platform description.

Definition at line 228 of file ReservedInstances.h.

◆ RecurringChargesHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::RecurringChargesHasBeenSet ( ) const
inline

The recurring charge tag assigned to the resource.

Definition at line 519 of file ReservedInstances.h.

◆ ReservedInstancesIdHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::ReservedInstancesIdHasBeenSet ( ) const
inline

The ID of the Reserved Instance.

Definition at line 259 of file ReservedInstances.h.

◆ ScopeHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::ScopeHasBeenSet ( ) const
inline

The scope of the Reserved Instance.

Definition at line 560 of file ReservedInstances.h.

◆ SetAvailabilityZone() [1/3]

void Aws::EC2::Model::ReservedInstances::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone in which the Reserved Instance can be used.

Definition at line 72 of file ReservedInstances.h.

◆ SetAvailabilityZone() [2/3]

void Aws::EC2::Model::ReservedInstances::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone in which the Reserved Instance can be used.

Definition at line 67 of file ReservedInstances.h.

◆ SetAvailabilityZone() [3/3]

void Aws::EC2::Model::ReservedInstances::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone in which the Reserved Instance can be used.

Definition at line 77 of file ReservedInstances.h.

◆ SetCurrencyCode() [1/2]

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

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Definition at line 394 of file ReservedInstances.h.

◆ SetCurrencyCode() [2/2]

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

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Definition at line 401 of file ReservedInstances.h.

◆ SetDuration()

void Aws::EC2::Model::ReservedInstances::SetDuration ( long long  value)
inline

The duration of the Reserved Instance, in seconds.

Definition at line 108 of file ReservedInstances.h.

◆ SetEnd() [1/2]

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

The time when the Reserved Instance expires.

Definition at line 134 of file ReservedInstances.h.

◆ SetEnd() [2/2]

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

The time when the Reserved Instance expires.

Definition at line 129 of file ReservedInstances.h.

◆ SetFixedPrice()

void Aws::EC2::Model::ReservedInstances::SetFixedPrice ( double  value)
inline

The purchase price of the Reserved Instance.

Definition at line 160 of file ReservedInstances.h.

◆ SetInstanceCount()

void Aws::EC2::Model::ReservedInstances::SetInstanceCount ( int  value)
inline

The number of reservations purchased.

Definition at line 181 of file ReservedInstances.h.

◆ SetInstanceTenancy() [1/2]

void Aws::EC2::Model::ReservedInstances::SetInstanceTenancy ( const Tenancy value)
inline

The tenancy of the instance.

Definition at line 431 of file ReservedInstances.h.

◆ SetInstanceTenancy() [2/2]

void Aws::EC2::Model::ReservedInstances::SetInstanceTenancy ( Tenancy &&  value)
inline

The tenancy of the instance.

Definition at line 436 of file ReservedInstances.h.

◆ SetInstanceType() [1/2]

void Aws::EC2::Model::ReservedInstances::SetInstanceType ( const InstanceType value)
inline

The instance type on which the Reserved Instance can be used.

Definition at line 202 of file ReservedInstances.h.

◆ SetInstanceType() [2/2]

void Aws::EC2::Model::ReservedInstances::SetInstanceType ( InstanceType &&  value)
inline

The instance type on which the Reserved Instance can be used.

Definition at line 207 of file ReservedInstances.h.

◆ SetOfferingClass() [1/2]

void Aws::EC2::Model::ReservedInstances::SetOfferingClass ( const OfferingClassType value)
inline

The offering class of the Reserved Instance.

Definition at line 462 of file ReservedInstances.h.

◆ SetOfferingClass() [2/2]

void Aws::EC2::Model::ReservedInstances::SetOfferingClass ( OfferingClassType &&  value)
inline

The offering class of the Reserved Instance.

Definition at line 467 of file ReservedInstances.h.

◆ SetOfferingType() [1/2]

void Aws::EC2::Model::ReservedInstances::SetOfferingType ( const OfferingTypeValues value)
inline

The Reserved Instance offering type.

Definition at line 493 of file ReservedInstances.h.

◆ SetOfferingType() [2/2]

void Aws::EC2::Model::ReservedInstances::SetOfferingType ( OfferingTypeValues &&  value)
inline

The Reserved Instance offering type.

Definition at line 498 of file ReservedInstances.h.

◆ SetProductDescription() [1/2]

void Aws::EC2::Model::ReservedInstances::SetProductDescription ( const RIProductDescription value)
inline

The Reserved Instance product platform description.

Definition at line 233 of file ReservedInstances.h.

◆ SetProductDescription() [2/2]

void Aws::EC2::Model::ReservedInstances::SetProductDescription ( RIProductDescription &&  value)
inline

The Reserved Instance product platform description.

Definition at line 238 of file ReservedInstances.h.

◆ SetRecurringCharges() [1/2]

void Aws::EC2::Model::ReservedInstances::SetRecurringCharges ( Aws::Vector< RecurringCharge > &&  value)
inline

The recurring charge tag assigned to the resource.

Definition at line 529 of file ReservedInstances.h.

◆ SetRecurringCharges() [2/2]

void Aws::EC2::Model::ReservedInstances::SetRecurringCharges ( const Aws::Vector< RecurringCharge > &  value)
inline

The recurring charge tag assigned to the resource.

Definition at line 524 of file ReservedInstances.h.

◆ SetReservedInstancesId() [1/3]

void Aws::EC2::Model::ReservedInstances::SetReservedInstancesId ( Aws::String &&  value)
inline

The ID of the Reserved Instance.

Definition at line 269 of file ReservedInstances.h.

◆ SetReservedInstancesId() [2/3]

void Aws::EC2::Model::ReservedInstances::SetReservedInstancesId ( const Aws::String value)
inline

The ID of the Reserved Instance.

Definition at line 264 of file ReservedInstances.h.

◆ SetReservedInstancesId() [3/3]

void Aws::EC2::Model::ReservedInstances::SetReservedInstancesId ( const char *  value)
inline

The ID of the Reserved Instance.

Definition at line 274 of file ReservedInstances.h.

◆ SetScope() [1/2]

void Aws::EC2::Model::ReservedInstances::SetScope ( const Scope value)
inline

The scope of the Reserved Instance.

Definition at line 565 of file ReservedInstances.h.

◆ SetScope() [2/2]

void Aws::EC2::Model::ReservedInstances::SetScope ( Scope &&  value)
inline

The scope of the Reserved Instance.

Definition at line 570 of file ReservedInstances.h.

◆ SetStart() [1/2]

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

The date and time the Reserved Instance started.

Definition at line 310 of file ReservedInstances.h.

◆ SetStart() [2/2]

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

The date and time the Reserved Instance started.

Definition at line 305 of file ReservedInstances.h.

◆ SetState() [1/2]

void Aws::EC2::Model::ReservedInstances::SetState ( const ReservedInstanceState value)
inline

The state of the Reserved Instance purchase.

Definition at line 336 of file ReservedInstances.h.

◆ SetState() [2/2]

void Aws::EC2::Model::ReservedInstances::SetState ( ReservedInstanceState &&  value)
inline

The state of the Reserved Instance purchase.

Definition at line 341 of file ReservedInstances.h.

◆ SetTags() [1/2]

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

Any tags assigned to the resource.

Definition at line 601 of file ReservedInstances.h.

◆ SetTags() [2/2]

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

Any tags assigned to the resource.

Definition at line 596 of file ReservedInstances.h.

◆ SetUsagePrice()

void Aws::EC2::Model::ReservedInstances::SetUsagePrice ( double  value)
inline

The usage price of the Reserved Instance, per hour.

Definition at line 367 of file ReservedInstances.h.

◆ StartHasBeenSet()

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

The date and time the Reserved Instance started.

Definition at line 300 of file ReservedInstances.h.

◆ StateHasBeenSet()

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

The state of the Reserved Instance purchase.

Definition at line 331 of file ReservedInstances.h.

◆ TagsHasBeenSet()

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

Any tags assigned to the resource.

Definition at line 591 of file ReservedInstances.h.

◆ UsagePriceHasBeenSet()

bool Aws::EC2::Model::ReservedInstances::UsagePriceHasBeenSet ( ) const
inline

The usage price of the Reserved Instance, per hour.

Definition at line 362 of file ReservedInstances.h.

◆ WithAvailabilityZone() [1/3]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone in which the Reserved Instance can be used.

Definition at line 87 of file ReservedInstances.h.

◆ WithAvailabilityZone() [2/3]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone in which the Reserved Instance can be used.

Definition at line 82 of file ReservedInstances.h.

◆ WithAvailabilityZone() [3/3]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone in which the Reserved Instance can be used.

Definition at line 92 of file ReservedInstances.h.

◆ WithCurrencyCode() [1/2]

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

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Definition at line 408 of file ReservedInstances.h.

◆ WithCurrencyCode() [2/2]

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

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Definition at line 415 of file ReservedInstances.h.

◆ WithDuration()

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithDuration ( long long  value)
inline

The duration of the Reserved Instance, in seconds.

Definition at line 113 of file ReservedInstances.h.

◆ WithEnd() [1/2]

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

The time when the Reserved Instance expires.

Definition at line 144 of file ReservedInstances.h.

◆ WithEnd() [2/2]

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

The time when the Reserved Instance expires.

Definition at line 139 of file ReservedInstances.h.

◆ WithFixedPrice()

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithFixedPrice ( double  value)
inline

The purchase price of the Reserved Instance.

Definition at line 165 of file ReservedInstances.h.

◆ WithInstanceCount()

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithInstanceCount ( int  value)
inline

The number of reservations purchased.

Definition at line 186 of file ReservedInstances.h.

◆ WithInstanceTenancy() [1/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithInstanceTenancy ( const Tenancy value)
inline

The tenancy of the instance.

Definition at line 441 of file ReservedInstances.h.

◆ WithInstanceTenancy() [2/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithInstanceTenancy ( Tenancy &&  value)
inline

The tenancy of the instance.

Definition at line 446 of file ReservedInstances.h.

◆ WithInstanceType() [1/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithInstanceType ( const InstanceType value)
inline

The instance type on which the Reserved Instance can be used.

Definition at line 212 of file ReservedInstances.h.

◆ WithInstanceType() [2/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithInstanceType ( InstanceType &&  value)
inline

The instance type on which the Reserved Instance can be used.

Definition at line 217 of file ReservedInstances.h.

◆ WithOfferingClass() [1/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithOfferingClass ( const OfferingClassType value)
inline

The offering class of the Reserved Instance.

Definition at line 472 of file ReservedInstances.h.

◆ WithOfferingClass() [2/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithOfferingClass ( OfferingClassType &&  value)
inline

The offering class of the Reserved Instance.

Definition at line 477 of file ReservedInstances.h.

◆ WithOfferingType() [1/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithOfferingType ( const OfferingTypeValues value)
inline

The Reserved Instance offering type.

Definition at line 503 of file ReservedInstances.h.

◆ WithOfferingType() [2/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithOfferingType ( OfferingTypeValues &&  value)
inline

The Reserved Instance offering type.

Definition at line 508 of file ReservedInstances.h.

◆ WithProductDescription() [1/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithProductDescription ( const RIProductDescription value)
inline

The Reserved Instance product platform description.

Definition at line 243 of file ReservedInstances.h.

◆ WithProductDescription() [2/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithProductDescription ( RIProductDescription &&  value)
inline

The Reserved Instance product platform description.

Definition at line 248 of file ReservedInstances.h.

◆ WithRecurringCharges() [1/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithRecurringCharges ( Aws::Vector< RecurringCharge > &&  value)
inline

The recurring charge tag assigned to the resource.

Definition at line 539 of file ReservedInstances.h.

◆ WithRecurringCharges() [2/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithRecurringCharges ( const Aws::Vector< RecurringCharge > &  value)
inline

The recurring charge tag assigned to the resource.

Definition at line 534 of file ReservedInstances.h.

◆ WithReservedInstancesId() [1/3]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithReservedInstancesId ( Aws::String &&  value)
inline

The ID of the Reserved Instance.

Definition at line 284 of file ReservedInstances.h.

◆ WithReservedInstancesId() [2/3]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithReservedInstancesId ( const Aws::String value)
inline

The ID of the Reserved Instance.

Definition at line 279 of file ReservedInstances.h.

◆ WithReservedInstancesId() [3/3]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithReservedInstancesId ( const char *  value)
inline

The ID of the Reserved Instance.

Definition at line 289 of file ReservedInstances.h.

◆ WithScope() [1/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithScope ( const Scope value)
inline

The scope of the Reserved Instance.

Definition at line 575 of file ReservedInstances.h.

◆ WithScope() [2/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithScope ( Scope &&  value)
inline

The scope of the Reserved Instance.

Definition at line 580 of file ReservedInstances.h.

◆ WithStart() [1/2]

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

The date and time the Reserved Instance started.

Definition at line 320 of file ReservedInstances.h.

◆ WithStart() [2/2]

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

The date and time the Reserved Instance started.

Definition at line 315 of file ReservedInstances.h.

◆ WithState() [1/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithState ( const ReservedInstanceState value)
inline

The state of the Reserved Instance purchase.

Definition at line 346 of file ReservedInstances.h.

◆ WithState() [2/2]

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithState ( ReservedInstanceState &&  value)
inline

The state of the Reserved Instance purchase.

Definition at line 351 of file ReservedInstances.h.

◆ WithTags() [1/2]

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

Any tags assigned to the resource.

Definition at line 611 of file ReservedInstances.h.

◆ WithTags() [2/2]

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

Any tags assigned to the resource.

Definition at line 606 of file ReservedInstances.h.

◆ WithUsagePrice()

ReservedInstances& Aws::EC2::Model::ReservedInstances::WithUsagePrice ( double  value)
inline

The usage price of the Reserved Instance, per hour.

Definition at line 372 of file ReservedInstances.h.


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