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/memory/stl/AWSVector.h>
11#include <aws/rds/model/RecurringCharge.h>
68 inline void SetDBInstanceClass(
const char* value) { m_dBInstanceClassHasBeenSet =
true; m_dBInstanceClass.assign(value); }
80 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
90 inline void SetFixedPrice(
double value) { m_fixedPriceHasBeenSet =
true; m_fixedPrice = value; }
100 inline void SetUsagePrice(
double value) { m_usagePriceHasBeenSet =
true; m_usagePrice = value; }
112 inline void SetCurrencyCode(
const char* value) { m_currencyCodeHasBeenSet =
true; m_currencyCode.assign(value); }
126 inline void SetProductDescription(
const char* value) { m_productDescriptionHasBeenSet =
true; m_productDescription.assign(value); }
140 inline void SetOfferingType(
const char* value) { m_offeringTypeHasBeenSet =
true; m_offeringType.assign(value); }
152 inline void SetMultiAZ(
bool value) { m_multiAZHasBeenSet =
true; m_multiAZ = value; }
172 bool m_reservedDBInstancesOfferingIdHasBeenSet =
false;
175 bool m_dBInstanceClassHasBeenSet =
false;
178 bool m_durationHasBeenSet =
false;
181 bool m_fixedPriceHasBeenSet =
false;
184 bool m_usagePriceHasBeenSet =
false;
187 bool m_currencyCodeHasBeenSet =
false;
190 bool m_productDescriptionHasBeenSet =
false;
193 bool m_offeringTypeHasBeenSet =
false;
196 bool m_multiAZHasBeenSet =
false;
199 bool m_recurringChargesHasBeenSet =
false;
ReservedDBInstancesOffering & WithOfferingType(const Aws::String &value)
const Aws::String & GetOfferingType() const
ReservedDBInstancesOffering & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
ReservedDBInstancesOffering & WithFixedPrice(double value)
bool MultiAZHasBeenSet() const
ReservedDBInstancesOffering & WithDuration(int value)
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
ReservedDBInstancesOffering & AddRecurringCharges(const RecurringCharge &value)
void SetReservedDBInstancesOfferingId(Aws::String &&value)
void SetCurrencyCode(const Aws::String &value)
double GetFixedPrice() const
ReservedDBInstancesOffering & WithCurrencyCode(Aws::String &&value)
ReservedDBInstancesOffering & WithReservedDBInstancesOfferingId(Aws::String &&value)
void SetUsagePrice(double value)
void SetReservedDBInstancesOfferingId(const Aws::String &value)
ReservedDBInstancesOffering & WithOfferingType(const char *value)
bool ReservedDBInstancesOfferingIdHasBeenSet() const
ReservedDBInstancesOffering & WithOfferingType(Aws::String &&value)
AWS_RDS_API ReservedDBInstancesOffering(const Aws::Utils::Xml::XmlNode &xmlNode)
double GetUsagePrice() const
void SetProductDescription(const Aws::String &value)
void SetProductDescription(const char *value)
ReservedDBInstancesOffering & WithDBInstanceClass(const Aws::String &value)
void SetDBInstanceClass(const char *value)
ReservedDBInstancesOffering & WithReservedDBInstancesOfferingId(const Aws::String &value)
bool ProductDescriptionHasBeenSet() const
void SetOfferingType(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReservedDBInstancesOffering & WithCurrencyCode(const char *value)
ReservedDBInstancesOffering & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
ReservedDBInstancesOffering & WithMultiAZ(bool value)
void SetFixedPrice(double value)
ReservedDBInstancesOffering & WithCurrencyCode(const Aws::String &value)
void SetOfferingType(Aws::String &&value)
bool OfferingTypeHasBeenSet() const
void SetMultiAZ(bool value)
AWS_RDS_API ReservedDBInstancesOffering()
ReservedDBInstancesOffering & WithReservedDBInstancesOfferingId(const char *value)
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
bool DBInstanceClassHasBeenSet() const
bool DurationHasBeenSet() const
const Aws::String & GetDBInstanceClass() const
void SetOfferingType(const Aws::String &value)
void SetProductDescription(Aws::String &&value)
const Aws::String & GetCurrencyCode() const
const Aws::String & GetReservedDBInstancesOfferingId() const
ReservedDBInstancesOffering & WithDBInstanceClass(Aws::String &&value)
ReservedDBInstancesOffering & WithProductDescription(const char *value)
void SetCurrencyCode(Aws::String &&value)
ReservedDBInstancesOffering & WithDBInstanceClass(const char *value)
bool CurrencyCodeHasBeenSet() const
AWS_RDS_API ReservedDBInstancesOffering & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReservedDBInstancesOffering & WithProductDescription(Aws::String &&value)
ReservedDBInstancesOffering & WithProductDescription(const Aws::String &value)
void SetCurrencyCode(const char *value)
void SetDBInstanceClass(Aws::String &&value)
void SetDuration(int value)
ReservedDBInstancesOffering & WithUsagePrice(double value)
bool FixedPriceHasBeenSet() const
const Aws::String & GetProductDescription() const
void SetDBInstanceClass(const Aws::String &value)
bool UsagePriceHasBeenSet() const
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
ReservedDBInstancesOffering & AddRecurringCharges(RecurringCharge &&value)
bool RecurringChargesHasBeenSet() const
void SetReservedDBInstancesOfferingId(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