AWS SDK for C++  1.9.132
AWS SDK for C++
ReservedInstances.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
15 #include <aws/ec2/model/Tenancy.h>
19 #include <aws/ec2/model/Scope.h>
21 #include <aws/ec2/model/Tag.h>
22 #include <utility>
23 
24 namespace Aws
25 {
26 namespace Utils
27 {
28 namespace Xml
29 {
30  class XmlNode;
31 } // namespace Xml
32 } // namespace Utils
33 namespace EC2
34 {
35 namespace Model
36 {
37 
44  {
45  public:
49 
50  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
51  void OutputToStream(Aws::OStream& oStream, const char* location) const;
52 
53 
57  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
58 
62  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
63 
67  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
68 
72  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
73 
77  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
78 
82  inline ReservedInstances& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
83 
87  inline ReservedInstances& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
88 
92  inline ReservedInstances& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
93 
94 
98  inline long long GetDuration() const{ return m_duration; }
99 
103  inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
104 
108  inline void SetDuration(long long value) { m_durationHasBeenSet = true; m_duration = value; }
109 
113  inline ReservedInstances& WithDuration(long long value) { SetDuration(value); return *this;}
114 
115 
119  inline const Aws::Utils::DateTime& GetEnd() const{ return m_end; }
120 
124  inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
125 
129  inline void SetEnd(const Aws::Utils::DateTime& value) { m_endHasBeenSet = true; m_end = value; }
130 
134  inline void SetEnd(Aws::Utils::DateTime&& value) { m_endHasBeenSet = true; m_end = std::move(value); }
135 
139  inline ReservedInstances& WithEnd(const Aws::Utils::DateTime& value) { SetEnd(value); return *this;}
140 
144  inline ReservedInstances& WithEnd(Aws::Utils::DateTime&& value) { SetEnd(std::move(value)); return *this;}
145 
146 
150  inline double GetFixedPrice() const{ return m_fixedPrice; }
151 
155  inline bool FixedPriceHasBeenSet() const { return m_fixedPriceHasBeenSet; }
156 
160  inline void SetFixedPrice(double value) { m_fixedPriceHasBeenSet = true; m_fixedPrice = value; }
161 
165  inline ReservedInstances& WithFixedPrice(double value) { SetFixedPrice(value); return *this;}
166 
167 
171  inline int GetInstanceCount() const{ return m_instanceCount; }
172 
176  inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
177 
181  inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
182 
186  inline ReservedInstances& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
187 
188 
192  inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
193 
197  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
198 
202  inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
203 
207  inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
208 
212  inline ReservedInstances& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
213 
217  inline ReservedInstances& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
218 
219 
223  inline const RIProductDescription& GetProductDescription() const{ return m_productDescription; }
224 
228  inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
229 
233  inline void SetProductDescription(const RIProductDescription& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
234 
238  inline void SetProductDescription(RIProductDescription&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::move(value); }
239 
243  inline ReservedInstances& WithProductDescription(const RIProductDescription& value) { SetProductDescription(value); return *this;}
244 
248  inline ReservedInstances& WithProductDescription(RIProductDescription&& value) { SetProductDescription(std::move(value)); return *this;}
249 
250 
254  inline const Aws::String& GetReservedInstancesId() const{ return m_reservedInstancesId; }
255 
259  inline bool ReservedInstancesIdHasBeenSet() const { return m_reservedInstancesIdHasBeenSet; }
260 
264  inline void SetReservedInstancesId(const Aws::String& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = value; }
265 
269  inline void SetReservedInstancesId(Aws::String&& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = std::move(value); }
270 
274  inline void SetReservedInstancesId(const char* value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId.assign(value); }
275 
279  inline ReservedInstances& WithReservedInstancesId(const Aws::String& value) { SetReservedInstancesId(value); return *this;}
280 
284  inline ReservedInstances& WithReservedInstancesId(Aws::String&& value) { SetReservedInstancesId(std::move(value)); return *this;}
285 
289  inline ReservedInstances& WithReservedInstancesId(const char* value) { SetReservedInstancesId(value); return *this;}
290 
291 
295  inline const Aws::Utils::DateTime& GetStart() const{ return m_start; }
296 
300  inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
301 
305  inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; }
306 
310  inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
311 
315  inline ReservedInstances& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;}
316 
320  inline ReservedInstances& WithStart(Aws::Utils::DateTime&& value) { SetStart(std::move(value)); return *this;}
321 
322 
326  inline const ReservedInstanceState& GetState() const{ return m_state; }
327 
331  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
332 
336  inline void SetState(const ReservedInstanceState& value) { m_stateHasBeenSet = true; m_state = value; }
337 
341  inline void SetState(ReservedInstanceState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
342 
346  inline ReservedInstances& WithState(const ReservedInstanceState& value) { SetState(value); return *this;}
347 
351  inline ReservedInstances& WithState(ReservedInstanceState&& value) { SetState(std::move(value)); return *this;}
352 
353 
357  inline double GetUsagePrice() const{ return m_usagePrice; }
358 
362  inline bool UsagePriceHasBeenSet() const { return m_usagePriceHasBeenSet; }
363 
367  inline void SetUsagePrice(double value) { m_usagePriceHasBeenSet = true; m_usagePrice = value; }
368 
372  inline ReservedInstances& WithUsagePrice(double value) { SetUsagePrice(value); return *this;}
373 
374 
380  inline const CurrencyCodeValues& GetCurrencyCode() const{ return m_currencyCode; }
381 
387  inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
388 
394  inline void SetCurrencyCode(const CurrencyCodeValues& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
395 
401  inline void SetCurrencyCode(CurrencyCodeValues&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
402 
408  inline ReservedInstances& WithCurrencyCode(const CurrencyCodeValues& value) { SetCurrencyCode(value); return *this;}
409 
415  inline ReservedInstances& WithCurrencyCode(CurrencyCodeValues&& value) { SetCurrencyCode(std::move(value)); return *this;}
416 
417 
421  inline const Tenancy& GetInstanceTenancy() const{ return m_instanceTenancy; }
422 
426  inline bool InstanceTenancyHasBeenSet() const { return m_instanceTenancyHasBeenSet; }
427 
431  inline void SetInstanceTenancy(const Tenancy& value) { m_instanceTenancyHasBeenSet = true; m_instanceTenancy = value; }
432 
436  inline void SetInstanceTenancy(Tenancy&& value) { m_instanceTenancyHasBeenSet = true; m_instanceTenancy = std::move(value); }
437 
441  inline ReservedInstances& WithInstanceTenancy(const Tenancy& value) { SetInstanceTenancy(value); return *this;}
442 
446  inline ReservedInstances& WithInstanceTenancy(Tenancy&& value) { SetInstanceTenancy(std::move(value)); return *this;}
447 
448 
452  inline const OfferingClassType& GetOfferingClass() const{ return m_offeringClass; }
453 
457  inline bool OfferingClassHasBeenSet() const { return m_offeringClassHasBeenSet; }
458 
462  inline void SetOfferingClass(const OfferingClassType& value) { m_offeringClassHasBeenSet = true; m_offeringClass = value; }
463 
467  inline void SetOfferingClass(OfferingClassType&& value) { m_offeringClassHasBeenSet = true; m_offeringClass = std::move(value); }
468 
472  inline ReservedInstances& WithOfferingClass(const OfferingClassType& value) { SetOfferingClass(value); return *this;}
473 
477  inline ReservedInstances& WithOfferingClass(OfferingClassType&& value) { SetOfferingClass(std::move(value)); return *this;}
478 
479 
483  inline const OfferingTypeValues& GetOfferingType() const{ return m_offeringType; }
484 
488  inline bool OfferingTypeHasBeenSet() const { return m_offeringTypeHasBeenSet; }
489 
493  inline void SetOfferingType(const OfferingTypeValues& value) { m_offeringTypeHasBeenSet = true; m_offeringType = value; }
494 
498  inline void SetOfferingType(OfferingTypeValues&& value) { m_offeringTypeHasBeenSet = true; m_offeringType = std::move(value); }
499 
503  inline ReservedInstances& WithOfferingType(const OfferingTypeValues& value) { SetOfferingType(value); return *this;}
504 
508  inline ReservedInstances& WithOfferingType(OfferingTypeValues&& value) { SetOfferingType(std::move(value)); return *this;}
509 
510 
514  inline const Aws::Vector<RecurringCharge>& GetRecurringCharges() const{ return m_recurringCharges; }
515 
519  inline bool RecurringChargesHasBeenSet() const { return m_recurringChargesHasBeenSet; }
520 
524  inline void SetRecurringCharges(const Aws::Vector<RecurringCharge>& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = value; }
525 
529  inline void SetRecurringCharges(Aws::Vector<RecurringCharge>&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = std::move(value); }
530 
534  inline ReservedInstances& WithRecurringCharges(const Aws::Vector<RecurringCharge>& value) { SetRecurringCharges(value); return *this;}
535 
539  inline ReservedInstances& WithRecurringCharges(Aws::Vector<RecurringCharge>&& value) { SetRecurringCharges(std::move(value)); return *this;}
540 
544  inline ReservedInstances& AddRecurringCharges(const RecurringCharge& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(value); return *this; }
545 
549  inline ReservedInstances& AddRecurringCharges(RecurringCharge&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(std::move(value)); return *this; }
550 
551 
555  inline const Scope& GetScope() const{ return m_scope; }
556 
560  inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
561 
565  inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
566 
570  inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
571 
575  inline ReservedInstances& WithScope(const Scope& value) { SetScope(value); return *this;}
576 
580  inline ReservedInstances& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
581 
582 
586  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
587 
591  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
592 
596  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
597 
601  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
602 
606  inline ReservedInstances& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
607 
611  inline ReservedInstances& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
612 
616  inline ReservedInstances& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
617 
621  inline ReservedInstances& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
622 
623  private:
624 
625  Aws::String m_availabilityZone;
626  bool m_availabilityZoneHasBeenSet;
627 
628  long long m_duration;
629  bool m_durationHasBeenSet;
630 
631  Aws::Utils::DateTime m_end;
632  bool m_endHasBeenSet;
633 
634  double m_fixedPrice;
635  bool m_fixedPriceHasBeenSet;
636 
637  int m_instanceCount;
638  bool m_instanceCountHasBeenSet;
639 
640  InstanceType m_instanceType;
641  bool m_instanceTypeHasBeenSet;
642 
643  RIProductDescription m_productDescription;
644  bool m_productDescriptionHasBeenSet;
645 
646  Aws::String m_reservedInstancesId;
647  bool m_reservedInstancesIdHasBeenSet;
648 
649  Aws::Utils::DateTime m_start;
650  bool m_startHasBeenSet;
651 
652  ReservedInstanceState m_state;
653  bool m_stateHasBeenSet;
654 
655  double m_usagePrice;
656  bool m_usagePriceHasBeenSet;
657 
658  CurrencyCodeValues m_currencyCode;
659  bool m_currencyCodeHasBeenSet;
660 
661  Tenancy m_instanceTenancy;
662  bool m_instanceTenancyHasBeenSet;
663 
664  OfferingClassType m_offeringClass;
665  bool m_offeringClassHasBeenSet;
666 
667  OfferingTypeValues m_offeringType;
668  bool m_offeringTypeHasBeenSet;
669 
670  Aws::Vector<RecurringCharge> m_recurringCharges;
671  bool m_recurringChargesHasBeenSet;
672 
673  Scope m_scope;
674  bool m_scopeHasBeenSet;
675 
676  Aws::Vector<Tag> m_tags;
677  bool m_tagsHasBeenSet;
678  };
679 
680 } // namespace Model
681 } // namespace EC2
682 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::ReservedInstances::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: ReservedInstances.h:72
Aws::EC2::Model::ReservedInstances::WithEnd
ReservedInstances & WithEnd(Aws::Utils::DateTime &&value)
Definition: ReservedInstances.h:144
Aws::EC2::Model::ReservedInstances::WithRecurringCharges
ReservedInstances & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
Definition: ReservedInstances.h:539
Aws::EC2::Model::ReservedInstances::SetReservedInstancesId
void SetReservedInstancesId(const Aws::String &value)
Definition: ReservedInstances.h:264
Aws::EC2::Model::ReservedInstances::InstanceCountHasBeenSet
bool InstanceCountHasBeenSet() const
Definition: ReservedInstances.h:176
Aws::EC2::Model::ReservedInstances::SetInstanceCount
void SetInstanceCount(int value)
Definition: ReservedInstances.h:181
Aws::EC2::Model::ReservedInstances::GetEnd
const Aws::Utils::DateTime & GetEnd() const
Definition: ReservedInstances.h:119
Aws::EC2::Model::ReservedInstances::WithFixedPrice
ReservedInstances & WithFixedPrice(double value)
Definition: ReservedInstances.h:165
Aws::EC2::Model::ReservedInstances::SetStart
void SetStart(Aws::Utils::DateTime &&value)
Definition: ReservedInstances.h:310
Aws::EC2::Model::ReservedInstances::SetOfferingType
void SetOfferingType(const OfferingTypeValues &value)
Definition: ReservedInstances.h:493
Aws::EC2::Model::ReservedInstances::StateHasBeenSet
bool StateHasBeenSet() const
Definition: ReservedInstances.h:331
Aws::EC2::Model::ReservedInstances::SetProductDescription
void SetProductDescription(const RIProductDescription &value)
Definition: ReservedInstances.h:233
Aws::EC2::Model::ReservedInstances::WithOfferingClass
ReservedInstances & WithOfferingClass(const OfferingClassType &value)
Definition: ReservedInstances.h:472
OfferingTypeValues.h
Aws::EC2::Model::ReservedInstances::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ReservedInstances.h:596
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::ReservedInstances::GetOfferingType
const OfferingTypeValues & GetOfferingType() const
Definition: ReservedInstances.h:483
Aws::EC2::Model::ReservedInstances::GetCurrencyCode
const CurrencyCodeValues & GetCurrencyCode() const
Definition: ReservedInstances.h:380
Aws::EC2::Model::ReservedInstances::WithDuration
ReservedInstances & WithDuration(long long value)
Definition: ReservedInstances.h:113
Aws::EC2::Model::ReservedInstances::GetFixedPrice
double GetFixedPrice() const
Definition: ReservedInstances.h:150
Aws::EC2::Model::ReservedInstances::GetReservedInstancesId
const Aws::String & GetReservedInstancesId() const
Definition: ReservedInstances.h:254
Aws::EC2::Model::ReservedInstances::FixedPriceHasBeenSet
bool FixedPriceHasBeenSet() const
Definition: ReservedInstances.h:155
Aws::EC2::Model::ReservedInstances::WithInstanceTenancy
ReservedInstances & WithInstanceTenancy(Tenancy &&value)
Definition: ReservedInstances.h:446
Aws::EC2::Model::ReservedInstances::AddTags
ReservedInstances & AddTags(Tag &&value)
Definition: ReservedInstances.h:621
Aws::EC2::Model::ReservedInstances::ReservedInstancesIdHasBeenSet
bool ReservedInstancesIdHasBeenSet() const
Definition: ReservedInstances.h:259
Aws::EC2::Model::RecurringCharge
Definition: RecurringCharge.h:32
Aws::EC2::Model::ReservedInstances::WithInstanceType
ReservedInstances & WithInstanceType(InstanceType &&value)
Definition: ReservedInstances.h:217
DateTime.h
Aws::EC2::Model::ReservedInstances::SetInstanceTenancy
void SetInstanceTenancy(const Tenancy &value)
Definition: ReservedInstances.h:431
Aws::EC2::Model::OfferingClassType
OfferingClassType
Definition: OfferingClassType.h:17
Aws::EC2::Model::ReservedInstances::StartHasBeenSet
bool StartHasBeenSet() const
Definition: ReservedInstances.h:300
Aws::EC2::Model::ReservedInstanceState
ReservedInstanceState
Definition: ReservedInstanceState.h:17
Aws::EC2::Model::ReservedInstances::InstanceTenancyHasBeenSet
bool InstanceTenancyHasBeenSet() const
Definition: ReservedInstances.h:426
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ReservedInstances::GetProductDescription
const RIProductDescription & GetProductDescription() const
Definition: ReservedInstances.h:223
Aws::EC2::Model::ReservedInstances::SetInstanceType
void SetInstanceType(const InstanceType &value)
Definition: ReservedInstances.h:202
Aws::EC2::Model::ReservedInstances::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ReservedInstances.h:601
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::EC2::Model::ReservedInstances::UsagePriceHasBeenSet
bool UsagePriceHasBeenSet() const
Definition: ReservedInstances.h:362
Aws::EC2::Model::ReservedInstances
Definition: ReservedInstances.h:44
Aws::EC2::Model::ReservedInstances::GetOfferingClass
const OfferingClassType & GetOfferingClass() const
Definition: ReservedInstances.h:452
Aws::EC2::Model::ReservedInstances::SetCurrencyCode
void SetCurrencyCode(CurrencyCodeValues &&value)
Definition: ReservedInstances.h:401
CurrencyCodeValues.h
Aws::EC2::Model::ReservedInstances::WithReservedInstancesId
ReservedInstances & WithReservedInstancesId(const Aws::String &value)
Definition: ReservedInstances.h:279
AWSVector.h
Tag.h
Aws::EC2::Model::ReservedInstances::GetScope
const Scope & GetScope() const
Definition: ReservedInstances.h:555
Aws::EC2::Model::ReservedInstances::SetState
void SetState(ReservedInstanceState &&value)
Definition: ReservedInstances.h:341
Aws::EC2::Model::ReservedInstances::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: ReservedInstances.h:57
Aws::EC2::Model::ReservedInstances::SetOfferingClass
void SetOfferingClass(const OfferingClassType &value)
Definition: ReservedInstances.h:462
Aws::EC2::Model::ReservedInstances::ScopeHasBeenSet
bool ScopeHasBeenSet() const
Definition: ReservedInstances.h:560
Aws::EC2::Model::ReservedInstances::SetInstanceTenancy
void SetInstanceTenancy(Tenancy &&value)
Definition: ReservedInstances.h:436
Aws::EC2::Model::ReservedInstances::DurationHasBeenSet
bool DurationHasBeenSet() const
Definition: ReservedInstances.h:103
Aws::EC2::Model::ReservedInstances::SetUsagePrice
void SetUsagePrice(double value)
Definition: ReservedInstances.h:367
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ReservedInstances::WithProductDescription
ReservedInstances & WithProductDescription(const RIProductDescription &value)
Definition: ReservedInstances.h:243
Aws::EC2::Model::ReservedInstances::OfferingClassHasBeenSet
bool OfferingClassHasBeenSet() const
Definition: ReservedInstances.h:457
Aws::EC2::Model::ReservedInstances::WithProductDescription
ReservedInstances & WithProductDescription(RIProductDescription &&value)
Definition: ReservedInstances.h:248
RecurringCharge.h
Aws::EC2::Model::ReservedInstances::WithInstanceTenancy
ReservedInstances & WithInstanceTenancy(const Tenancy &value)
Definition: ReservedInstances.h:441
Aws::EC2::Model::ReservedInstances::ProductDescriptionHasBeenSet
bool ProductDescriptionHasBeenSet() const
Definition: ReservedInstances.h:228
Aws::EC2::Model::ReservedInstances::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: ReservedInstances.h:67
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::Tenancy
Tenancy
Definition: Tenancy.h:17
Aws::EC2::Model::ReservedInstances::SetDuration
void SetDuration(long long value)
Definition: ReservedInstances.h:108
Scope.h
Aws::EC2::Model::ReservedInstances::WithAvailabilityZone
ReservedInstances & WithAvailabilityZone(const Aws::String &value)
Definition: ReservedInstances.h:82
Aws::EC2::Model::ReservedInstances::GetUsagePrice
double GetUsagePrice() const
Definition: ReservedInstances.h:357
Aws::EC2::Model::ReservedInstances::GetInstanceTenancy
const Tenancy & GetInstanceTenancy() const
Definition: ReservedInstances.h:421
Tenancy.h
Aws::EC2::Model::ReservedInstances::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: ReservedInstances.h:197
Aws::EC2::Model::ReservedInstances::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ReservedInstances::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: ReservedInstances.h:62
Aws::EC2::Model::ReservedInstances::OfferingTypeHasBeenSet
bool OfferingTypeHasBeenSet() const
Definition: ReservedInstances.h:488
Aws::EC2::Model::ReservedInstances::SetOfferingClass
void SetOfferingClass(OfferingClassType &&value)
Definition: ReservedInstances.h:467
Aws::EC2::Model::ReservedInstances::WithOfferingType
ReservedInstances & WithOfferingType(OfferingTypeValues &&value)
Definition: ReservedInstances.h:508
Aws::EC2::Model::ReservedInstances::SetState
void SetState(const ReservedInstanceState &value)
Definition: ReservedInstances.h:336
Aws::EC2::Model::ReservedInstances::WithCurrencyCode
ReservedInstances & WithCurrencyCode(CurrencyCodeValues &&value)
Definition: ReservedInstances.h:415
AWSString.h
Aws::EC2::Model::ReservedInstances::GetDuration
long long GetDuration() const
Definition: ReservedInstances.h:98
Aws::EC2::Model::ReservedInstances::SetScope
void SetScope(Scope &&value)
Definition: ReservedInstances.h:570
Aws::EC2::Model::ReservedInstances::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: ReservedInstances.h:591
Aws::EC2::Model::ReservedInstances::GetState
const ReservedInstanceState & GetState() const
Definition: ReservedInstances.h:326
Aws::EC2::Model::ReservedInstances::SetEnd
void SetEnd(Aws::Utils::DateTime &&value)
Definition: ReservedInstances.h:134
Aws::EC2::Model::ReservedInstances::ReservedInstances
ReservedInstances()
Aws::EC2::Model::ReservedInstances::WithStart
ReservedInstances & WithStart(Aws::Utils::DateTime &&value)
Definition: ReservedInstances.h:320
Aws::EC2::Model::ReservedInstances::WithState
ReservedInstances & WithState(ReservedInstanceState &&value)
Definition: ReservedInstances.h:351
Aws::EC2::Model::ReservedInstances::WithCurrencyCode
ReservedInstances & WithCurrencyCode(const CurrencyCodeValues &value)
Definition: ReservedInstances.h:408
RIProductDescription.h
Aws::EC2::Model::ReservedInstances::ReservedInstances
ReservedInstances(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceType.h
Aws::EC2::Model::ReservedInstances::AddRecurringCharges
ReservedInstances & AddRecurringCharges(const RecurringCharge &value)
Definition: ReservedInstances.h:544
Aws::EC2::Model::ReservedInstances::GetInstanceCount
int GetInstanceCount() const
Definition: ReservedInstances.h:171
Aws::EC2::Model::ReservedInstances::SetCurrencyCode
void SetCurrencyCode(const CurrencyCodeValues &value)
Definition: ReservedInstances.h:394
Aws::EC2::Model::ReservedInstances::SetFixedPrice
void SetFixedPrice(double value)
Definition: ReservedInstances.h:160
Aws::EC2::Model::ReservedInstances::AddTags
ReservedInstances & AddTags(const Tag &value)
Definition: ReservedInstances.h:616
Aws::EC2::Model::ReservedInstances::WithEnd
ReservedInstances & WithEnd(const Aws::Utils::DateTime &value)
Definition: ReservedInstances.h:139
Aws::EC2::Model::ReservedInstances::WithScope
ReservedInstances & WithScope(Scope &&value)
Definition: ReservedInstances.h:580
Aws::EC2::Model::ReservedInstances::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ReservedInstances::SetEnd
void SetEnd(const Aws::Utils::DateTime &value)
Definition: ReservedInstances.h:129
Aws::EC2::Model::ReservedInstances::CurrencyCodeHasBeenSet
bool CurrencyCodeHasBeenSet() const
Definition: ReservedInstances.h:387
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ReservedInstances::WithOfferingType
ReservedInstances & WithOfferingType(const OfferingTypeValues &value)
Definition: ReservedInstances.h:503
ReservedInstanceState.h
Aws::EC2::Model::ReservedInstances::WithScope
ReservedInstances & WithScope(const Scope &value)
Definition: ReservedInstances.h:575
OfferingClassType.h
Aws::EC2::Model::ReservedInstances::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ReservedInstances.h:586
Aws::EC2::Model::ReservedInstances::SetInstanceType
void SetInstanceType(InstanceType &&value)
Definition: ReservedInstances.h:207
Aws::EC2::Model::ReservedInstances::RecurringChargesHasBeenSet
bool RecurringChargesHasBeenSet() const
Definition: ReservedInstances.h:519
Aws::EC2::Model::ReservedInstances::WithAvailabilityZone
ReservedInstances & WithAvailabilityZone(Aws::String &&value)
Definition: ReservedInstances.h:87
Aws::EC2::Model::ReservedInstances::WithStart
ReservedInstances & WithStart(const Aws::Utils::DateTime &value)
Definition: ReservedInstances.h:315
Aws::EC2::Model::ReservedInstances::WithUsagePrice
ReservedInstances & WithUsagePrice(double value)
Definition: ReservedInstances.h:372
Aws::EC2::Model::ReservedInstances::GetRecurringCharges
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
Definition: ReservedInstances.h:514
Aws::EC2::Model::ReservedInstances::AddRecurringCharges
ReservedInstances & AddRecurringCharges(RecurringCharge &&value)
Definition: ReservedInstances.h:549
Aws::EC2::Model::ReservedInstances::WithOfferingClass
ReservedInstances & WithOfferingClass(OfferingClassType &&value)
Definition: ReservedInstances.h:477
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ReservedInstances::WithState
ReservedInstances & WithState(const ReservedInstanceState &value)
Definition: ReservedInstances.h:346
Aws::EC2::Model::ReservedInstances::GetInstanceType
const InstanceType & GetInstanceType() const
Definition: ReservedInstances.h:192
Aws::EC2::Model::ReservedInstances::WithReservedInstancesId
ReservedInstances & WithReservedInstancesId(const char *value)
Definition: ReservedInstances.h:289
Aws::EC2::Model::ReservedInstances::WithRecurringCharges
ReservedInstances & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
Definition: ReservedInstances.h:534
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ReservedInstances::GetStart
const Aws::Utils::DateTime & GetStart() const
Definition: ReservedInstances.h:295
Aws::EC2::Model::ReservedInstances::SetStart
void SetStart(const Aws::Utils::DateTime &value)
Definition: ReservedInstances.h:305
Aws::EC2::Model::ReservedInstances::SetProductDescription
void SetProductDescription(RIProductDescription &&value)
Definition: ReservedInstances.h:238
Aws::EC2::Model::ReservedInstances::EndHasBeenSet
bool EndHasBeenSet() const
Definition: ReservedInstances.h:124
Aws::EC2::Model::ReservedInstances::SetReservedInstancesId
void SetReservedInstancesId(const char *value)
Definition: ReservedInstances.h:274
Aws::EC2::Model::ReservedInstances::SetScope
void SetScope(const Scope &value)
Definition: ReservedInstances.h:565
Aws::EC2::Model::RIProductDescription
RIProductDescription
Definition: RIProductDescription.h:17
Aws::EC2::Model::ReservedInstances::SetRecurringCharges
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
Definition: ReservedInstances.h:529
Aws::EC2::Model::ReservedInstances::WithReservedInstancesId
ReservedInstances & WithReservedInstancesId(Aws::String &&value)
Definition: ReservedInstances.h:284
Aws::EC2::Model::ReservedInstances::SetRecurringCharges
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
Definition: ReservedInstances.h:524
Aws::EC2::Model::ReservedInstances::WithInstanceCount
ReservedInstances & WithInstanceCount(int value)
Definition: ReservedInstances.h:186
Aws::EC2::Model::ReservedInstances::WithTags
ReservedInstances & WithTags(Aws::Vector< Tag > &&value)
Definition: ReservedInstances.h:611
Aws::EC2::Model::ReservedInstances::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: ReservedInstances.h:77
Aws::EC2::Model::OfferingTypeValues
OfferingTypeValues
Definition: OfferingTypeValues.h:17
EC2_EXPORTS.h
Aws::EC2::Model::ReservedInstances::WithTags
ReservedInstances & WithTags(const Aws::Vector< Tag > &value)
Definition: ReservedInstances.h:606
Aws::EC2::Model::InstanceType
InstanceType
Definition: InstanceType.h:17
Aws::EC2::Model::ReservedInstances::operator=
ReservedInstances & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ReservedInstances::SetReservedInstancesId
void SetReservedInstancesId(Aws::String &&value)
Definition: ReservedInstances.h:269
Aws::EC2::Model::CurrencyCodeValues
CurrencyCodeValues
Definition: CurrencyCodeValues.h:17
Aws::EC2::Model::Scope
Scope
Definition: Scope.h:17
Aws::EC2::Model::ReservedInstances::SetOfferingType
void SetOfferingType(OfferingTypeValues &&value)
Definition: ReservedInstances.h:498
Aws::EC2::Model::ReservedInstances::WithInstanceType
ReservedInstances & WithInstanceType(const InstanceType &value)
Definition: ReservedInstances.h:212
Aws::EC2::Model::ReservedInstances::WithAvailabilityZone
ReservedInstances & WithAvailabilityZone(const char *value)
Definition: ReservedInstances.h:92