AWS SDK for C++  1.9.109
AWS SDK for C++
ReservedDBInstance.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlNode;
22 } // namespace Xml
23 } // namespace Utils
24 namespace RDS
25 {
26 namespace Model
27 {
28 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
51  inline const Aws::String& GetReservedDBInstanceId() const{ return m_reservedDBInstanceId; }
52 
56  inline bool ReservedDBInstanceIdHasBeenSet() const { return m_reservedDBInstanceIdHasBeenSet; }
57 
61  inline void SetReservedDBInstanceId(const Aws::String& value) { m_reservedDBInstanceIdHasBeenSet = true; m_reservedDBInstanceId = value; }
62 
66  inline void SetReservedDBInstanceId(Aws::String&& value) { m_reservedDBInstanceIdHasBeenSet = true; m_reservedDBInstanceId = std::move(value); }
67 
71  inline void SetReservedDBInstanceId(const char* value) { m_reservedDBInstanceIdHasBeenSet = true; m_reservedDBInstanceId.assign(value); }
72 
76  inline ReservedDBInstance& WithReservedDBInstanceId(const Aws::String& value) { SetReservedDBInstanceId(value); return *this;}
77 
81  inline ReservedDBInstance& WithReservedDBInstanceId(Aws::String&& value) { SetReservedDBInstanceId(std::move(value)); return *this;}
82 
86  inline ReservedDBInstance& WithReservedDBInstanceId(const char* value) { SetReservedDBInstanceId(value); return *this;}
87 
88 
92  inline const Aws::String& GetReservedDBInstancesOfferingId() const{ return m_reservedDBInstancesOfferingId; }
93 
97  inline bool ReservedDBInstancesOfferingIdHasBeenSet() const { return m_reservedDBInstancesOfferingIdHasBeenSet; }
98 
102  inline void SetReservedDBInstancesOfferingId(const Aws::String& value) { m_reservedDBInstancesOfferingIdHasBeenSet = true; m_reservedDBInstancesOfferingId = value; }
103 
107  inline void SetReservedDBInstancesOfferingId(Aws::String&& value) { m_reservedDBInstancesOfferingIdHasBeenSet = true; m_reservedDBInstancesOfferingId = std::move(value); }
108 
112  inline void SetReservedDBInstancesOfferingId(const char* value) { m_reservedDBInstancesOfferingIdHasBeenSet = true; m_reservedDBInstancesOfferingId.assign(value); }
113 
117  inline ReservedDBInstance& WithReservedDBInstancesOfferingId(const Aws::String& value) { SetReservedDBInstancesOfferingId(value); return *this;}
118 
122  inline ReservedDBInstance& WithReservedDBInstancesOfferingId(Aws::String&& value) { SetReservedDBInstancesOfferingId(std::move(value)); return *this;}
123 
127  inline ReservedDBInstance& WithReservedDBInstancesOfferingId(const char* value) { SetReservedDBInstancesOfferingId(value); return *this;}
128 
129 
133  inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; }
134 
138  inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
139 
143  inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; }
144 
148  inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); }
149 
153  inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); }
154 
158  inline ReservedDBInstance& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;}
159 
163  inline ReservedDBInstance& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;}
164 
168  inline ReservedDBInstance& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;}
169 
170 
174  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
175 
179  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
180 
184  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
185 
189  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
190 
194  inline ReservedDBInstance& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
195 
199  inline ReservedDBInstance& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
200 
201 
205  inline int GetDuration() const{ return m_duration; }
206 
210  inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
211 
215  inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
216 
220  inline ReservedDBInstance& WithDuration(int value) { SetDuration(value); return *this;}
221 
222 
226  inline double GetFixedPrice() const{ return m_fixedPrice; }
227 
231  inline bool FixedPriceHasBeenSet() const { return m_fixedPriceHasBeenSet; }
232 
236  inline void SetFixedPrice(double value) { m_fixedPriceHasBeenSet = true; m_fixedPrice = value; }
237 
241  inline ReservedDBInstance& WithFixedPrice(double value) { SetFixedPrice(value); return *this;}
242 
243 
247  inline double GetUsagePrice() const{ return m_usagePrice; }
248 
252  inline bool UsagePriceHasBeenSet() const { return m_usagePriceHasBeenSet; }
253 
257  inline void SetUsagePrice(double value) { m_usagePriceHasBeenSet = true; m_usagePrice = value; }
258 
262  inline ReservedDBInstance& WithUsagePrice(double value) { SetUsagePrice(value); return *this;}
263 
264 
268  inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
269 
273  inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
274 
278  inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
279 
283  inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
284 
288  inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
289 
293  inline ReservedDBInstance& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
294 
298  inline ReservedDBInstance& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
299 
303  inline ReservedDBInstance& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
304 
305 
309  inline int GetDBInstanceCount() const{ return m_dBInstanceCount; }
310 
314  inline bool DBInstanceCountHasBeenSet() const { return m_dBInstanceCountHasBeenSet; }
315 
319  inline void SetDBInstanceCount(int value) { m_dBInstanceCountHasBeenSet = true; m_dBInstanceCount = value; }
320 
324  inline ReservedDBInstance& WithDBInstanceCount(int value) { SetDBInstanceCount(value); return *this;}
325 
326 
330  inline const Aws::String& GetProductDescription() const{ return m_productDescription; }
331 
335  inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
336 
340  inline void SetProductDescription(const Aws::String& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
341 
345  inline void SetProductDescription(Aws::String&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::move(value); }
346 
350  inline void SetProductDescription(const char* value) { m_productDescriptionHasBeenSet = true; m_productDescription.assign(value); }
351 
355  inline ReservedDBInstance& WithProductDescription(const Aws::String& value) { SetProductDescription(value); return *this;}
356 
360  inline ReservedDBInstance& WithProductDescription(Aws::String&& value) { SetProductDescription(std::move(value)); return *this;}
361 
365  inline ReservedDBInstance& WithProductDescription(const char* value) { SetProductDescription(value); return *this;}
366 
367 
371  inline const Aws::String& GetOfferingType() const{ return m_offeringType; }
372 
376  inline bool OfferingTypeHasBeenSet() const { return m_offeringTypeHasBeenSet; }
377 
381  inline void SetOfferingType(const Aws::String& value) { m_offeringTypeHasBeenSet = true; m_offeringType = value; }
382 
386  inline void SetOfferingType(Aws::String&& value) { m_offeringTypeHasBeenSet = true; m_offeringType = std::move(value); }
387 
391  inline void SetOfferingType(const char* value) { m_offeringTypeHasBeenSet = true; m_offeringType.assign(value); }
392 
396  inline ReservedDBInstance& WithOfferingType(const Aws::String& value) { SetOfferingType(value); return *this;}
397 
401  inline ReservedDBInstance& WithOfferingType(Aws::String&& value) { SetOfferingType(std::move(value)); return *this;}
402 
406  inline ReservedDBInstance& WithOfferingType(const char* value) { SetOfferingType(value); return *this;}
407 
408 
412  inline bool GetMultiAZ() const{ return m_multiAZ; }
413 
417  inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
418 
422  inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
423 
427  inline ReservedDBInstance& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
428 
429 
433  inline const Aws::String& GetState() const{ return m_state; }
434 
438  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
439 
443  inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
444 
448  inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
449 
453  inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
454 
458  inline ReservedDBInstance& WithState(const Aws::String& value) { SetState(value); return *this;}
459 
463  inline ReservedDBInstance& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
464 
468  inline ReservedDBInstance& WithState(const char* value) { SetState(value); return *this;}
469 
470 
474  inline const Aws::Vector<RecurringCharge>& GetRecurringCharges() const{ return m_recurringCharges; }
475 
479  inline bool RecurringChargesHasBeenSet() const { return m_recurringChargesHasBeenSet; }
480 
484  inline void SetRecurringCharges(const Aws::Vector<RecurringCharge>& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = value; }
485 
489  inline void SetRecurringCharges(Aws::Vector<RecurringCharge>&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = std::move(value); }
490 
494  inline ReservedDBInstance& WithRecurringCharges(const Aws::Vector<RecurringCharge>& value) { SetRecurringCharges(value); return *this;}
495 
499  inline ReservedDBInstance& WithRecurringCharges(Aws::Vector<RecurringCharge>&& value) { SetRecurringCharges(std::move(value)); return *this;}
500 
504  inline ReservedDBInstance& AddRecurringCharges(const RecurringCharge& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(value); return *this; }
505 
509  inline ReservedDBInstance& AddRecurringCharges(RecurringCharge&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(std::move(value)); return *this; }
510 
511 
515  inline const Aws::String& GetReservedDBInstanceArn() const{ return m_reservedDBInstanceArn; }
516 
520  inline bool ReservedDBInstanceArnHasBeenSet() const { return m_reservedDBInstanceArnHasBeenSet; }
521 
525  inline void SetReservedDBInstanceArn(const Aws::String& value) { m_reservedDBInstanceArnHasBeenSet = true; m_reservedDBInstanceArn = value; }
526 
530  inline void SetReservedDBInstanceArn(Aws::String&& value) { m_reservedDBInstanceArnHasBeenSet = true; m_reservedDBInstanceArn = std::move(value); }
531 
535  inline void SetReservedDBInstanceArn(const char* value) { m_reservedDBInstanceArnHasBeenSet = true; m_reservedDBInstanceArn.assign(value); }
536 
540  inline ReservedDBInstance& WithReservedDBInstanceArn(const Aws::String& value) { SetReservedDBInstanceArn(value); return *this;}
541 
545  inline ReservedDBInstance& WithReservedDBInstanceArn(Aws::String&& value) { SetReservedDBInstanceArn(std::move(value)); return *this;}
546 
550  inline ReservedDBInstance& WithReservedDBInstanceArn(const char* value) { SetReservedDBInstanceArn(value); return *this;}
551 
552 
558  inline const Aws::String& GetLeaseId() const{ return m_leaseId; }
559 
565  inline bool LeaseIdHasBeenSet() const { return m_leaseIdHasBeenSet; }
566 
572  inline void SetLeaseId(const Aws::String& value) { m_leaseIdHasBeenSet = true; m_leaseId = value; }
573 
579  inline void SetLeaseId(Aws::String&& value) { m_leaseIdHasBeenSet = true; m_leaseId = std::move(value); }
580 
586  inline void SetLeaseId(const char* value) { m_leaseIdHasBeenSet = true; m_leaseId.assign(value); }
587 
593  inline ReservedDBInstance& WithLeaseId(const Aws::String& value) { SetLeaseId(value); return *this;}
594 
600  inline ReservedDBInstance& WithLeaseId(Aws::String&& value) { SetLeaseId(std::move(value)); return *this;}
601 
607  inline ReservedDBInstance& WithLeaseId(const char* value) { SetLeaseId(value); return *this;}
608 
609  private:
610 
611  Aws::String m_reservedDBInstanceId;
612  bool m_reservedDBInstanceIdHasBeenSet;
613 
614  Aws::String m_reservedDBInstancesOfferingId;
615  bool m_reservedDBInstancesOfferingIdHasBeenSet;
616 
617  Aws::String m_dBInstanceClass;
618  bool m_dBInstanceClassHasBeenSet;
619 
620  Aws::Utils::DateTime m_startTime;
621  bool m_startTimeHasBeenSet;
622 
623  int m_duration;
624  bool m_durationHasBeenSet;
625 
626  double m_fixedPrice;
627  bool m_fixedPriceHasBeenSet;
628 
629  double m_usagePrice;
630  bool m_usagePriceHasBeenSet;
631 
632  Aws::String m_currencyCode;
633  bool m_currencyCodeHasBeenSet;
634 
635  int m_dBInstanceCount;
636  bool m_dBInstanceCountHasBeenSet;
637 
638  Aws::String m_productDescription;
639  bool m_productDescriptionHasBeenSet;
640 
641  Aws::String m_offeringType;
642  bool m_offeringTypeHasBeenSet;
643 
644  bool m_multiAZ;
645  bool m_multiAZHasBeenSet;
646 
647  Aws::String m_state;
648  bool m_stateHasBeenSet;
649 
650  Aws::Vector<RecurringCharge> m_recurringCharges;
651  bool m_recurringChargesHasBeenSet;
652 
653  Aws::String m_reservedDBInstanceArn;
654  bool m_reservedDBInstanceArnHasBeenSet;
655 
656  Aws::String m_leaseId;
657  bool m_leaseIdHasBeenSet;
658  };
659 
660 } // namespace Model
661 } // namespace RDS
662 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RDS::Model::ReservedDBInstance::SetReservedDBInstancesOfferingId
void SetReservedDBInstancesOfferingId(Aws::String &&value)
Definition: ReservedDBInstance.h:107
Aws::RDS::Model::ReservedDBInstance::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ReservedDBInstance.h:189
Aws::RDS::Model::ReservedDBInstance::WithLeaseId
ReservedDBInstance & WithLeaseId(const char *value)
Definition: ReservedDBInstance.h:607
Aws::RDS::Model::ReservedDBInstance::ReservedDBInstanceIdHasBeenSet
bool ReservedDBInstanceIdHasBeenSet() const
Definition: ReservedDBInstance.h:56
Aws::RDS::Model::ReservedDBInstance::SetUsagePrice
void SetUsagePrice(double value)
Definition: ReservedDBInstance.h:257
Aws::RDS::Model::ReservedDBInstance::WithDBInstanceClass
ReservedDBInstance & WithDBInstanceClass(const char *value)
Definition: ReservedDBInstance.h:168
Aws::RDS::Model::ReservedDBInstance::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ReservedDBInstance.h:179
Aws::RDS::Model::ReservedDBInstance::MultiAZHasBeenSet
bool MultiAZHasBeenSet() const
Definition: ReservedDBInstance.h:417
Aws::RDS::Model::ReservedDBInstance::WithDBInstanceClass
ReservedDBInstance & WithDBInstanceClass(Aws::String &&value)
Definition: ReservedDBInstance.h:163
Aws::RDS::Model::ReservedDBInstance::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ReservedDBInstance.h:184
Aws::RDS::Model::ReservedDBInstance::WithReservedDBInstancesOfferingId
ReservedDBInstance & WithReservedDBInstancesOfferingId(const char *value)
Definition: ReservedDBInstance.h:127
Aws::RDS::Model::RecurringCharge
Definition: RecurringCharge.h:35
Aws::RDS::Model::ReservedDBInstance::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ReservedDBInstance.h:174
Aws::RDS::Model::ReservedDBInstance::WithReservedDBInstancesOfferingId
ReservedDBInstance & WithReservedDBInstancesOfferingId(const Aws::String &value)
Definition: ReservedDBInstance.h:117
Aws::RDS::Model::ReservedDBInstance::WithCurrencyCode
ReservedDBInstance & WithCurrencyCode(Aws::String &&value)
Definition: ReservedDBInstance.h:298
Aws::RDS::Model::ReservedDBInstance
Definition: ReservedDBInstance.h:38
Aws::RDS::Model::ReservedDBInstance::WithLeaseId
ReservedDBInstance & WithLeaseId(Aws::String &&value)
Definition: ReservedDBInstance.h:600
Aws::RDS::Model::ReservedDBInstance::SetOfferingType
void SetOfferingType(const char *value)
Definition: ReservedDBInstance.h:391
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
DateTime.h
Aws::RDS::Model::ReservedDBInstance::WithDuration
ReservedDBInstance & WithDuration(int value)
Definition: ReservedDBInstance.h:220
Aws::RDS::Model::ReservedDBInstance::SetDBInstanceClass
void SetDBInstanceClass(Aws::String &&value)
Definition: ReservedDBInstance.h:148
Aws::RDS::Model::ReservedDBInstance::WithReservedDBInstanceArn
ReservedDBInstance & WithReservedDBInstanceArn(const char *value)
Definition: ReservedDBInstance.h:550
Aws::RDS::Model::ReservedDBInstance::WithLeaseId
ReservedDBInstance & WithLeaseId(const Aws::String &value)
Definition: ReservedDBInstance.h:593
Aws::RDS::Model::ReservedDBInstance::WithFixedPrice
ReservedDBInstance & WithFixedPrice(double value)
Definition: ReservedDBInstance.h:241
Aws::RDS::Model::ReservedDBInstance::SetDuration
void SetDuration(int value)
Definition: ReservedDBInstance.h:215
Aws::RDS::Model::ReservedDBInstance::FixedPriceHasBeenSet
bool FixedPriceHasBeenSet() const
Definition: ReservedDBInstance.h:231
Aws::RDS::Model::ReservedDBInstance::DurationHasBeenSet
bool DurationHasBeenSet() const
Definition: ReservedDBInstance.h:210
Aws::RDS::Model::ReservedDBInstance::GetDuration
int GetDuration() const
Definition: ReservedDBInstance.h:205
Aws::RDS::Model::ReservedDBInstance::DBInstanceClassHasBeenSet
bool DBInstanceClassHasBeenSet() const
Definition: ReservedDBInstance.h:138
Aws::RDS::Model::ReservedDBInstance::SetReservedDBInstanceArn
void SetReservedDBInstanceArn(const Aws::String &value)
Definition: ReservedDBInstance.h:525
Aws::RDS::Model::ReservedDBInstance::RecurringChargesHasBeenSet
bool RecurringChargesHasBeenSet() const
Definition: ReservedDBInstance.h:479
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ReservedDBInstance::WithReservedDBInstanceArn
ReservedDBInstance & WithReservedDBInstanceArn(const Aws::String &value)
Definition: ReservedDBInstance.h:540
AWSStreamFwd.h
Aws::RDS::Model::ReservedDBInstance::WithOfferingType
ReservedDBInstance & WithOfferingType(const Aws::String &value)
Definition: ReservedDBInstance.h:396
Aws::RDS::Model::ReservedDBInstance::WithReservedDBInstanceId
ReservedDBInstance & WithReservedDBInstanceId(const char *value)
Definition: ReservedDBInstance.h:86
Aws::RDS::Model::ReservedDBInstance::SetDBInstanceClass
void SetDBInstanceClass(const Aws::String &value)
Definition: ReservedDBInstance.h:143
Aws::RDS::Model::ReservedDBInstance::WithProductDescription
ReservedDBInstance & WithProductDescription(const Aws::String &value)
Definition: ReservedDBInstance.h:355
AWSVector.h
Aws::RDS::Model::ReservedDBInstance::WithRecurringCharges
ReservedDBInstance & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
Definition: ReservedDBInstance.h:499
Aws::RDS::Model::ReservedDBInstance::ReservedDBInstance
ReservedDBInstance()
Aws::RDS::Model::ReservedDBInstance::SetState
void SetState(const char *value)
Definition: ReservedDBInstance.h:453
Aws::RDS::Model::ReservedDBInstance::GetReservedDBInstanceArn
const Aws::String & GetReservedDBInstanceArn() const
Definition: ReservedDBInstance.h:515
Aws::RDS::Model::ReservedDBInstance::SetReservedDBInstanceArn
void SetReservedDBInstanceArn(const char *value)
Definition: ReservedDBInstance.h:535
Aws::RDS::Model::ReservedDBInstance::GetProductDescription
const Aws::String & GetProductDescription() const
Definition: ReservedDBInstance.h:330
Aws::RDS::Model::ReservedDBInstance::SetState
void SetState(const Aws::String &value)
Definition: ReservedDBInstance.h:443
Aws::RDS::Model::ReservedDBInstance::SetFixedPrice
void SetFixedPrice(double value)
Definition: ReservedDBInstance.h:236
Aws::RDS::Model::ReservedDBInstance::WithState
ReservedDBInstance & WithState(const Aws::String &value)
Definition: ReservedDBInstance.h:458
Aws::RDS::Model::ReservedDBInstance::operator=
ReservedDBInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::ReservedDBInstance::ReservedDBInstanceArnHasBeenSet
bool ReservedDBInstanceArnHasBeenSet() const
Definition: ReservedDBInstance.h:520
Aws::RDS::Model::ReservedDBInstance::LeaseIdHasBeenSet
bool LeaseIdHasBeenSet() const
Definition: ReservedDBInstance.h:565
Aws::RDS::Model::ReservedDBInstance::GetDBInstanceCount
int GetDBInstanceCount() const
Definition: ReservedDBInstance.h:309
Aws::RDS::Model::ReservedDBInstance::ReservedDBInstance
ReservedDBInstance(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::ReservedDBInstance::GetOfferingType
const Aws::String & GetOfferingType() const
Definition: ReservedDBInstance.h:371
Aws::RDS::Model::ReservedDBInstance::WithState
ReservedDBInstance & WithState(Aws::String &&value)
Definition: ReservedDBInstance.h:463
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::ReservedDBInstance::WithDBInstanceClass
ReservedDBInstance & WithDBInstanceClass(const Aws::String &value)
Definition: ReservedDBInstance.h:158
Aws::RDS::Model::ReservedDBInstance::SetReservedDBInstanceId
void SetReservedDBInstanceId(const Aws::String &value)
Definition: ReservedDBInstance.h:61
Aws::RDS::Model::ReservedDBInstance::SetMultiAZ
void SetMultiAZ(bool value)
Definition: ReservedDBInstance.h:422
RDS_EXPORTS.h
Aws::RDS::Model::ReservedDBInstance::SetCurrencyCode
void SetCurrencyCode(const char *value)
Definition: ReservedDBInstance.h:288
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::ReservedDBInstance::WithStartTime
ReservedDBInstance & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ReservedDBInstance.h:194
Aws::RDS::Model::ReservedDBInstance::WithCurrencyCode
ReservedDBInstance & WithCurrencyCode(const char *value)
Definition: ReservedDBInstance.h:303
Aws::RDS::Model::ReservedDBInstance::SetDBInstanceCount
void SetDBInstanceCount(int value)
Definition: ReservedDBInstance.h:319
Aws::RDS::Model::ReservedDBInstance::GetReservedDBInstancesOfferingId
const Aws::String & GetReservedDBInstancesOfferingId() const
Definition: ReservedDBInstance.h:92
Aws::RDS::Model::ReservedDBInstance::ReservedDBInstancesOfferingIdHasBeenSet
bool ReservedDBInstancesOfferingIdHasBeenSet() const
Definition: ReservedDBInstance.h:97
Aws::RDS::Model::ReservedDBInstance::CurrencyCodeHasBeenSet
bool CurrencyCodeHasBeenSet() const
Definition: ReservedDBInstance.h:273
Aws::RDS::Model::ReservedDBInstance::SetReservedDBInstanceId
void SetReservedDBInstanceId(Aws::String &&value)
Definition: ReservedDBInstance.h:66
Aws::RDS::Model::ReservedDBInstance::GetFixedPrice
double GetFixedPrice() const
Definition: ReservedDBInstance.h:226
Aws::RDS::Model::ReservedDBInstance::WithState
ReservedDBInstance & WithState(const char *value)
Definition: ReservedDBInstance.h:468
Aws::RDS::Model::ReservedDBInstance::WithProductDescription
ReservedDBInstance & WithProductDescription(const char *value)
Definition: ReservedDBInstance.h:365
RecurringCharge.h
Aws::RDS::Model::ReservedDBInstance::SetCurrencyCode
void SetCurrencyCode(const Aws::String &value)
Definition: ReservedDBInstance.h:278
Aws::RDS::Model::ReservedDBInstance::GetMultiAZ
bool GetMultiAZ() const
Definition: ReservedDBInstance.h:412
Aws::RDS::Model::ReservedDBInstance::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::ReservedDBInstance::AddRecurringCharges
ReservedDBInstance & AddRecurringCharges(RecurringCharge &&value)
Definition: ReservedDBInstance.h:509
Aws::RDS::Model::ReservedDBInstance::SetReservedDBInstanceId
void SetReservedDBInstanceId(const char *value)
Definition: ReservedDBInstance.h:71
Aws::RDS::Model::ReservedDBInstance::GetRecurringCharges
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
Definition: ReservedDBInstance.h:474
AWSString.h
Aws::RDS::Model::ReservedDBInstance::GetLeaseId
const Aws::String & GetLeaseId() const
Definition: ReservedDBInstance.h:558
Aws::RDS::Model::ReservedDBInstance::UsagePriceHasBeenSet
bool UsagePriceHasBeenSet() const
Definition: ReservedDBInstance.h:252
Aws::RDS::Model::ReservedDBInstance::WithCurrencyCode
ReservedDBInstance & WithCurrencyCode(const Aws::String &value)
Definition: ReservedDBInstance.h:293
Aws::RDS::Model::ReservedDBInstance::GetDBInstanceClass
const Aws::String & GetDBInstanceClass() const
Definition: ReservedDBInstance.h:133
Aws::RDS::Model::ReservedDBInstance::WithReservedDBInstanceId
ReservedDBInstance & WithReservedDBInstanceId(const Aws::String &value)
Definition: ReservedDBInstance.h:76
Aws::RDS::Model::ReservedDBInstance::GetCurrencyCode
const Aws::String & GetCurrencyCode() const
Definition: ReservedDBInstance.h:268
Aws::RDS::Model::ReservedDBInstance::WithUsagePrice
ReservedDBInstance & WithUsagePrice(double value)
Definition: ReservedDBInstance.h:262
Aws::RDS::Model::ReservedDBInstance::ProductDescriptionHasBeenSet
bool ProductDescriptionHasBeenSet() const
Definition: ReservedDBInstance.h:335
Aws::RDS::Model::ReservedDBInstance::SetOfferingType
void SetOfferingType(const Aws::String &value)
Definition: ReservedDBInstance.h:381
Aws::RDS::Model::ReservedDBInstance::WithProductDescription
ReservedDBInstance & WithProductDescription(Aws::String &&value)
Definition: ReservedDBInstance.h:360
Aws::RDS::Model::ReservedDBInstance::SetOfferingType
void SetOfferingType(Aws::String &&value)
Definition: ReservedDBInstance.h:386
Aws::RDS::Model::ReservedDBInstance::WithMultiAZ
ReservedDBInstance & WithMultiAZ(bool value)
Definition: ReservedDBInstance.h:427
Aws::RDS::Model::ReservedDBInstance::GetReservedDBInstanceId
const Aws::String & GetReservedDBInstanceId() const
Definition: ReservedDBInstance.h:51
Aws::RDS::Model::ReservedDBInstance::SetProductDescription
void SetProductDescription(const char *value)
Definition: ReservedDBInstance.h:350
Aws::RDS::Model::ReservedDBInstance::SetProductDescription
void SetProductDescription(const Aws::String &value)
Definition: ReservedDBInstance.h:340
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ReservedDBInstance::WithReservedDBInstanceArn
ReservedDBInstance & WithReservedDBInstanceArn(Aws::String &&value)
Definition: ReservedDBInstance.h:545
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ReservedDBInstance::WithStartTime
ReservedDBInstance & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ReservedDBInstance.h:199
Aws::RDS::Model::ReservedDBInstance::SetReservedDBInstancesOfferingId
void SetReservedDBInstancesOfferingId(const char *value)
Definition: ReservedDBInstance.h:112
Aws::RDS::Model::ReservedDBInstance::SetDBInstanceClass
void SetDBInstanceClass(const char *value)
Definition: ReservedDBInstance.h:153
Aws::RDS::Model::ReservedDBInstance::SetLeaseId
void SetLeaseId(const char *value)
Definition: ReservedDBInstance.h:586
Aws::RDS::Model::ReservedDBInstance::SetLeaseId
void SetLeaseId(const Aws::String &value)
Definition: ReservedDBInstance.h:572
Aws::RDS::Model::ReservedDBInstance::WithDBInstanceCount
ReservedDBInstance & WithDBInstanceCount(int value)
Definition: ReservedDBInstance.h:324
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ReservedDBInstance::AddRecurringCharges
ReservedDBInstance & AddRecurringCharges(const RecurringCharge &value)
Definition: ReservedDBInstance.h:504
Aws::RDS::Model::ReservedDBInstance::SetReservedDBInstanceArn
void SetReservedDBInstanceArn(Aws::String &&value)
Definition: ReservedDBInstance.h:530
Aws::RDS::Model::ReservedDBInstance::WithReservedDBInstanceId
ReservedDBInstance & WithReservedDBInstanceId(Aws::String &&value)
Definition: ReservedDBInstance.h:81
Aws::RDS::Model::ReservedDBInstance::WithOfferingType
ReservedDBInstance & WithOfferingType(const char *value)
Definition: ReservedDBInstance.h:406
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::ReservedDBInstance::WithOfferingType
ReservedDBInstance & WithOfferingType(Aws::String &&value)
Definition: ReservedDBInstance.h:401
Aws::RDS::Model::ReservedDBInstance::StateHasBeenSet
bool StateHasBeenSet() const
Definition: ReservedDBInstance.h:438
Aws::RDS::Model::ReservedDBInstance::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::ReservedDBInstance::SetRecurringCharges
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
Definition: ReservedDBInstance.h:489
Aws::RDS::Model::ReservedDBInstance::OfferingTypeHasBeenSet
bool OfferingTypeHasBeenSet() const
Definition: ReservedDBInstance.h:376
Aws::RDS::Model::ReservedDBInstance::SetState
void SetState(Aws::String &&value)
Definition: ReservedDBInstance.h:448
Aws::RDS::Model::ReservedDBInstance::SetRecurringCharges
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
Definition: ReservedDBInstance.h:484
Aws::RDS::Model::ReservedDBInstance::WithReservedDBInstancesOfferingId
ReservedDBInstance & WithReservedDBInstancesOfferingId(Aws::String &&value)
Definition: ReservedDBInstance.h:122
Aws::RDS::Model::ReservedDBInstance::SetProductDescription
void SetProductDescription(Aws::String &&value)
Definition: ReservedDBInstance.h:345
Aws::RDS::Model::ReservedDBInstance::SetCurrencyCode
void SetCurrencyCode(Aws::String &&value)
Definition: ReservedDBInstance.h:283
Aws::RDS::Model::ReservedDBInstance::GetState
const Aws::String & GetState() const
Definition: ReservedDBInstance.h:433
Aws::RDS::Model::ReservedDBInstance::DBInstanceCountHasBeenSet
bool DBInstanceCountHasBeenSet() const
Definition: ReservedDBInstance.h:314
Aws::RDS::Model::ReservedDBInstance::GetUsagePrice
double GetUsagePrice() const
Definition: ReservedDBInstance.h:247
Aws::RDS::Model::ReservedDBInstance::WithRecurringCharges
ReservedDBInstance & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
Definition: ReservedDBInstance.h:494
Aws::RDS::Model::ReservedDBInstance::SetLeaseId
void SetLeaseId(Aws::String &&value)
Definition: ReservedDBInstance.h:579
Aws::RDS::Model::ReservedDBInstance::SetReservedDBInstancesOfferingId
void SetReservedDBInstancesOfferingId(const Aws::String &value)
Definition: ReservedDBInstance.h:102