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

#include <ReservedInstancesOffering.h>

Public Member Functions

 ReservedInstancesOffering ()
 
 ReservedInstancesOffering (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ReservedInstancesOfferingoperator= (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)
 
ReservedInstancesOfferingWithAvailabilityZone (const Aws::String &value)
 
ReservedInstancesOfferingWithAvailabilityZone (Aws::String &&value)
 
ReservedInstancesOfferingWithAvailabilityZone (const char *value)
 
long long GetDuration () const
 
bool DurationHasBeenSet () const
 
void SetDuration (long long value)
 
ReservedInstancesOfferingWithDuration (long long value)
 
double GetFixedPrice () const
 
bool FixedPriceHasBeenSet () const
 
void SetFixedPrice (double value)
 
ReservedInstancesOfferingWithFixedPrice (double value)
 
const InstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const InstanceType &value)
 
void SetInstanceType (InstanceType &&value)
 
ReservedInstancesOfferingWithInstanceType (const InstanceType &value)
 
ReservedInstancesOfferingWithInstanceType (InstanceType &&value)
 
const RIProductDescriptionGetProductDescription () const
 
bool ProductDescriptionHasBeenSet () const
 
void SetProductDescription (const RIProductDescription &value)
 
void SetProductDescription (RIProductDescription &&value)
 
ReservedInstancesOfferingWithProductDescription (const RIProductDescription &value)
 
ReservedInstancesOfferingWithProductDescription (RIProductDescription &&value)
 
const Aws::StringGetReservedInstancesOfferingId () const
 
bool ReservedInstancesOfferingIdHasBeenSet () const
 
void SetReservedInstancesOfferingId (const Aws::String &value)
 
void SetReservedInstancesOfferingId (Aws::String &&value)
 
void SetReservedInstancesOfferingId (const char *value)
 
ReservedInstancesOfferingWithReservedInstancesOfferingId (const Aws::String &value)
 
ReservedInstancesOfferingWithReservedInstancesOfferingId (Aws::String &&value)
 
ReservedInstancesOfferingWithReservedInstancesOfferingId (const char *value)
 
double GetUsagePrice () const
 
bool UsagePriceHasBeenSet () const
 
void SetUsagePrice (double value)
 
ReservedInstancesOfferingWithUsagePrice (double value)
 
const CurrencyCodeValuesGetCurrencyCode () const
 
bool CurrencyCodeHasBeenSet () const
 
void SetCurrencyCode (const CurrencyCodeValues &value)
 
void SetCurrencyCode (CurrencyCodeValues &&value)
 
ReservedInstancesOfferingWithCurrencyCode (const CurrencyCodeValues &value)
 
ReservedInstancesOfferingWithCurrencyCode (CurrencyCodeValues &&value)
 
const TenancyGetInstanceTenancy () const
 
bool InstanceTenancyHasBeenSet () const
 
void SetInstanceTenancy (const Tenancy &value)
 
void SetInstanceTenancy (Tenancy &&value)
 
ReservedInstancesOfferingWithInstanceTenancy (const Tenancy &value)
 
ReservedInstancesOfferingWithInstanceTenancy (Tenancy &&value)
 
bool GetMarketplace () const
 
bool MarketplaceHasBeenSet () const
 
void SetMarketplace (bool value)
 
ReservedInstancesOfferingWithMarketplace (bool value)
 
const OfferingClassTypeGetOfferingClass () const
 
bool OfferingClassHasBeenSet () const
 
void SetOfferingClass (const OfferingClassType &value)
 
void SetOfferingClass (OfferingClassType &&value)
 
ReservedInstancesOfferingWithOfferingClass (const OfferingClassType &value)
 
ReservedInstancesOfferingWithOfferingClass (OfferingClassType &&value)
 
const OfferingTypeValuesGetOfferingType () const
 
bool OfferingTypeHasBeenSet () const
 
void SetOfferingType (const OfferingTypeValues &value)
 
void SetOfferingType (OfferingTypeValues &&value)
 
ReservedInstancesOfferingWithOfferingType (const OfferingTypeValues &value)
 
ReservedInstancesOfferingWithOfferingType (OfferingTypeValues &&value)
 
const Aws::Vector< PricingDetail > & GetPricingDetails () const
 
