AWS SDK for C++  1.9.123
AWS SDK for C++
HostReservation.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
15 #include <aws/ec2/model/Tag.h>
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Xml
23 {
24  class XmlNode;
25 } // namespace Xml
26 } // namespace Utils
27 namespace EC2
28 {
29 namespace Model
30 {
31 
39  {
40  public:
44 
45  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46  void OutputToStream(Aws::OStream& oStream, const char* location) const;
47 
48 
52  inline int GetCount() const{ return m_count; }
53 
57  inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
58 
62  inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
63 
67  inline HostReservation& WithCount(int value) { SetCount(value); return *this;}
68 
69 
75  inline const CurrencyCodeValues& GetCurrencyCode() const{ return m_currencyCode; }
76 
82  inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
83 
89  inline void SetCurrencyCode(const CurrencyCodeValues& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
90 
96  inline void SetCurrencyCode(CurrencyCodeValues&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
97 
103  inline HostReservation& WithCurrencyCode(const CurrencyCodeValues& value) { SetCurrencyCode(value); return *this;}
104 
110  inline HostReservation& WithCurrencyCode(CurrencyCodeValues&& value) { SetCurrencyCode(std::move(value)); return *this;}
111 
112 
117  inline int GetDuration() const{ return m_duration; }
118 
123  inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
124 
129  inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
130 
135  inline HostReservation& WithDuration(int value) { SetDuration(value); return *this;}
136 
137 
141  inline const Aws::Utils::DateTime& GetEnd() const{ return m_end; }
142 
146  inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
147 
151  inline void SetEnd(const Aws::Utils::DateTime& value) { m_endHasBeenSet = true; m_end = value; }
152 
156  inline void SetEnd(Aws::Utils::DateTime&& value) { m_endHasBeenSet = true; m_end = std::move(value); }
157 
161  inline HostReservation& WithEnd(const Aws::Utils::DateTime& value) { SetEnd(value); return *this;}
162 
166  inline HostReservation& WithEnd(Aws::Utils::DateTime&& value) { SetEnd(std::move(value)); return *this;}
167 
168 
172  inline const Aws::Vector<Aws::String>& GetHostIdSet() const{ return m_hostIdSet; }
173 
177  inline bool HostIdSetHasBeenSet() const { return m_hostIdSetHasBeenSet; }
178 
182  inline void SetHostIdSet(const Aws::Vector<Aws::String>& value) { m_hostIdSetHasBeenSet = true; m_hostIdSet = value; }
183 
187  inline void SetHostIdSet(Aws::Vector<Aws::String>&& value) { m_hostIdSetHasBeenSet = true; m_hostIdSet = std::move(value); }
188 
192  inline HostReservation& WithHostIdSet(const Aws::Vector<Aws::String>& value) { SetHostIdSet(value); return *this;}
193 
197  inline HostReservation& WithHostIdSet(Aws::Vector<Aws::String>&& value) { SetHostIdSet(std::move(value)); return *this;}
198 
202  inline HostReservation& AddHostIdSet(const Aws::String& value) { m_hostIdSetHasBeenSet = true; m_hostIdSet.push_back(value); return *this; }
203 
207  inline HostReservation& AddHostIdSet(Aws::String&& value) { m_hostIdSetHasBeenSet = true; m_hostIdSet.push_back(std::move(value)); return *this; }
208 
212  inline HostReservation& AddHostIdSet(const char* value) { m_hostIdSetHasBeenSet = true; m_hostIdSet.push_back(value); return *this; }
213 
214 
218  inline const Aws::String& GetHostReservationId() const{ return m_hostReservationId; }
219 
223  inline bool HostReservationIdHasBeenSet() const { return m_hostReservationIdHasBeenSet; }
224 
228  inline void SetHostReservationId(const Aws::String& value) { m_hostReservationIdHasBeenSet = true; m_hostReservationId = value; }
229 
233  inline void SetHostReservationId(Aws::String&& value) { m_hostReservationIdHasBeenSet = true; m_hostReservationId = std::move(value); }
234 
238  inline void SetHostReservationId(const char* value) { m_hostReservationIdHasBeenSet = true; m_hostReservationId.assign(value); }
239 
243  inline HostReservation& WithHostReservationId(const Aws::String& value) { SetHostReservationId(value); return *this;}
244 
248  inline HostReservation& WithHostReservationId(Aws::String&& value) { SetHostReservationId(std::move(value)); return *this;}
249 
253  inline HostReservation& WithHostReservationId(const char* value) { SetHostReservationId(value); return *this;}
254 
255 
259  inline const Aws::String& GetHourlyPrice() const{ return m_hourlyPrice; }
260 
264  inline bool HourlyPriceHasBeenSet() const { return m_hourlyPriceHasBeenSet; }
265 
269  inline void SetHourlyPrice(const Aws::String& value) { m_hourlyPriceHasBeenSet = true; m_hourlyPrice = value; }
270 
274  inline void SetHourlyPrice(Aws::String&& value) { m_hourlyPriceHasBeenSet = true; m_hourlyPrice = std::move(value); }
275 
279  inline void SetHourlyPrice(const char* value) { m_hourlyPriceHasBeenSet = true; m_hourlyPrice.assign(value); }
280 
284  inline HostReservation& WithHourlyPrice(const Aws::String& value) { SetHourlyPrice(value); return *this;}
285 
289  inline HostReservation& WithHourlyPrice(Aws::String&& value) { SetHourlyPrice(std::move(value)); return *this;}
290 
294  inline HostReservation& WithHourlyPrice(const char* value) { SetHourlyPrice(value); return *this;}
295 
296 
302  inline const Aws::String& GetInstanceFamily() const{ return m_instanceFamily; }
303 
309  inline bool InstanceFamilyHasBeenSet() const { return m_instanceFamilyHasBeenSet; }
310 
316  inline void SetInstanceFamily(const Aws::String& value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily = value; }
317 
323  inline void SetInstanceFamily(Aws::String&& value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily = std::move(value); }
324 
330  inline void SetInstanceFamily(const char* value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily.assign(value); }
331 
337  inline HostReservation& WithInstanceFamily(const Aws::String& value) { SetInstanceFamily(value); return *this;}
338 
344  inline HostReservation& WithInstanceFamily(Aws::String&& value) { SetInstanceFamily(std::move(value)); return *this;}
345 
351  inline HostReservation& WithInstanceFamily(const char* value) { SetInstanceFamily(value); return *this;}
352 
353 
358  inline const Aws::String& GetOfferingId() const{ return m_offeringId; }
359 
364  inline bool OfferingIdHasBeenSet() const { return m_offeringIdHasBeenSet; }
365 
370  inline void SetOfferingId(const Aws::String& value) { m_offeringIdHasBeenSet = true; m_offeringId = value; }
371 
376  inline void SetOfferingId(Aws::String&& value) { m_offeringIdHasBeenSet = true; m_offeringId = std::move(value); }
377 
382  inline void SetOfferingId(const char* value) { m_offeringIdHasBeenSet = true; m_offeringId.assign(value); }
383 
388  inline HostReservation& WithOfferingId(const Aws::String& value) { SetOfferingId(value); return *this;}
389 
394  inline HostReservation& WithOfferingId(Aws::String&& value) { SetOfferingId(std::move(value)); return *this;}
395 
400  inline HostReservation& WithOfferingId(const char* value) { SetOfferingId(value); return *this;}
401 
402 
406  inline const PaymentOption& GetPaymentOption() const{ return m_paymentOption; }
407 
411  inline bool PaymentOptionHasBeenSet() const { return m_paymentOptionHasBeenSet; }
412 
416  inline void SetPaymentOption(const PaymentOption& value) { m_paymentOptionHasBeenSet = true; m_paymentOption = value; }
417 
421  inline void SetPaymentOption(PaymentOption&& value) { m_paymentOptionHasBeenSet = true; m_paymentOption = std::move(value); }
422 
426  inline HostReservation& WithPaymentOption(const PaymentOption& value) { SetPaymentOption(value); return *this;}
427 
431  inline HostReservation& WithPaymentOption(PaymentOption&& value) { SetPaymentOption(std::move(value)); return *this;}
432 
433 
437  inline const Aws::Utils::DateTime& GetStart() const{ return m_start; }
438 
442  inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
443 
447  inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; }
448 
452  inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
453 
457  inline HostReservation& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;}
458 
462  inline HostReservation& WithStart(Aws::Utils::DateTime&& value) { SetStart(std::move(value)); return *this;}
463 
464 
468  inline const ReservationState& GetState() const{ return m_state; }
469 
473  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
474 
478  inline void SetState(const ReservationState& value) { m_stateHasBeenSet = true; m_state = value; }
479 
483  inline void SetState(ReservationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
484 
488  inline HostReservation& WithState(const ReservationState& value) { SetState(value); return *this;}
489 
493  inline HostReservation& WithState(ReservationState&& value) { SetState(std::move(value)); return *this;}
494 
495 
499  inline const Aws::String& GetUpfrontPrice() const{ return m_upfrontPrice; }
500 
504  inline bool UpfrontPriceHasBeenSet() const { return m_upfrontPriceHasBeenSet; }
505 
509  inline void SetUpfrontPrice(const Aws::String& value) { m_upfrontPriceHasBeenSet = true; m_upfrontPrice = value; }
510 
514  inline void SetUpfrontPrice(Aws::String&& value) { m_upfrontPriceHasBeenSet = true; m_upfrontPrice = std::move(value); }
515 
519  inline void SetUpfrontPrice(const char* value) { m_upfrontPriceHasBeenSet = true; m_upfrontPrice.assign(value); }
520 
524  inline HostReservation& WithUpfrontPrice(const Aws::String& value) { SetUpfrontPrice(value); return *this;}
525 
529  inline HostReservation& WithUpfrontPrice(Aws::String&& value) { SetUpfrontPrice(std::move(value)); return *this;}
530 
534  inline HostReservation& WithUpfrontPrice(const char* value) { SetUpfrontPrice(value); return *this;}
535 
536 
540  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
541 
545  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
546 
550  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
551 
555  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
556 
560  inline HostReservation& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
561 
565  inline HostReservation& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
566 
570  inline HostReservation& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
571 
575  inline HostReservation& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
576 
577  private:
578 
579  int m_count;
580  bool m_countHasBeenSet;
581 
582  CurrencyCodeValues m_currencyCode;
583  bool m_currencyCodeHasBeenSet;
584 
585  int m_duration;
586  bool m_durationHasBeenSet;
587 
588  Aws::Utils::DateTime m_end;
589  bool m_endHasBeenSet;
590 
591  Aws::Vector<Aws::String> m_hostIdSet;
592  bool m_hostIdSetHasBeenSet;
593 
594  Aws::String m_hostReservationId;
595  bool m_hostReservationIdHasBeenSet;
596 
597  Aws::String m_hourlyPrice;
598  bool m_hourlyPriceHasBeenSet;
599 
600  Aws::String m_instanceFamily;
601  bool m_instanceFamilyHasBeenSet;
602 
603  Aws::String m_offeringId;
604  bool m_offeringIdHasBeenSet;
605 
606  PaymentOption m_paymentOption;
607  bool m_paymentOptionHasBeenSet;
608 
609  Aws::Utils::DateTime m_start;
610  bool m_startHasBeenSet;
611 
612  ReservationState m_state;
613  bool m_stateHasBeenSet;
614 
615  Aws::String m_upfrontPrice;
616  bool m_upfrontPriceHasBeenSet;
617 
618  Aws::Vector<Tag> m_tags;
619  bool m_tagsHasBeenSet;
620  };
621 
622 } // namespace Model
623 } // namespace EC2
624 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::HostReservation::GetHourlyPrice
const Aws::String & GetHourlyPrice() const
Definition: HostReservation.h:259
Aws::EC2::Model::HostReservation::WithCurrencyCode
HostReservation & WithCurrencyCode(const CurrencyCodeValues &value)
Definition: HostReservation.h:103
Aws::EC2::Model::HostReservation::GetStart
const Aws::Utils::DateTime & GetStart() const
Definition: HostReservation.h:437
Aws::EC2::Model::HostReservation::WithUpfrontPrice
HostReservation & WithUpfrontPrice(const Aws::String &value)
Definition: HostReservation.h:524
Aws::EC2::Model::HostReservation::PaymentOptionHasBeenSet
bool PaymentOptionHasBeenSet() const
Definition: HostReservation.h:411
Aws::EC2::Model::HostReservation::WithInstanceFamily
HostReservation & WithInstanceFamily(const char *value)
Definition: HostReservation.h:351
Aws::EC2::Model::HostReservation::SetInstanceFamily
void SetInstanceFamily(Aws::String &&value)
Definition: HostReservation.h:323
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::HostReservation::WithTags
HostReservation & WithTags(Aws::Vector< Tag > &&value)
Definition: HostReservation.h:565
Aws::EC2::Model::HostReservation::WithUpfrontPrice
HostReservation & WithUpfrontPrice(const char *value)
Definition: HostReservation.h:534
Aws::EC2::Model::HostReservation::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::HostReservation::SetHostReservationId
void SetHostReservationId(Aws::String &&value)
Definition: HostReservation.h:233
Aws::EC2::Model::HostReservation::SetHourlyPrice
void SetHourlyPrice(const Aws::String &value)
Definition: HostReservation.h:269
Aws::EC2::Model::HostReservation::AddTags
HostReservation & AddTags(const Tag &value)
Definition: HostReservation.h:570
Aws::EC2::Model::HostReservation::GetPaymentOption
const PaymentOption & GetPaymentOption() const
Definition: HostReservation.h:406
Aws::EC2::Model::HostReservation::WithStart
HostReservation & WithStart(Aws::Utils::DateTime &&value)
Definition: HostReservation.h:462
Aws::EC2::Model::HostReservation::SetHostReservationId
void SetHostReservationId(const Aws::String &value)
Definition: HostReservation.h:228
DateTime.h
Aws::EC2::Model::HostReservation::WithOfferingId
HostReservation & WithOfferingId(const Aws::String &value)
Definition: HostReservation.h:388
Aws::EC2::Model::HostReservation::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: HostReservation.h:555
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::HostReservation::SetDuration
void SetDuration(int value)
Definition: HostReservation.h:129
Aws::EC2::Model::HostReservation::HostReservationIdHasBeenSet
bool HostReservationIdHasBeenSet() const
Definition: HostReservation.h:223
Aws::EC2::Model::HostReservation::WithStart
HostReservation & WithStart(const Aws::Utils::DateTime &value)
Definition: HostReservation.h:457
Aws::EC2::Model::HostReservation::GetState
const ReservationState & GetState() const
Definition: HostReservation.h:468
Aws::EC2::Model::HostReservation::AddHostIdSet
HostReservation & AddHostIdSet(Aws::String &&value)
Definition: HostReservation.h:207
Aws::EC2::Model::HostReservation::WithHostIdSet
HostReservation & WithHostIdSet(Aws::Vector< Aws::String > &&value)
Definition: HostReservation.h:197
Aws::EC2::Model::HostReservation::WithEnd
HostReservation & WithEnd(const Aws::Utils::DateTime &value)
Definition: HostReservation.h:161
Aws::EC2::Model::HostReservation::GetDuration
int GetDuration() const
Definition: HostReservation.h:117
Aws::EC2::Model::HostReservation::WithCount
HostReservation & WithCount(int value)
Definition: HostReservation.h:67
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::HostReservation::HostReservation
HostReservation(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::HostReservation::SetCurrencyCode
void SetCurrencyCode(CurrencyCodeValues &&value)
Definition: HostReservation.h:96
AWSStreamFwd.h
Aws::EC2::Model::HostReservation
Definition: HostReservation.h:39
CurrencyCodeValues.h
Aws::EC2::Model::HostReservation::CurrencyCodeHasBeenSet
bool CurrencyCodeHasBeenSet() const
Definition: HostReservation.h:82
AWSVector.h
Tag.h
Aws::EC2::Model::HostReservation::GetCount
int GetCount() const
Definition: HostReservation.h:52
Aws::EC2::Model::HostReservation::SetStart
void SetStart(const Aws::Utils::DateTime &value)
Definition: HostReservation.h:447
Aws::EC2::Model::HostReservation::WithState
HostReservation & WithState(const ReservationState &value)
Definition: HostReservation.h:488
Aws::EC2::Model::HostReservation::WithInstanceFamily
HostReservation & WithInstanceFamily(Aws::String &&value)
Definition: HostReservation.h:344
Aws::EC2::Model::HostReservation::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: HostReservation.h:550
Aws::EC2::Model::HostReservation::WithDuration
HostReservation & WithDuration(int value)
Definition: HostReservation.h:135
Aws::EC2::Model::HostReservation::SetHostIdSet
void SetHostIdSet(Aws::Vector< Aws::String > &&value)
Definition: HostReservation.h:187
Aws::EC2::Model::HostReservation::SetHostReservationId
void SetHostReservationId(const char *value)
Definition: HostReservation.h:238
Aws::EC2::Model::HostReservation::AddHostIdSet
HostReservation & AddHostIdSet(const Aws::String &value)
Definition: HostReservation.h:202
Aws::EC2::Model::HostReservation::AddHostIdSet
HostReservation & AddHostIdSet(const char *value)
Definition: HostReservation.h:212
Aws::EC2::Model::HostReservation::SetHostIdSet
void SetHostIdSet(const Aws::Vector< Aws::String > &value)
Definition: HostReservation.h:182
ReservationState.h
Aws::EC2::Model::HostReservation::HostIdSetHasBeenSet
bool HostIdSetHasBeenSet() const
Definition: HostReservation.h:177
Aws::EC2::Model::HostReservation::DurationHasBeenSet
bool DurationHasBeenSet() const
Definition: HostReservation.h:123
Aws::EC2::Model::HostReservation::HostReservation
HostReservation()
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::HostReservation::WithHourlyPrice
HostReservation & WithHourlyPrice(const Aws::String &value)
Definition: HostReservation.h:284
Aws::EC2::Model::HostReservation::UpfrontPriceHasBeenSet
bool UpfrontPriceHasBeenSet() const
Definition: HostReservation.h:504
Aws::EC2::Model::ReservationState
ReservationState
Definition: ReservationState.h:17
Aws::EC2::Model::HostReservation::GetUpfrontPrice
const Aws::String & GetUpfrontPrice() const
Definition: HostReservation.h:499
Aws::EC2::Model::HostReservation::SetUpfrontPrice
void SetUpfrontPrice(const char *value)
Definition: HostReservation.h:519
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::HostReservation::OfferingIdHasBeenSet
bool OfferingIdHasBeenSet() const
Definition: HostReservation.h:364
Aws::EC2::Model::HostReservation::SetOfferingId
void SetOfferingId(const Aws::String &value)
Definition: HostReservation.h:370
Aws::EC2::Model::HostReservation::SetUpfrontPrice
void SetUpfrontPrice(const Aws::String &value)
Definition: HostReservation.h:509
Aws::EC2::Model::HostReservation::SetCount
void SetCount(int value)
Definition: HostReservation.h:62
Aws::EC2::Model::HostReservation::SetOfferingId
void SetOfferingId(const char *value)
Definition: HostReservation.h:382
Aws::EC2::Model::HostReservation::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::HostReservation::EndHasBeenSet
bool EndHasBeenSet() const
Definition: HostReservation.h:146
Aws::EC2::Model::HostReservation::operator=
HostReservation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::HostReservation::WithUpfrontPrice
HostReservation & WithUpfrontPrice(Aws::String &&value)
Definition: HostReservation.h:529
Aws::EC2::Model::HostReservation::GetHostReservationId
const Aws::String & GetHostReservationId() const
Definition: HostReservation.h:218
Aws::EC2::Model::HostReservation::WithHourlyPrice
HostReservation & WithHourlyPrice(Aws::String &&value)
Definition: HostReservation.h:289
Aws::EC2::Model::HostReservation::SetEnd
void SetEnd(Aws::Utils::DateTime &&value)
Definition: HostReservation.h:156
Aws::EC2::Model::HostReservation::WithCurrencyCode
HostReservation & WithCurrencyCode(CurrencyCodeValues &&value)
Definition: HostReservation.h:110
Aws::EC2::Model::HostReservation::SetOfferingId
void SetOfferingId(Aws::String &&value)
Definition: HostReservation.h:376
AWSString.h
Aws::EC2::Model::HostReservation::SetState
void SetState(const ReservationState &value)
Definition: HostReservation.h:478
Aws::EC2::Model::HostReservation::GetOfferingId
const Aws::String & GetOfferingId() const
Definition: HostReservation.h:358
Aws::EC2::Model::HostReservation::SetHourlyPrice
void SetHourlyPrice(const char *value)
Definition: HostReservation.h:279
Aws::EC2::Model::HostReservation::SetEnd
void SetEnd(const Aws::Utils::DateTime &value)
Definition: HostReservation.h:151
Aws::EC2::Model::HostReservation::SetInstanceFamily
void SetInstanceFamily(const Aws::String &value)
Definition: HostReservation.h:316
Aws::EC2::Model::HostReservation::WithEnd
HostReservation & WithEnd(Aws::Utils::DateTime &&value)
Definition: HostReservation.h:166
Aws::EC2::Model::HostReservation::WithInstanceFamily
HostReservation & WithInstanceFamily(const Aws::String &value)
Definition: HostReservation.h:337
Aws::EC2::Model::HostReservation::WithHostReservationId
HostReservation & WithHostReservationId(const char *value)
Definition: HostReservation.h:253
Aws::EC2::Model::HostReservation::WithHostReservationId
HostReservation & WithHostReservationId(Aws::String &&value)
Definition: HostReservation.h:248
Aws::EC2::Model::HostReservation::SetInstanceFamily
void SetInstanceFamily(const char *value)
Definition: HostReservation.h:330
Aws::EC2::Model::HostReservation::GetEnd
const Aws::Utils::DateTime & GetEnd() const
Definition: HostReservation.h:141
Aws::EC2::Model::HostReservation::GetHostIdSet
const Aws::Vector< Aws::String > & GetHostIdSet() const
Definition: HostReservation.h:172
Aws::EC2::Model::HostReservation::WithOfferingId
HostReservation & WithOfferingId(const char *value)
Definition: HostReservation.h:400
Aws::EC2::Model::HostReservation::GetInstanceFamily
const Aws::String & GetInstanceFamily() const
Definition: HostReservation.h:302
Aws::EC2::Model::HostReservation::SetHourlyPrice
void SetHourlyPrice(Aws::String &&value)
Definition: HostReservation.h:274
Aws::EC2::Model::HostReservation::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: HostReservation.h:540
Aws::EC2::Model::HostReservation::SetUpfrontPrice
void SetUpfrontPrice(Aws::String &&value)
Definition: HostReservation.h:514
Aws::EC2::Model::HostReservation::SetState
void SetState(ReservationState &&value)
Definition: HostReservation.h:483
Aws::EC2::Model::HostReservation::SetPaymentOption
void SetPaymentOption(const PaymentOption &value)
Definition: HostReservation.h:416
Aws::EC2::Model::HostReservation::SetPaymentOption
void SetPaymentOption(PaymentOption &&value)
Definition: HostReservation.h:421
Aws::EC2::Model::HostReservation::AddTags
HostReservation & AddTags(Tag &&value)
Definition: HostReservation.h:575
Aws::EC2::Model::HostReservation::WithHostIdSet
HostReservation & WithHostIdSet(const Aws::Vector< Aws::String > &value)
Definition: HostReservation.h:192
Aws::EC2::Model::HostReservation::SetStart
void SetStart(Aws::Utils::DateTime &&value)
Definition: HostReservation.h:452
Aws::EC2::Model::HostReservation::WithHourlyPrice
HostReservation & WithHourlyPrice(const char *value)
Definition: HostReservation.h:294
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::HostReservation::WithPaymentOption
HostReservation & WithPaymentOption(PaymentOption &&value)
Definition: HostReservation.h:431
PaymentOption.h
Aws::EC2::Model::HostReservation::WithOfferingId
HostReservation & WithOfferingId(Aws::String &&value)
Definition: HostReservation.h:394
Aws::EC2::Model::HostReservation::GetCurrencyCode
const CurrencyCodeValues & GetCurrencyCode() const
Definition: HostReservation.h:75
Aws::EC2::Model::HostReservation::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: HostReservation.h:545
Aws::EC2::Model::HostReservation::WithTags
HostReservation & WithTags(const Aws::Vector< Tag > &value)
Definition: HostReservation.h:560
Aws::EC2::Model::HostReservation::CountHasBeenSet
bool CountHasBeenSet() const
Definition: HostReservation.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::HostReservation::InstanceFamilyHasBeenSet
bool InstanceFamilyHasBeenSet() const
Definition: HostReservation.h:309
Aws::EC2::Model::HostReservation::StartHasBeenSet
bool StartHasBeenSet() const
Definition: HostReservation.h:442
Aws::EC2::Model::HostReservation::HourlyPriceHasBeenSet
bool HourlyPriceHasBeenSet() const
Definition: HostReservation.h:264
Aws::EC2::Model::HostReservation::SetCurrencyCode
void SetCurrencyCode(const CurrencyCodeValues &value)
Definition: HostReservation.h:89
EC2_EXPORTS.h
Aws::EC2::Model::HostReservation::WithHostReservationId
HostReservation & WithHostReservationId(const Aws::String &value)
Definition: HostReservation.h:243
Aws::EC2::Model::PaymentOption
PaymentOption
Definition: PaymentOption.h:17
Aws::EC2::Model::CurrencyCodeValues
CurrencyCodeValues
Definition: CurrencyCodeValues.h:17
Aws::EC2::Model::HostReservation::StateHasBeenSet
bool StateHasBeenSet() const
Definition: HostReservation.h:473
Aws::EC2::Model::HostReservation::WithPaymentOption
HostReservation & WithPaymentOption(const PaymentOption &value)
Definition: HostReservation.h:426
Aws::EC2::Model::HostReservation::WithState
HostReservation & WithState(ReservationState &&value)
Definition: HostReservation.h:493