AWS SDK for C++  1.9.68
AWS SDK for C++
ReservedInstancesOffering.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
13 #include <aws/ec2/model/Tenancy.h>
17 #include <aws/ec2/model/Scope.h>
20 #include <utility>
21 
22 namespace Aws
23 {
24 namespace Utils
25 {
26 namespace Xml
27 {
28  class XmlNode;
29 } // namespace Xml
30 } // namespace Utils
31 namespace EC2
32 {
33 namespace Model
34 {
35 
42  {
43  public:
47 
48  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49  void OutputToStream(Aws::OStream& oStream, const char* location) const;
50 
51 
55  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
56 
60  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
61 
65  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
66 
70  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
71 
75  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
76 
80  inline ReservedInstancesOffering& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
81 
85  inline ReservedInstancesOffering& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
86 
90  inline ReservedInstancesOffering& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
91 
92 
96  inline long long GetDuration() const{ return m_duration; }
97 
101  inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
102 
106  inline void SetDuration(long long value) { m_durationHasBeenSet = true; m_duration = value; }
107 
111  inline ReservedInstancesOffering& WithDuration(long long value) { SetDuration(value); return *this;}
112 
113 
117  inline double GetFixedPrice() const{ return m_fixedPrice; }
118 
122  inline bool FixedPriceHasBeenSet() const { return m_fixedPriceHasBeenSet; }
123 
127  inline void SetFixedPrice(double value) { m_fixedPriceHasBeenSet = true; m_fixedPrice = value; }
128 
132  inline ReservedInstancesOffering& WithFixedPrice(double value) { SetFixedPrice(value); return *this;}
133 
134 
138  inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
139 
143  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
144 
148  inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
149 
153  inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
154 
158  inline ReservedInstancesOffering& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
159 
163  inline ReservedInstancesOffering& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
164 
165 
169  inline const RIProductDescription& GetProductDescription() const{ return m_productDescription; }
170 
174  inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
175 
179  inline void SetProductDescription(const RIProductDescription& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
180 
184  inline void SetProductDescription(RIProductDescription&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::move(value); }
185 
189  inline ReservedInstancesOffering& WithProductDescription(const RIProductDescription& value) { SetProductDescription(value); return *this;}
190 
194  inline ReservedInstancesOffering& WithProductDescription(RIProductDescription&& value) { SetProductDescription(std::move(value)); return *this;}
195 
196 
202  inline const Aws::String& GetReservedInstancesOfferingId() const{ return m_reservedInstancesOfferingId; }
203 
209  inline bool ReservedInstancesOfferingIdHasBeenSet() const { return m_reservedInstancesOfferingIdHasBeenSet; }
210 
216  inline void SetReservedInstancesOfferingId(const Aws::String& value) { m_reservedInstancesOfferingIdHasBeenSet = true; m_reservedInstancesOfferingId = value; }
217 
223  inline void SetReservedInstancesOfferingId(Aws::String&& value) { m_reservedInstancesOfferingIdHasBeenSet = true; m_reservedInstancesOfferingId = std::move(value); }
224 
230  inline void SetReservedInstancesOfferingId(const char* value) { m_reservedInstancesOfferingIdHasBeenSet = true; m_reservedInstancesOfferingId.assign(value); }
231 
237  inline ReservedInstancesOffering& WithReservedInstancesOfferingId(const Aws::String& value) { SetReservedInstancesOfferingId(value); return *this;}
238 
244  inline ReservedInstancesOffering& WithReservedInstancesOfferingId(Aws::String&& value) { SetReservedInstancesOfferingId(std::move(value)); return *this;}
245 
251  inline ReservedInstancesOffering& WithReservedInstancesOfferingId(const char* value) { SetReservedInstancesOfferingId(value); return *this;}
252 
253 
257  inline double GetUsagePrice() const{ return m_usagePrice; }
258 
262  inline bool UsagePriceHasBeenSet() const { return m_usagePriceHasBeenSet; }
263 
267  inline void SetUsagePrice(double value) { m_usagePriceHasBeenSet = true; m_usagePrice = value; }
268 
272  inline ReservedInstancesOffering& WithUsagePrice(double value) { SetUsagePrice(value); return *this;}
273 
274 
280  inline const CurrencyCodeValues& GetCurrencyCode() const{ return m_currencyCode; }
281 
287  inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
288 
294  inline void SetCurrencyCode(const CurrencyCodeValues& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
295 
301  inline void SetCurrencyCode(CurrencyCodeValues&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
302 
308  inline ReservedInstancesOffering& WithCurrencyCode(const CurrencyCodeValues& value) { SetCurrencyCode(value); return *this;}
309 
315  inline ReservedInstancesOffering& WithCurrencyCode(CurrencyCodeValues&& value) { SetCurrencyCode(std::move(value)); return *this;}
316 
317 
321  inline const Tenancy& GetInstanceTenancy() const{ return m_instanceTenancy; }
322 
326  inline bool InstanceTenancyHasBeenSet() const { return m_instanceTenancyHasBeenSet; }
327 
331  inline void SetInstanceTenancy(const Tenancy& value) { m_instanceTenancyHasBeenSet = true; m_instanceTenancy = value; }
332 
336  inline void SetInstanceTenancy(Tenancy&& value) { m_instanceTenancyHasBeenSet = true; m_instanceTenancy = std::move(value); }
337 
341  inline ReservedInstancesOffering& WithInstanceTenancy(const Tenancy& value) { SetInstanceTenancy(value); return *this;}
342 
346  inline ReservedInstancesOffering& WithInstanceTenancy(Tenancy&& value) { SetInstanceTenancy(std::move(value)); return *this;}
347 
348 
354  inline bool GetMarketplace() const{ return m_marketplace; }
355 
361  inline bool MarketplaceHasBeenSet() const { return m_marketplaceHasBeenSet; }
362 
368  inline void SetMarketplace(bool value) { m_marketplaceHasBeenSet = true; m_marketplace = value; }
369 
375  inline ReservedInstancesOffering& WithMarketplace(bool value) { SetMarketplace(value); return *this;}
376 
377 
383  inline const OfferingClassType& GetOfferingClass() const{ return m_offeringClass; }
384 
390  inline bool OfferingClassHasBeenSet() const { return m_offeringClassHasBeenSet; }
391 
397  inline void SetOfferingClass(const OfferingClassType& value) { m_offeringClassHasBeenSet = true; m_offeringClass = value; }
398 
404  inline void SetOfferingClass(OfferingClassType&& value) { m_offeringClassHasBeenSet = true; m_offeringClass = std::move(value); }
405 
411  inline ReservedInstancesOffering& WithOfferingClass(const OfferingClassType& value) { SetOfferingClass(value); return *this;}
412 
418  inline ReservedInstancesOffering& WithOfferingClass(OfferingClassType&& value) { SetOfferingClass(std::move(value)); return *this;}
419 
420 
424  inline const OfferingTypeValues& GetOfferingType() const{ return m_offeringType; }
425 
429  inline bool OfferingTypeHasBeenSet() const { return m_offeringTypeHasBeenSet; }
430 
434  inline void SetOfferingType(const OfferingTypeValues& value) { m_offeringTypeHasBeenSet = true; m_offeringType = value; }
435 
439  inline void SetOfferingType(OfferingTypeValues&& value) { m_offeringTypeHasBeenSet = true; m_offeringType = std::move(value); }
440 
444  inline ReservedInstancesOffering& WithOfferingType(const OfferingTypeValues& value) { SetOfferingType(value); return *this;}
445 
449  inline ReservedInstancesOffering& WithOfferingType(OfferingTypeValues&& value) { SetOfferingType(std::move(value)); return *this;}
450 
451 
455  inline const Aws::Vector<PricingDetail>& GetPricingDetails() const{ return m_pricingDetails; }
456 
460  inline bool PricingDetailsHasBeenSet() const { return m_pricingDetailsHasBeenSet; }
461 
465  inline void SetPricingDetails(const Aws::Vector<PricingDetail>& value) { m_pricingDetailsHasBeenSet = true; m_pricingDetails = value; }
466 
470  inline void SetPricingDetails(Aws::Vector<PricingDetail>&& value) { m_pricingDetailsHasBeenSet = true; m_pricingDetails = std::move(value); }
471 
475  inline ReservedInstancesOffering& WithPricingDetails(const Aws::Vector<PricingDetail>& value) { SetPricingDetails(value); return *this;}
476 
480  inline ReservedInstancesOffering& WithPricingDetails(Aws::Vector<PricingDetail>&& value) { SetPricingDetails(std::move(value)); return *this;}
481 
485  inline ReservedInstancesOffering& AddPricingDetails(const PricingDetail& value) { m_pricingDetailsHasBeenSet = true; m_pricingDetails.push_back(value); return *this; }
486 
490  inline ReservedInstancesOffering& AddPricingDetails(PricingDetail&& value) { m_pricingDetailsHasBeenSet = true; m_pricingDetails.push_back(std::move(value)); return *this; }
491 
492 
496  inline const Aws::Vector<RecurringCharge>& GetRecurringCharges() const{ return m_recurringCharges; }
497 
501  inline bool RecurringChargesHasBeenSet() const { return m_recurringChargesHasBeenSet; }
502 
506  inline void SetRecurringCharges(const Aws::Vector<RecurringCharge>& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = value; }
507 
511  inline void SetRecurringCharges(Aws::Vector<RecurringCharge>&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = std::move(value); }
512 
516  inline ReservedInstancesOffering& WithRecurringCharges(const Aws::Vector<RecurringCharge>& value) { SetRecurringCharges(value); return *this;}
517 
521  inline ReservedInstancesOffering& WithRecurringCharges(Aws::Vector<RecurringCharge>&& value) { SetRecurringCharges(std::move(value)); return *this;}
522 
526  inline ReservedInstancesOffering& AddRecurringCharges(const RecurringCharge& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(value); return *this; }
527 
531  inline ReservedInstancesOffering& AddRecurringCharges(RecurringCharge&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(std::move(value)); return *this; }
532 
533 
538  inline const Scope& GetScope() const{ return m_scope; }
539 
544  inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
545 
550  inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
551 
556  inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
557 
562  inline ReservedInstancesOffering& WithScope(const Scope& value) { SetScope(value); return *this;}
563 
568  inline ReservedInstancesOffering& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
569 
570  private:
571 
572  Aws::String m_availabilityZone;
573  bool m_availabilityZoneHasBeenSet;
574 
575  long long m_duration;
576  bool m_durationHasBeenSet;
577 
578  double m_fixedPrice;
579  bool m_fixedPriceHasBeenSet;
580 
581  InstanceType m_instanceType;
582  bool m_instanceTypeHasBeenSet;
583 
584  RIProductDescription m_productDescription;
585  bool m_productDescriptionHasBeenSet;
586 
587  Aws::String m_reservedInstancesOfferingId;
588  bool m_reservedInstancesOfferingIdHasBeenSet;
589 
590  double m_usagePrice;
591  bool m_usagePriceHasBeenSet;
592 
593  CurrencyCodeValues m_currencyCode;
594  bool m_currencyCodeHasBeenSet;
595 
596  Tenancy m_instanceTenancy;
597  bool m_instanceTenancyHasBeenSet;
598 
599  bool m_marketplace;
600  bool m_marketplaceHasBeenSet;
601 
602  OfferingClassType m_offeringClass;
603  bool m_offeringClassHasBeenSet;
604 
605  OfferingTypeValues m_offeringType;
606  bool m_offeringTypeHasBeenSet;
607 
608  Aws::Vector<PricingDetail> m_pricingDetails;
609  bool m_pricingDetailsHasBeenSet;
610 
611  Aws::Vector<RecurringCharge> m_recurringCharges;
612  bool m_recurringChargesHasBeenSet;
613 
614  Scope m_scope;
615  bool m_scopeHasBeenSet;
616  };
617 
618 } // namespace Model
619 } // namespace EC2
620 } // namespace Aws
Aws::EC2::Model::ReservedInstancesOffering::SetReservedInstancesOfferingId
void SetReservedInstancesOfferingId(const char *value)
Definition: ReservedInstancesOffering.h:230
Aws::EC2::Model::ReservedInstancesOffering::InstanceTenancyHasBeenSet
bool InstanceTenancyHasBeenSet() const
Definition: ReservedInstancesOffering.h:326
Aws::EC2::Model::ReservedInstancesOffering::OfferingTypeHasBeenSet
bool OfferingTypeHasBeenSet() const
Definition: ReservedInstancesOffering.h:429
Aws::EC2::Model::ReservedInstancesOffering::WithRecurringCharges
ReservedInstancesOffering & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
Definition: ReservedInstancesOffering.h:516
Aws::EC2::Model::ReservedInstancesOffering::WithInstanceTenancy
ReservedInstancesOffering & WithInstanceTenancy(Tenancy &&value)
Definition: ReservedInstancesOffering.h:346
OfferingTypeValues.h
Aws::EC2::Model::ReservedInstancesOffering::SetUsagePrice
void SetUsagePrice(double value)
Definition: ReservedInstancesOffering.h:267
Aws::EC2::Model::ReservedInstancesOffering::WithReservedInstancesOfferingId
ReservedInstancesOffering & WithReservedInstancesOfferingId(Aws::String &&value)
Definition: ReservedInstancesOffering.h:244
Aws::EC2::Model::ReservedInstancesOffering::SetOfferingType
void SetOfferingType(const OfferingTypeValues &value)
Definition: ReservedInstancesOffering.h:434
Aws::EC2::Model::ReservedInstancesOffering::OfferingClassHasBeenSet
bool OfferingClassHasBeenSet() const
Definition: ReservedInstancesOffering.h:390
Aws::EC2::Model::ReservedInstancesOffering::AddRecurringCharges
ReservedInstancesOffering & AddRecurringCharges(RecurringCharge &&value)
Definition: ReservedInstancesOffering.h:531
Aws::EC2::Model::ReservedInstancesOffering::GetPricingDetails
const Aws::Vector< PricingDetail > & GetPricingDetails() const
Definition: ReservedInstancesOffering.h:455
Aws::EC2::Model::RecurringCharge
Definition: RecurringCharge.h:32
Aws::EC2::Model::ReservedInstancesOffering::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ReservedInstancesOffering::FixedPriceHasBeenSet
bool FixedPriceHasBeenSet() const
Definition: ReservedInstancesOffering.h:122
Aws::EC2::Model::ReservedInstancesOffering::WithReservedInstancesOfferingId
ReservedInstancesOffering & WithReservedInstancesOfferingId(const char *value)
Definition: ReservedInstancesOffering.h:251
Aws::EC2::Model::ReservedInstancesOffering::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: ReservedInstancesOffering.h:143
Aws::EC2::Model::ReservedInstancesOffering::GetUsagePrice
double GetUsagePrice() const
Definition: ReservedInstancesOffering.h:257
Aws::EC2::Model::ReservedInstancesOffering::WithInstanceType
ReservedInstancesOffering & WithInstanceType(InstanceType &&value)
Definition: ReservedInstancesOffering.h:163
Aws::EC2::Model::OfferingClassType
OfferingClassType
Definition: OfferingClassType.h:17
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ReservedInstancesOffering::WithDuration
ReservedInstancesOffering & WithDuration(long long value)
Definition: ReservedInstancesOffering.h:111
Aws::EC2::Model::ReservedInstancesOffering::GetFixedPrice
double GetFixedPrice() const
Definition: ReservedInstancesOffering.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::ReservedInstancesOffering::WithFixedPrice
ReservedInstancesOffering & WithFixedPrice(double value)
Definition: ReservedInstancesOffering.h:132
AWSStreamFwd.h
Aws::EC2::Model::ReservedInstancesOffering::GetMarketplace
bool GetMarketplace() const
Definition: ReservedInstancesOffering.h:354
CurrencyCodeValues.h
AWSVector.h
Aws::EC2::Model::ReservedInstancesOffering::WithProductDescription
ReservedInstancesOffering & WithProductDescription(const RIProductDescription &value)
Definition: ReservedInstancesOffering.h:189
Aws::EC2::Model::ReservedInstancesOffering::ProductDescriptionHasBeenSet
bool ProductDescriptionHasBeenSet() const
Definition: ReservedInstancesOffering.h:174
Aws::EC2::Model::ReservedInstancesOffering::PricingDetailsHasBeenSet
bool PricingDetailsHasBeenSet() const
Definition: ReservedInstancesOffering.h:460
Aws::EC2::Model::ReservedInstancesOffering::SetDuration
void SetDuration(long long value)
Definition: ReservedInstancesOffering.h:106
Aws::EC2::Model::ReservedInstancesOffering::ReservedInstancesOffering
ReservedInstancesOffering()
Aws::EC2::Model::ReservedInstancesOffering::WithUsagePrice
ReservedInstancesOffering & WithUsagePrice(double value)
Definition: ReservedInstancesOffering.h:272
Aws::EC2::Model::ReservedInstancesOffering::ReservedInstancesOffering
ReservedInstancesOffering(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ReservedInstancesOffering::SetRecurringCharges
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
Definition: ReservedInstancesOffering.h:511
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ReservedInstancesOffering::WithOfferingClass
ReservedInstancesOffering & WithOfferingClass(const OfferingClassType &value)
Definition: ReservedInstancesOffering.h:411
RecurringCharge.h
Aws::EC2::Model::ReservedInstancesOffering
Definition: ReservedInstancesOffering.h:42
Aws::EC2::Model::ReservedInstancesOffering::SetInstanceTenancy
void SetInstanceTenancy(const Tenancy &value)
Definition: ReservedInstancesOffering.h:331
Aws::EC2::Model::ReservedInstancesOffering::WithOfferingType
ReservedInstancesOffering & WithOfferingType(const OfferingTypeValues &value)
Definition: ReservedInstancesOffering.h:444
Aws::EC2::Model::ReservedInstancesOffering::UsagePriceHasBeenSet
bool UsagePriceHasBeenSet() const
Definition: ReservedInstancesOffering.h:262
Aws::EC2::Model::ReservedInstancesOffering::WithPricingDetails
ReservedInstancesOffering & WithPricingDetails(const Aws::Vector< PricingDetail > &value)
Definition: ReservedInstancesOffering.h:475
Aws::EC2::Model::ReservedInstancesOffering::SetCurrencyCode
void SetCurrencyCode(const CurrencyCodeValues &value)
Definition: ReservedInstancesOffering.h:294
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ReservedInstancesOffering::SetInstanceTenancy
void SetInstanceTenancy(Tenancy &&value)
Definition: ReservedInstancesOffering.h:336
Aws::EC2::Model::ReservedInstancesOffering::WithScope
ReservedInstancesOffering & WithScope(const Scope &value)
Definition: ReservedInstancesOffering.h:562
Aws::EC2::Model::ReservedInstancesOffering::SetOfferingType
void SetOfferingType(OfferingTypeValues &&value)
Definition: ReservedInstancesOffering.h:439
Aws::EC2::Model::Tenancy
Tenancy
Definition: Tenancy.h:17
Aws::EC2::Model::ReservedInstancesOffering::GetInstanceTenancy
const Tenancy & GetInstanceTenancy() const
Definition: ReservedInstancesOffering.h:321
Aws::EC2::Model::ReservedInstancesOffering::SetReservedInstancesOfferingId
void SetReservedInstancesOfferingId(Aws::String &&value)
Definition: ReservedInstancesOffering.h:223
Scope.h
Aws::EC2::Model::ReservedInstancesOffering::WithMarketplace
ReservedInstancesOffering & WithMarketplace(bool value)
Definition: ReservedInstancesOffering.h:375
Tenancy.h
Aws::EC2::Model::ReservedInstancesOffering::WithReservedInstancesOfferingId
ReservedInstancesOffering & WithReservedInstancesOfferingId(const Aws::String &value)
Definition: ReservedInstancesOffering.h:237
Aws::EC2::Model::ReservedInstancesOffering::CurrencyCodeHasBeenSet
bool CurrencyCodeHasBeenSet() const
Definition: ReservedInstancesOffering.h:287
Aws::EC2::Model::ReservedInstancesOffering::SetInstanceType
void SetInstanceType(const InstanceType &value)
Definition: ReservedInstancesOffering.h:148
Aws::EC2::Model::ReservedInstancesOffering::WithAvailabilityZone
ReservedInstancesOffering & WithAvailabilityZone(const Aws::String &value)
Definition: ReservedInstancesOffering.h:80
Aws::EC2::Model::ReservedInstancesOffering::GetRecurringCharges
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
Definition: ReservedInstancesOffering.h:496
Aws::EC2::Model::ReservedInstancesOffering::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: ReservedInstancesOffering.h:65
Aws::EC2::Model::ReservedInstancesOffering::RecurringChargesHasBeenSet
bool RecurringChargesHasBeenSet() const
Definition: ReservedInstancesOffering.h:501
Aws::EC2::Model::ReservedInstancesOffering::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: ReservedInstancesOffering.h:55
Aws::EC2::Model::ReservedInstancesOffering::GetOfferingType
const OfferingTypeValues & GetOfferingType() const
Definition: ReservedInstancesOffering.h:424
Aws::EC2::Model::ReservedInstancesOffering::SetScope
void SetScope(Scope &&value)
Definition: ReservedInstancesOffering.h:556
Aws::EC2::Model::ReservedInstancesOffering::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: ReservedInstancesOffering.h:70
Aws::EC2::Model::ReservedInstancesOffering::SetPricingDetails
void SetPricingDetails(const Aws::Vector< PricingDetail > &value)
Definition: ReservedInstancesOffering.h:465
AWSString.h
Aws::EC2::Model::PricingDetail
Definition: PricingDetail.h:30
Aws::EC2::Model::ReservedInstancesOffering::WithPricingDetails
ReservedInstancesOffering & WithPricingDetails(Aws::Vector< PricingDetail > &&value)
Definition: ReservedInstancesOffering.h:480
PricingDetail.h
Aws::EC2::Model::ReservedInstancesOffering::WithAvailabilityZone
ReservedInstancesOffering & WithAvailabilityZone(Aws::String &&value)
Definition: ReservedInstancesOffering.h:85
Aws::EC2::Model::ReservedInstancesOffering::SetProductDescription
void SetProductDescription(const RIProductDescription &value)
Definition: ReservedInstancesOffering.h:179
Aws::EC2::Model::ReservedInstancesOffering::WithOfferingClass
ReservedInstancesOffering & WithOfferingClass(OfferingClassType &&value)
Definition: ReservedInstancesOffering.h:418
Aws::EC2::Model::ReservedInstancesOffering::GetOfferingClass
const OfferingClassType & GetOfferingClass() const
Definition: ReservedInstancesOffering.h:383
Aws::EC2::Model::ReservedInstancesOffering::GetScope
const Scope & GetScope() const
Definition: ReservedInstancesOffering.h:538
Aws::EC2::Model::ReservedInstancesOffering::SetReservedInstancesOfferingId
void SetReservedInstancesOfferingId(const Aws::String &value)
Definition: ReservedInstancesOffering.h:216
Aws::EC2::Model::ReservedInstancesOffering::DurationHasBeenSet
bool DurationHasBeenSet() const
Definition: ReservedInstancesOffering.h:101
Aws::EC2::Model::ReservedInstancesOffering::GetDuration
long long GetDuration() const
Definition: ReservedInstancesOffering.h:96
Aws::EC2::Model::ReservedInstancesOffering::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: ReservedInstancesOffering.h:75
RIProductDescription.h
Aws::EC2::Model::ReservedInstancesOffering::WithInstanceType
ReservedInstancesOffering & WithInstanceType(const InstanceType &value)
Definition: ReservedInstancesOffering.h:158
InstanceType.h
Aws::EC2::Model::ReservedInstancesOffering::WithScope
ReservedInstancesOffering & WithScope(Scope &&value)
Definition: ReservedInstancesOffering.h:568
Aws::EC2::Model::ReservedInstancesOffering::WithProductDescription
ReservedInstancesOffering & WithProductDescription(RIProductDescription &&value)
Definition: ReservedInstancesOffering.h:194
Aws::EC2::Model::ReservedInstancesOffering::WithAvailabilityZone
ReservedInstancesOffering & WithAvailabilityZone(const char *value)
Definition: ReservedInstancesOffering.h:90
Aws::EC2::Model::ReservedInstancesOffering::WithInstanceTenancy
ReservedInstancesOffering & WithInstanceTenancy(const Tenancy &value)
Definition: ReservedInstancesOffering.h:341
Aws::EC2::Model::ReservedInstancesOffering::GetCurrencyCode
const CurrencyCodeValues & GetCurrencyCode() const
Definition: ReservedInstancesOffering.h:280
Aws::EC2::Model::ReservedInstancesOffering::GetReservedInstancesOfferingId
const Aws::String & GetReservedInstancesOfferingId() const
Definition: ReservedInstancesOffering.h:202
Aws::EC2::Model::ReservedInstancesOffering::AddPricingDetails
ReservedInstancesOffering & AddPricingDetails(PricingDetail &&value)
Definition: ReservedInstancesOffering.h:490
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ReservedInstancesOffering::ScopeHasBeenSet
bool ScopeHasBeenSet() const
Definition: ReservedInstancesOffering.h:544
Aws::EC2::Model::ReservedInstancesOffering::SetRecurringCharges
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
Definition: ReservedInstancesOffering.h:506
Aws::EC2::Model::ReservedInstancesOffering::SetCurrencyCode
void SetCurrencyCode(CurrencyCodeValues &&value)
Definition: ReservedInstancesOffering.h:301
OfferingClassType.h
Aws::EC2::Model::ReservedInstancesOffering::WithRecurringCharges
ReservedInstancesOffering & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
Definition: ReservedInstancesOffering.h:521
Aws::EC2::Model::ReservedInstancesOffering::SetOfferingClass
void SetOfferingClass(OfferingClassType &&value)
Definition: ReservedInstancesOffering.h:404
Aws::EC2::Model::ReservedInstancesOffering::operator=
ReservedInstancesOffering & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ReservedInstancesOffering::SetProductDescription
void SetProductDescription(RIProductDescription &&value)
Definition: ReservedInstancesOffering.h:184
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ReservedInstancesOffering::SetInstanceType
void SetInstanceType(InstanceType &&value)
Definition: ReservedInstancesOffering.h:153
Aws::EC2::Model::ReservedInstancesOffering::WithCurrencyCode
ReservedInstancesOffering & WithCurrencyCode(CurrencyCodeValues &&value)
Definition: ReservedInstancesOffering.h:315
Aws::EC2::Model::ReservedInstancesOffering::AddPricingDetails
ReservedInstancesOffering & AddPricingDetails(const PricingDetail &value)
Definition: ReservedInstancesOffering.h:485
Aws::EC2::Model::ReservedInstancesOffering::SetScope
void SetScope(const Scope &value)
Definition: ReservedInstancesOffering.h:550
Aws::EC2::Model::RIProductDescription
RIProductDescription
Definition: RIProductDescription.h:17
Aws::EC2::Model::ReservedInstancesOffering::SetPricingDetails
void SetPricingDetails(Aws::Vector< PricingDetail > &&value)
Definition: ReservedInstancesOffering.h:470
Aws::EC2::Model::ReservedInstancesOffering::WithOfferingType
ReservedInstancesOffering & WithOfferingType(OfferingTypeValues &&value)
Definition: ReservedInstancesOffering.h:449
Aws::EC2::Model::ReservedInstancesOffering::SetMarketplace
void SetMarketplace(bool value)
Definition: ReservedInstancesOffering.h:368
Aws::EC2::Model::ReservedInstancesOffering::SetFixedPrice
void SetFixedPrice(double value)
Definition: ReservedInstancesOffering.h:127
Aws::EC2::Model::ReservedInstancesOffering::ReservedInstancesOfferingIdHasBeenSet
bool ReservedInstancesOfferingIdHasBeenSet() const
Definition: ReservedInstancesOffering.h:209
Aws::EC2::Model::ReservedInstancesOffering::WithCurrencyCode
ReservedInstancesOffering & WithCurrencyCode(const CurrencyCodeValues &value)
Definition: ReservedInstancesOffering.h:308
Aws::EC2::Model::OfferingTypeValues
OfferingTypeValues
Definition: OfferingTypeValues.h:17
EC2_EXPORTS.h
Aws::EC2::Model::ReservedInstancesOffering::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::InstanceType
InstanceType
Definition: InstanceType.h:17
Aws::EC2::Model::ReservedInstancesOffering::AddRecurringCharges
ReservedInstancesOffering & AddRecurringCharges(const RecurringCharge &value)
Definition: ReservedInstancesOffering.h:526
Aws::EC2::Model::ReservedInstancesOffering::MarketplaceHasBeenSet
bool MarketplaceHasBeenSet() const
Definition: ReservedInstancesOffering.h:361
Aws::EC2::Model::CurrencyCodeValues
CurrencyCodeValues
Definition: CurrencyCodeValues.h:17
Aws::EC2::Model::Scope
Scope
Definition: Scope.h:17
Aws::EC2::Model::ReservedInstancesOffering::SetOfferingClass
void SetOfferingClass(const OfferingClassType &value)
Definition: ReservedInstancesOffering.h:397
Aws::EC2::Model::ReservedInstancesOffering::GetProductDescription
const RIProductDescription & GetProductDescription() const
Definition: ReservedInstancesOffering.h:169
Aws::EC2::Model::ReservedInstancesOffering::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: ReservedInstancesOffering.h:60
Aws::EC2::Model::ReservedInstancesOffering::GetInstanceType
const InstanceType & GetInstanceType() const
Definition: ReservedInstancesOffering.h:138