bool PricingDetailsHasBeenSet () const
 
void SetPricingDetails (const Aws::Vector< PricingDetail > &value)
 
void SetPricingDetails (Aws::Vector< PricingDetail > &&value)
 
ReservedInstancesOfferingWithPricingDetails (const Aws::Vector< PricingDetail > &value)
 
ReservedInstancesOfferingWithPricingDetails (Aws::Vector< PricingDetail > &&value)
 
ReservedInstancesOfferingAddPricingDetails (const PricingDetail &value)
 
ReservedInstancesOfferingAddPricingDetails (PricingDetail &&value)
 
const Aws::Vector< RecurringCharge > & GetRecurringCharges () const
 
bool RecurringChargesHasBeenSet () const
 
void SetRecurringCharges (const Aws::Vector< RecurringCharge > &value)
 
void SetRecurringCharges (Aws::Vector< RecurringCharge > &&value)
 
ReservedInstancesOfferingWithRecurringCharges (const Aws::Vector< RecurringCharge > &value)
 
ReservedInstancesOfferingWithRecurringCharges (Aws::Vector< RecurringCharge > &&value)
 
ReservedInstancesOfferingAddRecurringCharges (const RecurringCharge &value)
 
ReservedInstancesOfferingAddRecurringCharges (RecurringCharge &&value)
 
const ScopeGetScope () const
 
bool ScopeHasBeenSet () const
 
void SetScope (const Scope &value)
 
void SetScope (Scope &&value)
 
ReservedInstancesOfferingWithScope (const Scope &value)
 
ReservedInstancesOfferingWithScope (Scope &&value)
 

Detailed Description

Describes a Reserved Instance offering.

See Also:

AWS API Reference

Definition at line 41 of file ReservedInstancesOffering.h.

Constructor & Destructor Documentation

◆ ReservedInstancesOffering() [1/2]

Aws::EC2::Model::ReservedInstancesOffering::ReservedInstancesOffering ( )

◆ ReservedInstancesOffering() [2/2]

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

Member Function Documentation

◆ AddPricingDetails() [1/2]

ReservedInstancesOffering& Aws::EC2::Model::ReservedInstancesOffering::AddPricingDetails ( const PricingDetail value)
inline

The pricing details of the Reserved Instance offering.

Definition at line 485 of file ReservedInstancesOffering.h.

◆ AddPricingDetails() [2/2]

ReservedInstancesOffering& Aws::EC2::Model::ReservedInstancesOffering::AddPricingDetails ( PricingDetail &&  value)
inline

The pricing details of the Reserved Instance offering.

Definition at line 490 of file ReservedInstancesOffering.h.

◆ AddRecurringCharges() [1/2]

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

The recurring charge tag assigned to the resource.

Definition at line 526 of file ReservedInstancesOffering.h.

◆ AddRecurringCharges() [2/2]

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

The recurring charge tag assigned to the resource.

Definition at line 531 of file ReservedInstancesOffering.h.

◆ AvailabilityZoneHasBeenSet()

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

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

Definition at line 60 of file ReservedInstancesOffering.h.

◆ CurrencyCodeHasBeenSet()

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

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

Definition at line 287 of file ReservedInstancesOffering.h.

◆ DurationHasBeenSet()

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

The duration of the Reserved Instance, in seconds.

Definition at line 101 of file ReservedInstancesOffering.h.

◆ FixedPriceHasBeenSet()

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

The purchase price of the Reserved Instance.

Definition at line 122 of file ReservedInstancesOffering.h.

◆ GetAvailabilityZone()

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

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

Definition at line 55 of file ReservedInstancesOffering.h.

◆ GetCurrencyCode()

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

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

Definition at line 280 of file ReservedInstancesOffering.h.

◆ GetDuration()

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

The duration of the Reserved Instance, in seconds.

Definition at line 96 of file ReservedInstancesOffering.h.

◆ GetFixedPrice()

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

The purchase price of the Reserved Instance.

Definition at line 117 of file ReservedInstancesOffering.h.

◆ GetInstanceTenancy()

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

The tenancy of the instance.

Definition at line 321 of file ReservedInstancesOffering.h.

◆ GetInstanceType()

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

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

Definition at line 138 of file ReservedInstancesOffering.h.

◆ GetMarketplace()

