7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rds/model/RecurringCharge.h>
56 inline void SetReservedDBInstanceId(
const char* value) { m_reservedDBInstanceIdHasBeenSet =
true; m_reservedDBInstanceId.assign(value); }
84 inline void SetDBInstanceClass(
const char* value) { m_dBInstanceClassHasBeenSet =
true; m_dBInstanceClass.assign(value); }
108 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
118 inline void SetFixedPrice(
double value) { m_fixedPriceHasBeenSet =
true; m_fixedPrice = value; }
128 inline void SetUsagePrice(
double value) { m_usagePriceHasBeenSet =
true; m_usagePrice = value; }
140 inline void SetCurrencyCode(
const char* value) { m_currencyCodeHasBeenSet =
true; m_currencyCode.assign(value); }
152 inline void SetDBInstanceCount(
int value) { m_dBInstanceCountHasBeenSet =
true; m_dBInstanceCount = value; }
164 inline void SetProductDescription(
const char* value) { m_productDescriptionHasBeenSet =
true; m_productDescription.assign(value); }
178 inline void SetOfferingType(
const char* value) { m_offeringTypeHasBeenSet =
true; m_offeringType.assign(value); }
190 inline void SetMultiAZ(
bool value) { m_multiAZHasBeenSet =
true; m_multiAZ = value; }
202 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
230 inline void SetReservedDBInstanceArn(
const char* value) { m_reservedDBInstanceArnHasBeenSet =
true; m_reservedDBInstanceArn.assign(value); }
246 inline void SetLeaseId(
const char* value) { m_leaseIdHasBeenSet =
true; m_leaseId.assign(value); }
254 bool m_reservedDBInstanceIdHasBeenSet =
false;
257 bool m_reservedDBInstancesOfferingIdHasBeenSet =
false;
260 bool m_dBInstanceClassHasBeenSet =
false;
263 bool m_startTimeHasBeenSet =
false;
266 bool m_durationHasBeenSet =
false;
269 bool m_fixedPriceHasBeenSet =
false;
272 bool m_usagePriceHasBeenSet =
false;
275 bool m_currencyCodeHasBeenSet =
false;
277 int m_dBInstanceCount;
278 bool m_dBInstanceCountHasBeenSet =
false;
281 bool m_productDescriptionHasBeenSet =
false;
284 bool m_offeringTypeHasBeenSet =
false;
287 bool m_multiAZHasBeenSet =
false;
290 bool m_stateHasBeenSet =
false;
293 bool m_recurringChargesHasBeenSet =
false;
296 bool m_reservedDBInstanceArnHasBeenSet =
false;
299 bool m_leaseIdHasBeenSet =
false;
void SetReservedDBInstanceId(const Aws::String &value)
ReservedDBInstance & WithDBInstanceClass(const Aws::String &value)
void SetState(const Aws::String &value)
void SetReservedDBInstanceArn(const Aws::String &value)
ReservedDBInstance & WithUsagePrice(double value)
void SetOfferingType(Aws::String &&value)
const Aws::String & GetState() const
ReservedDBInstance & WithProductDescription(const char *value)
ReservedDBInstance & WithLeaseId(Aws::String &&value)
double GetUsagePrice() const
const Aws::String & GetProductDescription() const
ReservedDBInstance & WithLeaseId(const Aws::String &value)
ReservedDBInstance & WithReservedDBInstanceId(Aws::String &&value)
ReservedDBInstance & WithProductDescription(Aws::String &&value)
void SetReservedDBInstanceId(Aws::String &&value)
const Aws::String & GetDBInstanceClass() const
void SetUsagePrice(double value)
void SetLeaseId(const char *value)
ReservedDBInstance & WithReservedDBInstancesOfferingId(Aws::String &&value)
ReservedDBInstance & WithReservedDBInstancesOfferingId(const Aws::String &value)
void SetOfferingType(const char *value)
bool ReservedDBInstanceIdHasBeenSet() const
void SetReservedDBInstanceArn(Aws::String &&value)
ReservedDBInstance & WithStartTime(Aws::Utils::DateTime &&value)
bool DBInstanceCountHasBeenSet() const
AWS_RDS_API ReservedDBInstance(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedDBInstance & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
ReservedDBInstance & WithCurrencyCode(const char *value)
ReservedDBInstance & WithOfferingType(Aws::String &&value)
ReservedDBInstance & WithStartTime(const Aws::Utils::DateTime &value)
ReservedDBInstance & WithDBInstanceCount(int value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ReservedDBInstancesOfferingIdHasBeenSet() const
ReservedDBInstance & WithState(const char *value)
void SetReservedDBInstanceArn(const char *value)
void SetDuration(int value)
ReservedDBInstance & WithState(const Aws::String &value)
ReservedDBInstance & WithMultiAZ(bool value)
AWS_RDS_API ReservedDBInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedDBInstance & WithCurrencyCode(Aws::String &&value)
AWS_RDS_API ReservedDBInstance()
const Aws::String & GetReservedDBInstanceArn() const
void SetProductDescription(const Aws::String &value)
void SetLeaseId(Aws::String &&value)
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
ReservedDBInstance & WithReservedDBInstanceArn(const Aws::String &value)
const Aws::String & GetLeaseId() const
ReservedDBInstance & WithReservedDBInstanceId(const char *value)
void SetLeaseId(const Aws::String &value)
const Aws::String & GetReservedDBInstancesOfferingId() const
ReservedDBInstance & WithReservedDBInstanceId(const Aws::String &value)
ReservedDBInstance & WithDBInstanceClass(const char *value)
bool LeaseIdHasBeenSet() const
void SetReservedDBInstancesOfferingId(const char *value)
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
ReservedDBInstance & AddRecurringCharges(const RecurringCharge &value)
ReservedDBInstance & WithLeaseId(const char *value)
ReservedDBInstance & WithDBInstanceClass(Aws::String &&value)
ReservedDBInstance & AddRecurringCharges(RecurringCharge &&value)
void SetFixedPrice(double value)
void SetProductDescription(const char *value)
ReservedDBInstance & WithOfferingType(const char *value)
bool ProductDescriptionHasBeenSet() const
bool ReservedDBInstanceArnHasBeenSet() const
ReservedDBInstance & WithCurrencyCode(const Aws::String &value)
void SetCurrencyCode(Aws::String &&value)
bool DBInstanceClassHasBeenSet() const
const Aws::String & GetCurrencyCode() const
ReservedDBInstance & WithReservedDBInstanceArn(const char *value)
void SetCurrencyCode(const Aws::String &value)
void SetDBInstanceCount(int value)
bool MultiAZHasBeenSet() const
ReservedDBInstance & WithReservedDBInstanceArn(Aws::String &&value)
void SetDBInstanceClass(const char *value)
const Aws::String & GetOfferingType() const
double GetFixedPrice() const
ReservedDBInstance & WithReservedDBInstancesOfferingId(const char *value)
bool CurrencyCodeHasBeenSet() const
ReservedDBInstance & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
bool RecurringChargesHasBeenSet() const
int GetDBInstanceCount() const
bool StartTimeHasBeenSet() const
void SetReservedDBInstanceId(const char *value)
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetStartTime() const
bool DurationHasBeenSet() const
void SetState(Aws::String &&value)
bool StateHasBeenSet() const
bool FixedPriceHasBeenSet() const
bool OfferingTypeHasBeenSet() const
void SetMultiAZ(bool value)
ReservedDBInstance & WithDuration(int value)
void SetProductDescription(Aws::String &&value)
void SetDBInstanceClass(const Aws::String &value)
ReservedDBInstance & WithState(Aws::String &&value)
const Aws::String & GetReservedDBInstanceId() const
ReservedDBInstance & WithFixedPrice(double value)
void SetReservedDBInstancesOfferingId(const Aws::String &value)
void SetOfferingType(const Aws::String &value)
void SetDBInstanceClass(Aws::String &&value)
ReservedDBInstance & WithProductDescription(const Aws::String &value)
ReservedDBInstance & WithOfferingType(const Aws::String &value)
void SetReservedDBInstancesOfferingId(Aws::String &&value)
bool UsagePriceHasBeenSet() const
void SetCurrencyCode(const char *value)
void SetState(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream