7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/RecurringCharge.h>
46 template <
typename ReservedDBInstancesOfferingIdT = Aws::String>
48 m_reservedDBInstancesOfferingIdHasBeenSet =
true;
49 m_reservedDBInstancesOfferingId = std::forward<ReservedDBInstancesOfferingIdT>(value);
51 template <
typename ReservedDBInstancesOfferingIdT = Aws::String>
64 template <
typename DBInstanceClassT = Aws::String>
66 m_dBInstanceClassHasBeenSet =
true;
67 m_dBInstanceClass = std::forward<DBInstanceClassT>(value);
69 template <
typename DBInstanceClassT = Aws::String>
83 m_durationHasBeenSet =
true;
99 m_fixedPriceHasBeenSet =
true;
100 m_fixedPrice = value;
115 m_usagePriceHasBeenSet =
true;
116 m_usagePrice = value;
130 template <
typename CurrencyCodeT = Aws::String>
132 m_currencyCodeHasBeenSet =
true;
133 m_currencyCode = std::forward<CurrencyCodeT>(value);
135 template <
typename CurrencyCodeT = Aws::String>
148 template <
typename ProductDescriptionT = Aws::String>
150 m_productDescriptionHasBeenSet =
true;
151 m_productDescription = std::forward<ProductDescriptionT>(value);
153 template <
typename ProductDescriptionT = Aws::String>
166 template <
typename OfferingTypeT = Aws::String>
168 m_offeringTypeHasBeenSet =
true;
169 m_offeringType = std::forward<OfferingTypeT>(value);
171 template <
typename OfferingTypeT = Aws::String>
185 m_multiAZHasBeenSet =
true;
200 template <
typename RecurringChargesT = Aws::Vector<RecurringCharge>>
202 m_recurringChargesHasBeenSet =
true;
203 m_recurringCharges = std::forward<RecurringChargesT>(value);
205 template <
typename RecurringChargesT = Aws::Vector<RecurringCharge>>
210 template <
typename RecurringChargesT = RecurringCharge>
212 m_recurringChargesHasBeenSet =
true;
213 m_recurringCharges.emplace_back(std::forward<RecurringChargesT>(value));
224 double m_fixedPrice{0.0};
226 double m_usagePrice{0.0};
234 bool m_multiAZ{
false};
237 bool m_reservedDBInstancesOfferingIdHasBeenSet =
false;
238 bool m_dBInstanceClassHasBeenSet =
false;
239 bool m_durationHasBeenSet =
false;
240 bool m_fixedPriceHasBeenSet =
false;
241 bool m_usagePriceHasBeenSet =
false;
242 bool m_currencyCodeHasBeenSet =
false;
243 bool m_productDescriptionHasBeenSet =
false;
244 bool m_offeringTypeHasBeenSet =
false;
245 bool m_multiAZHasBeenSet =
false;
246 bool m_recurringChargesHasBeenSet =
false;
void SetRecurringCharges(RecurringChargesT &&value)
const Aws::String & GetOfferingType() const
ReservedDBInstancesOffering & WithFixedPrice(double value)
bool MultiAZHasBeenSet() const
ReservedDBInstancesOffering & WithDuration(int value)
double GetFixedPrice() const
void SetUsagePrice(double value)
bool ReservedDBInstancesOfferingIdHasBeenSet() const
AWS_RDS_API ReservedDBInstancesOffering(const Aws::Utils::Xml::XmlNode &xmlNode)
double GetUsagePrice() const
void SetOfferingType(OfferingTypeT &&value)
ReservedDBInstancesOffering & WithReservedDBInstancesOfferingId(ReservedDBInstancesOfferingIdT &&value)
ReservedDBInstancesOffering & AddRecurringCharges(RecurringChargesT &&value)
ReservedDBInstancesOffering & WithCurrencyCode(CurrencyCodeT &&value)
bool ProductDescriptionHasBeenSet() const
ReservedDBInstancesOffering & WithOfferingType(OfferingTypeT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReservedDBInstancesOffering & WithMultiAZ(bool value)
void SetFixedPrice(double value)
bool OfferingTypeHasBeenSet() const
void SetReservedDBInstancesOfferingId(ReservedDBInstancesOfferingIdT &&value)
void SetMultiAZ(bool value)
ReservedDBInstancesOffering & WithDBInstanceClass(DBInstanceClassT &&value)
void SetCurrencyCode(CurrencyCodeT &&value)
bool DBInstanceClassHasBeenSet() const
bool DurationHasBeenSet() const
const Aws::String & GetDBInstanceClass() const
void SetDBInstanceClass(DBInstanceClassT &&value)
const Aws::String & GetCurrencyCode() const
const Aws::String & GetReservedDBInstancesOfferingId() const
bool CurrencyCodeHasBeenSet() const
ReservedDBInstancesOffering & WithProductDescription(ProductDescriptionT &&value)
AWS_RDS_API ReservedDBInstancesOffering()=default
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
void SetProductDescription(ProductDescriptionT &&value)
void SetDuration(int value)
ReservedDBInstancesOffering & WithUsagePrice(double value)
bool FixedPriceHasBeenSet() const
const Aws::String & GetProductDescription() const
bool UsagePriceHasBeenSet() const
ReservedDBInstancesOffering & WithRecurringCharges(RecurringChargesT &&value)
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
bool RecurringChargesHasBeenSet() const
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