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/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/redshift/model/ReservedNodeOfferingType.h>
13#include <aws/redshift/model/RecurringCharge.h>
56 inline void SetReservedNodeId(
const char* value) { m_reservedNodeIdHasBeenSet =
true; m_reservedNodeId.assign(value); }
70 inline void SetReservedNodeOfferingId(
const char* value) { m_reservedNodeOfferingIdHasBeenSet =
true; m_reservedNodeOfferingId.assign(value); }
84 inline void SetNodeType(
const char* value) { m_nodeTypeHasBeenSet =
true; m_nodeType.assign(value); }
109 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
119 inline void SetFixedPrice(
double value) { m_fixedPriceHasBeenSet =
true; m_fixedPrice = value; }
129 inline void SetUsagePrice(
double value) { m_usagePriceHasBeenSet =
true; m_usagePrice = value; }
141 inline void SetCurrencyCode(
const char* value) { m_currencyCodeHasBeenSet =
true; m_currencyCode.assign(value); }
153 inline void SetNodeCount(
int value) { m_nodeCountHasBeenSet =
true; m_nodeCount = value; }
172 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
187 inline void SetOfferingType(
const char* value) { m_offeringTypeHasBeenSet =
true; m_offeringType.assign(value); }
221 bool m_reservedNodeIdHasBeenSet =
false;
224 bool m_reservedNodeOfferingIdHasBeenSet =
false;
227 bool m_nodeTypeHasBeenSet =
false;
230 bool m_startTimeHasBeenSet =
false;
233 bool m_durationHasBeenSet =
false;
236 bool m_fixedPriceHasBeenSet =
false;
239 bool m_usagePriceHasBeenSet =
false;
242 bool m_currencyCodeHasBeenSet =
false;
245 bool m_nodeCountHasBeenSet =
false;
248 bool m_stateHasBeenSet =
false;
251 bool m_offeringTypeHasBeenSet =
false;
254 bool m_recurringChargesHasBeenSet =
false;
257 bool m_reservedNodeOfferingTypeHasBeenSet =
false;
void SetReservedNodeId(const Aws::String &value)
bool DurationHasBeenSet() const
void SetReservedNodeId(Aws::String &&value)
ReservedNode & WithReservedNodeOfferingType(const ReservedNodeOfferingType &value)
bool ReservedNodeOfferingTypeHasBeenSet() const
double GetFixedPrice() const
ReservedNode & WithReservedNodeOfferingType(ReservedNodeOfferingType &&value)
bool FixedPriceHasBeenSet() const
ReservedNode & WithNodeType(const char *value)
void SetCurrencyCode(const char *value)
ReservedNode & WithNodeType(Aws::String &&value)
void SetCurrencyCode(Aws::String &&value)
bool NodeTypeHasBeenSet() const
ReservedNode & WithReservedNodeId(const Aws::String &value)
void SetReservedNodeOfferingId(Aws::String &&value)
void SetNodeType(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetNodeType(const char *value)
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
bool StartTimeHasBeenSet() const
ReservedNode & WithState(const Aws::String &value)
ReservedNode & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
ReservedNode & WithFixedPrice(double value)
const Aws::String & GetCurrencyCode() const
bool ReservedNodeOfferingIdHasBeenSet() const
const Aws::String & GetReservedNodeId() const
ReservedNode & WithState(Aws::String &&value)
bool NodeCountHasBeenSet() const
double GetUsagePrice() const
ReservedNode & WithDuration(int value)
void SetCurrencyCode(const Aws::String &value)
ReservedNode & WithCurrencyCode(const char *value)
void SetOfferingType(const char *value)
ReservedNode & WithOfferingType(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetOfferingType(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
ReservedNode & WithReservedNodeOfferingId(Aws::String &&value)
void SetNodeType(const Aws::String &value)
ReservedNode & WithStartTime(const Aws::Utils::DateTime &value)
bool StateHasBeenSet() const
void SetFixedPrice(double value)
void SetReservedNodeOfferingId(const char *value)
ReservedNode & WithOfferingType(Aws::String &&value)
ReservedNode & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
ReservedNode & WithState(const char *value)
ReservedNode & WithCurrencyCode(Aws::String &&value)
bool RecurringChargesHasBeenSet() const
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
ReservedNode & WithReservedNodeId(Aws::String &&value)
bool CurrencyCodeHasBeenSet() const
AWS_REDSHIFT_API ReservedNode()
const Aws::String & GetReservedNodeOfferingId() const
void SetReservedNodeOfferingId(const Aws::String &value)
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
AWS_REDSHIFT_API ReservedNode(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedNode & WithReservedNodeOfferingId(const Aws::String &value)
ReservedNode & WithCurrencyCode(const Aws::String &value)
ReservedNode & AddRecurringCharges(RecurringCharge &&value)
AWS_REDSHIFT_API ReservedNode & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNodeCount(int value)
const Aws::String & GetOfferingType() const
ReservedNode & WithOfferingType(const char *value)
void SetReservedNodeOfferingType(const ReservedNodeOfferingType &value)
void SetState(const char *value)
const Aws::String & GetNodeType() const
void SetOfferingType(Aws::String &&value)
void SetReservedNodeOfferingType(ReservedNodeOfferingType &&value)
ReservedNode & AddRecurringCharges(const RecurringCharge &value)
const Aws::String & GetState() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReservedNode & WithUsagePrice(double value)
ReservedNode & WithReservedNodeOfferingId(const char *value)
ReservedNode & WithReservedNodeId(const char *value)
bool OfferingTypeHasBeenSet() const
ReservedNode & WithNodeType(const Aws::String &value)
void SetDuration(int value)
ReservedNode & WithStartTime(Aws::Utils::DateTime &&value)
bool ReservedNodeIdHasBeenSet() const
const ReservedNodeOfferingType & GetReservedNodeOfferingType() const
void SetState(Aws::String &&value)
bool UsagePriceHasBeenSet() const
void SetReservedNodeId(const char *value)
void SetState(const Aws::String &value)
ReservedNode & WithNodeCount(int value)
void SetUsagePrice(double 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