bool Aws::EC2::Model::ReservedInstancesOffering::GetMarketplace ( ) const
inline

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. If it's a Reserved Instance Marketplace offering, this is true.

Definition at line 354 of file ReservedInstancesOffering.h.

◆ GetOfferingClass()

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

If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

Definition at line 383 of file ReservedInstancesOffering.h.

◆ GetOfferingType()

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

The Reserved Instance offering type.

Definition at line 424 of file ReservedInstancesOffering.h.

◆ GetPricingDetails()

const Aws::Vector<PricingDetail>& Aws::EC2::Model::ReservedInstancesOffering::GetPricingDetails ( ) const
inline

The pricing details of the Reserved Instance offering.

Definition at line 455 of file ReservedInstancesOffering.h.

◆ GetProductDescription()

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

The Reserved Instance product platform description.

Definition at line 169 of file ReservedInstancesOffering.h.

◆ GetRecurringCharges()

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

The recurring charge tag assigned to the resource.

Definition at line 496 of file ReservedInstancesOffering.h.

◆ GetReservedInstancesOfferingId()

const Aws::String& Aws::EC2::Model::ReservedInstancesOffering::GetReservedInstancesOfferingId ( ) const
inline

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Definition at line 202 of file ReservedInstancesOffering.h.

◆ GetScope()

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

Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

Definition at line 538 of file ReservedInstancesOffering.h.

◆ GetUsagePrice()

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

The usage price of the Reserved Instance, per hour.

Definition at line 257 of file ReservedInstancesOffering.h.

◆ InstanceTenancyHasBeenSet()

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

The tenancy of the instance.

Definition at line 326 of file ReservedInstancesOffering.h.

◆ InstanceTypeHasBeenSet()

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

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

Definition at line 143 of file ReservedInstancesOffering.h.

◆ MarketplaceHasBeenSet()

bool Aws::EC2::Model::ReservedInstancesOffering::MarketplaceHasBeenSet ( ) const
inline

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. If it's a Reserved Instance Marketplace offering, this is true.

Definition at line 361 of file ReservedInstancesOffering.h.

◆ OfferingClassHasBeenSet()

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

If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

Definition at line 390 of file ReservedInstancesOffering.h.

◆ OfferingTypeHasBeenSet()

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

The Reserved Instance offering type.

Definition at line 429 of file ReservedInstancesOffering.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PricingDetailsHasBeenSet()

bool Aws::EC2::Model::ReservedInstancesOffering::PricingDetailsHasBeenSet ( ) const
inline

The pricing details of the Reserved Instance offering.

Definition at line 460 of file ReservedInstancesOffering.h.

◆ ProductDescriptionHasBeenSet()

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

The Reserved Instance product platform description.

Definition at line 174 of file ReservedInstancesOffering.h.

◆ RecurringChargesHasBeenSet()

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

The recurring charge tag assigned to the resource.

Definition at line 501 of file ReservedInstancesOffering.h.

◆ ReservedInstancesOfferingIdHasBeenSet()

bool Aws::EC2::Model::ReservedInstancesOffering::ReservedInstancesOfferingIdHasBeenSet ( ) const
inline

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Definition at line 209 of file ReservedInstancesOffering.h.

◆ ScopeHasBeenSet()

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

Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

Definition at line 544 of file ReservedInstancesOffering.h.

◆ SetAvailabilityZone() [1/3]

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

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

Definition at line 70 of file ReservedInstancesOffering.h.

◆ SetAvailabilityZone() [2/3]

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

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

Definition at line 65 of file ReservedInstancesOffering.h.

◆ SetAvailabilityZone() [3/3]

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

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

Definition at line 75 of file ReservedInstancesOffering.h.

◆ SetCurrencyCode() [1/2]

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

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

Definition at line 294 of file ReservedInstancesOffering.h.

◆ SetCurrencyCode() [2/2]

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

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

Definition at line 301 of file ReservedInstancesOffering.h.

◆ SetDuration()

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

The duration of the Reserved Instance, in seconds.

Definition at line 106 of file ReservedInstancesOffering.h.

◆ SetFixedPrice()

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

The purchase price of the Reserved Instance.

Definition at line 127 of file ReservedInstancesOffering.h.

◆ SetInstanceTenancy() [1/2]

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

