7#include <aws/redshift/Redshift_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/redshift/model/ReservedNodeOfferingType.h>
12#include <aws/redshift/model/RecurringCharge.h>
53 inline void SetReservedNodeOfferingId(
const char* value) { m_reservedNodeOfferingIdHasBeenSet =
true; m_reservedNodeOfferingId.assign(value); }
67 inline void SetNodeType(
const char* value) { m_nodeTypeHasBeenSet =
true; m_nodeType.assign(value); }
79 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
90 inline void SetFixedPrice(
double value) { m_fixedPriceHasBeenSet =
true; m_fixedPrice = value; }
101 inline void SetUsagePrice(
double value) { m_usagePriceHasBeenSet =
true; m_usagePrice = value; }
113 inline void SetCurrencyCode(
const char* value) { m_currencyCodeHasBeenSet =
true; m_currencyCode.assign(value); }
128 inline void SetOfferingType(
const char* value) { m_offeringTypeHasBeenSet =
true; m_offeringType.assign(value); }
164 bool m_reservedNodeOfferingIdHasBeenSet =
false;
167 bool m_nodeTypeHasBeenSet =
false;
170 bool m_durationHasBeenSet =
false;
173 bool m_fixedPriceHasBeenSet =
false;
176 bool m_usagePriceHasBeenSet =
false;
179 bool m_currencyCodeHasBeenSet =
false;
182 bool m_offeringTypeHasBeenSet =
false;
185 bool m_recurringChargesHasBeenSet =
false;
188 bool m_reservedNodeOfferingTypeHasBeenSet =
false;
void SetCurrencyCode(const Aws::String &value)
void SetFixedPrice(double value)
void SetDuration(int value)
void SetReservedNodeOfferingId(const char *value)
void SetReservedNodeOfferingType(const ReservedNodeOfferingType &value)
ReservedNodeOffering & WithUsagePrice(double value)
double GetUsagePrice() const
bool CurrencyCodeHasBeenSet() const
void SetReservedNodeOfferingId(const Aws::String &value)
void SetOfferingType(const Aws::String &value)
AWS_REDSHIFT_API ReservedNodeOffering(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedNodeOffering & WithCurrencyCode(const Aws::String &value)
void SetNodeType(const Aws::String &value)
ReservedNodeOffering & WithCurrencyCode(const char *value)
ReservedNodeOffering & WithNodeType(const Aws::String &value)
ReservedNodeOffering & WithDuration(int value)
void SetUsagePrice(double value)
const Aws::String & GetNodeType() const
void SetNodeType(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReservedNodeOffering & AddRecurringCharges(const RecurringCharge &value)
bool FixedPriceHasBeenSet() const
bool DurationHasBeenSet() const
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
bool ReservedNodeOfferingTypeHasBeenSet() const
void SetCurrencyCode(const char *value)
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
const Aws::String & GetReservedNodeOfferingId() const
void SetCurrencyCode(Aws::String &&value)
const ReservedNodeOfferingType & GetReservedNodeOfferingType() const
ReservedNodeOffering & WithOfferingType(const char *value)
double GetFixedPrice() const
ReservedNodeOffering & WithNodeType(const char *value)
ReservedNodeOffering & WithCurrencyCode(Aws::String &&value)
bool ReservedNodeOfferingIdHasBeenSet() const
void SetOfferingType(const char *value)
ReservedNodeOffering & WithReservedNodeOfferingId(const char *value)
ReservedNodeOffering & WithReservedNodeOfferingType(ReservedNodeOfferingType &&value)
ReservedNodeOffering & WithOfferingType(const Aws::String &value)
void SetNodeType(const char *value)
ReservedNodeOffering & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
bool NodeTypeHasBeenSet() const
void SetReservedNodeOfferingId(Aws::String &&value)
ReservedNodeOffering & WithOfferingType(Aws::String &&value)
bool RecurringChargesHasBeenSet() const
const Aws::String & GetOfferingType() const
ReservedNodeOffering & WithFixedPrice(double value)
ReservedNodeOffering & WithNodeType(Aws::String &&value)
void SetOfferingType(Aws::String &&value)
void SetReservedNodeOfferingType(ReservedNodeOfferingType &&value)
AWS_REDSHIFT_API ReservedNodeOffering & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCurrencyCode() const
AWS_REDSHIFT_API ReservedNodeOffering()
ReservedNodeOffering & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReservedNodeOffering & AddRecurringCharges(RecurringCharge &&value)
ReservedNodeOffering & WithReservedNodeOfferingType(const ReservedNodeOfferingType &value)
ReservedNodeOffering & WithReservedNodeOfferingId(Aws::String &&value)
bool OfferingTypeHasBeenSet() const
bool UsagePriceHasBeenSet() const
ReservedNodeOffering & WithReservedNodeOfferingId(const Aws::String &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