7#include <aws/elasticache/ElastiCache_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/elasticache/model/RecurringCharge.h>
138 inline void SetCacheNodeType(
const char* value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType.assign(value); }
150 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
160 inline void SetFixedPrice(
double value) { m_fixedPriceHasBeenSet =
true; m_fixedPrice = value; }
170 inline void SetUsagePrice(
double value) { m_usagePriceHasBeenSet =
true; m_usagePrice = value; }
182 inline void SetProductDescription(
const char* value) { m_productDescriptionHasBeenSet =
true; m_productDescription.assign(value); }
196 inline void SetOfferingType(
const char* value) { m_offeringTypeHasBeenSet =
true; m_offeringType.assign(value); }
218 bool m_reservedCacheNodesOfferingIdHasBeenSet =
false;
221 bool m_cacheNodeTypeHasBeenSet =
false;
224 bool m_durationHasBeenSet =
false;
227 bool m_fixedPriceHasBeenSet =
false;
230 bool m_usagePriceHasBeenSet =
false;
233 bool m_productDescriptionHasBeenSet =
false;
236 bool m_offeringTypeHasBeenSet =
false;
239 bool m_recurringChargesHasBeenSet =
false;
void SetProductDescription(Aws::String &&value)
const Aws::String & GetProductDescription() const
ReservedCacheNodesOffering & AddRecurringCharges(const RecurringCharge &value)
ReservedCacheNodesOffering & WithDuration(int value)
ReservedCacheNodesOffering & WithReservedCacheNodesOfferingId(const char *value)
void SetCacheNodeType(Aws::String &&value)
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool FixedPriceHasBeenSet() const
double GetUsagePrice() const
bool ReservedCacheNodesOfferingIdHasBeenSet() const
ReservedCacheNodesOffering & WithCacheNodeType(Aws::String &&value)
bool RecurringChargesHasBeenSet() const
bool DurationHasBeenSet() const
bool UsagePriceHasBeenSet() const
ReservedCacheNodesOffering & WithProductDescription(const Aws::String &value)
void SetDuration(int value)
ReservedCacheNodesOffering & WithOfferingType(const Aws::String &value)
ReservedCacheNodesOffering & AddRecurringCharges(RecurringCharge &&value)
void SetReservedCacheNodesOfferingId(const char *value)
void SetFixedPrice(double value)
void SetCacheNodeType(const Aws::String &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReservedCacheNodesOffering & WithProductDescription(Aws::String &&value)
bool OfferingTypeHasBeenSet() const
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
ReservedCacheNodesOffering & WithProductDescription(const char *value)
bool CacheNodeTypeHasBeenSet() const
ReservedCacheNodesOffering & WithCacheNodeType(const Aws::String &value)
ReservedCacheNodesOffering & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
void SetProductDescription(const Aws::String &value)
ReservedCacheNodesOffering & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
ReservedCacheNodesOffering & WithReservedCacheNodesOfferingId(const Aws::String &value)
ReservedCacheNodesOffering & WithReservedCacheNodesOfferingId(Aws::String &&value)
AWS_ELASTICACHE_API ReservedCacheNodesOffering()
void SetReservedCacheNodesOfferingId(const Aws::String &value)
const Aws::String & GetCacheNodeType() const
void SetOfferingType(Aws::String &&value)
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
void SetOfferingType(const char *value)
ReservedCacheNodesOffering & WithFixedPrice(double value)
ReservedCacheNodesOffering & WithOfferingType(const char *value)
AWS_ELASTICACHE_API ReservedCacheNodesOffering & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedCacheNodesOffering & WithUsagePrice(double value)
const Aws::String & GetReservedCacheNodesOfferingId() const
double GetFixedPrice() const
ReservedCacheNodesOffering & WithOfferingType(Aws::String &&value)
ReservedCacheNodesOffering & WithCacheNodeType(const char *value)
const Aws::String & GetOfferingType() const
void SetProductDescription(const char *value)
AWS_ELASTICACHE_API ReservedCacheNodesOffering(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ProductDescriptionHasBeenSet() const
void SetUsagePrice(double value)
void SetCacheNodeType(const char *value)
void SetReservedCacheNodesOfferingId(Aws::String &&value)
void SetOfferingType(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