The tenancy of the instance.

Definition at line 331 of file ReservedInstancesOffering.h.

◆ SetInstanceTenancy() [2/2]

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

The tenancy of the instance.

Definition at line 336 of file ReservedInstancesOffering.h.

◆ SetInstanceType() [1/2]

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

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

Definition at line 148 of file ReservedInstancesOffering.h.

◆ SetInstanceType() [2/2]

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

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

Definition at line 153 of file ReservedInstancesOffering.h.

◆ SetMarketplace()

void Aws::EC2::Model::ReservedInstancesOffering::SetMarketplace ( bool  value)
inline

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. If it's a Reserved Instance Marketplace offering, this is true.

Definition at line 368 of file ReservedInstancesOffering.h.

◆ SetOfferingClass() [1/2]

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

If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

Definition at line 397 of file ReservedInstancesOffering.h.

◆ SetOfferingClass() [2/2]

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

If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

Definition at line 404 of file ReservedInstancesOffering.h.

◆ SetOfferingType() [1/2]

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

The Reserved Instance offering type.

Definition at line 434 of file ReservedInstancesOffering.h.

◆ SetOfferingType() [2/2]

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

The Reserved Instance offering type.

Definition at line 439 of file ReservedInstancesOffering.h.

◆ SetPricingDetails() [1/2]

void Aws::EC2::Model::ReservedInstancesOffering::SetPricingDetails ( Aws::Vector< PricingDetail > &&  value)
inline

The pricing details of the Reserved Instance offering.

Definition at line 470 of file ReservedInstancesOffering.h.

◆ SetPricingDetails() [2/2]

void Aws::EC2::Model::ReservedInstancesOffering::SetPricingDetails ( const Aws::Vector< PricingDetail > &  value)
inline

The pricing details of the Reserved Instance offering.

Definition at line 465 of file ReservedInstancesOffering.h.

◆ SetProductDescription() [1/2]

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

The Reserved Instance product platform description.

Definition at line 179 of file ReservedInstancesOffering.h.

◆ SetProductDescription() [2/2]

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

The Reserved Instance product platform description.

Definition at line 184 of file ReservedInstancesOffering.h.

◆ SetRecurringCharges() [1/2]

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

The recurring charge tag assigned to the resource.

Definition at line 511 of file ReservedInstancesOffering.h.

◆ SetRecurringCharges() [2/2]

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

The recurring charge tag assigned to the resource.

Definition at line 506 of file ReservedInstancesOffering.h.

◆ SetReservedInstancesOfferingId() [1/3]

void Aws::EC2::Model::ReservedInstancesOffering::SetReservedInstancesOfferingId ( Aws::String &&  value)
inline

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Definition at line 223 of file ReservedInstancesOffering.h.

◆ SetReservedInstancesOfferingId() [2/3]

void Aws::EC2::Model::ReservedInstancesOffering::SetReservedInstancesOfferingId ( const Aws::String value)
inline

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Definition at line 216 of file ReservedInstancesOffering.h.

◆ SetReservedInstancesOfferingId() [3/3]

void Aws::EC2::Model::ReservedInstancesOffering::SetReservedInstancesOfferingId ( const char *  value)
inline

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Definition at line 230 of file ReservedInstancesOffering.h.

◆ SetScope() [1/2]

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

Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

Definition at line 550 of file ReservedInstancesOffering.h.

◆ SetScope() [2/2]

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

Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

Definition at line 556 of file ReservedInstancesOffering.h.

◆ SetUsagePrice()

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

The usage price of the Reserved Instance, per hour.

Definition at line 267 of file ReservedInstancesOffering.h.

◆ UsagePriceHasBeenSet()

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

The usage price of the Reserved Instance, per hour.

Definition at line 262 of file ReservedInstancesOffering.h.

◆ WithAvailabilityZone() [1/3]

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

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

Definition at line 85 of file ReservedInstancesOffering.h.

◆ WithAvailabilityZone() [2/3]

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

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

Definition at line 80 of file ReservedInstancesOffering.h.

◆ WithAvailabilityZone() [3/3]

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

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

Definition at line 90 of file ReservedInstancesOffering.h.

◆ WithCurrencyCode() [1/2]

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

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

Definition at line 308 of file ReservedInstancesOffering.h.

◆ WithCurrencyCode() [2/2]

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

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

Definition at line 315 of file ReservedInstancesOffering.h.

◆ WithDuration()

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

The duration of the Reserved Instance, in seconds.

Definition at line 111 of file ReservedInstancesOffering.h.

◆ WithFixedPrice()

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

The purchase price of the Reserved Instance.

Definition at line 132 of file ReservedInstancesOffering.h.

◆ WithInstanceTenancy() [1/2]

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

The tenancy of the instance.

Definition at line 341 of file ReservedInstancesOffering.h.

◆ WithInstanceTenancy() [2/2]

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

The tenancy of the instance.

Definition at line 346 of file ReservedInstancesOffering.h.

◆ WithInstanceType() [1/2]

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

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

Definition at line 158 of file ReservedInstancesOffering.h.

◆ WithInstanceType() [2/2]

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

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

Definition at line 163 of file ReservedInstancesOffering.h.

◆ WithMarketplace()

ReservedInstancesOffering& Aws::EC2::Model::ReservedInstancesOffering::WithMarketplace ( bool  value)
inline

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. If it's a Reserved Instance Marketplace offering, this is true.

Definition at line 375 of file ReservedInstancesOffering.h.

◆ WithOfferingClass() [1/2]

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

If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

Definition at line 411 of file ReservedInstancesOffering.h.

◆ WithOfferingClass() [2/2]

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

If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

Definition at line 418 of file ReservedInstancesOffering.h.

◆ WithOfferingType() [1/2]

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

The Reserved Instance offering type.

Definition at line 444 of file ReservedInstancesOffering.h.

◆ WithOfferingType() [2/2]

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

The Reserved Instance offering type.

Definition at line 449 of file ReservedInstancesOffering.h.

◆ WithPricingDetails() [1/2]

ReservedInstancesOffering& Aws::EC2::Model::ReservedInstancesOffering::WithPricingDetails ( Aws::Vector< PricingDetail > &&  value)
inline

The pricing details of the Reserved Instance offering.

Definition at line 480 of file ReservedInstancesOffering.h.

◆ WithPricingDetails() [2/2]

ReservedInstancesOffering& Aws::EC2::Model::ReservedInstancesOffering::WithPricingDetails ( const Aws::Vector< PricingDetail > &  value)
inline

The pricing details of the Reserved Instance offering.

Definition at line 475 of file ReservedInstancesOffering.h.

◆ WithProductDescription() [1/2]

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

The Reserved Instance product platform description.

Definition at line 189 of file ReservedInstancesOffering.h.

◆ WithProductDescription() [2/2]

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

The Reserved Instance product platform description.

Definition at line 194 of file ReservedInstancesOffering.h.

◆ WithRecurringCharges() [1/2]

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

The recurring charge tag assigned to the resource.

Definition at line 521 of file ReservedInstancesOffering.h.

◆ WithRecurringCharges() [2/2]

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

The recurring charge tag assigned to the resource.

Definition at line 516 of file ReservedInstancesOffering.h.

◆ WithReservedInstancesOfferingId() [1/3]

ReservedInstancesOffering& Aws::EC2::Model::ReservedInstancesOffering::WithReservedInstancesOfferingId ( Aws::String &&  value)
inline

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Definition at line 244 of file ReservedInstancesOffering.h.

◆ WithReservedInstancesOfferingId() [2/3]

ReservedInstancesOffering& Aws::EC2::Model::ReservedInstancesOffering::WithReservedInstancesOfferingId ( const Aws::String value)
inline

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Definition at line 237 of file ReservedInstancesOffering.h.

◆ WithReservedInstancesOfferingId() [3/3]

ReservedInstancesOffering& Aws::EC2::Model::ReservedInstancesOffering::WithReservedInstancesOfferingId ( const char *  value)
inline

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Definition at line 251 of file ReservedInstancesOffering.h.

◆ WithScope() [1/2]

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

Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

Definition at line 562 of file ReservedInstancesOffering.h.

◆ WithScope() [2/2]

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

Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

Definition at line 568 of file ReservedInstancesOffering.h.

◆ WithUsagePrice()

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

The usage price of the Reserved Instance, per hour.

Definition at line 272 of file ReservedInstancesOffering.h.


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