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/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticache/model/RecurringCharge.h>
54 inline void SetReservedCacheNodeId(
const char* value) { m_reservedCacheNodeIdHasBeenSet =
true; m_reservedCacheNodeId.assign(value); }
153 inline void SetCacheNodeType(
const char* value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType.assign(value); }
177 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
187 inline void SetFixedPrice(
double value) { m_fixedPriceHasBeenSet =
true; m_fixedPrice = value; }
197 inline void SetUsagePrice(
double value) { m_usagePriceHasBeenSet =
true; m_usagePrice = value; }
207 inline void SetCacheNodeCount(
int value) { m_cacheNodeCountHasBeenSet =
true; m_cacheNodeCount = value; }
219 inline void SetProductDescription(
const char* value) { m_productDescriptionHasBeenSet =
true; m_productDescription.assign(value); }
233 inline void SetOfferingType(
const char* value) { m_offeringTypeHasBeenSet =
true; m_offeringType.assign(value); }
247 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
277 inline void SetReservationARN(
const char* value) { m_reservationARNHasBeenSet =
true; m_reservationARN.assign(value); }
285 bool m_reservedCacheNodeIdHasBeenSet =
false;
288 bool m_reservedCacheNodesOfferingIdHasBeenSet =
false;
291 bool m_cacheNodeTypeHasBeenSet =
false;
294 bool m_startTimeHasBeenSet =
false;
297 bool m_durationHasBeenSet =
false;
300 bool m_fixedPriceHasBeenSet =
false;
303 bool m_usagePriceHasBeenSet =
false;
305 int m_cacheNodeCount;
306 bool m_cacheNodeCountHasBeenSet =
false;
309 bool m_productDescriptionHasBeenSet =
false;
312 bool m_offeringTypeHasBeenSet =
false;
315 bool m_stateHasBeenSet =
false;
318 bool m_recurringChargesHasBeenSet =
false;
321 bool m_reservationARNHasBeenSet =
false;
ReservedCacheNode & WithReservedCacheNodesOfferingId(Aws::String &&value)
bool FixedPriceHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReservedCacheNode & WithCacheNodeType(const char *value)
bool StateHasBeenSet() const
void SetProductDescription(const Aws::String &value)
void SetCacheNodeType(Aws::String &&value)
ReservedCacheNode & WithProductDescription(const char *value)
ReservedCacheNode & WithReservationARN(const Aws::String &value)
ReservedCacheNode & WithState(Aws::String &&value)
void SetDuration(int value)
ReservedCacheNode & WithCacheNodeCount(int value)
void SetReservationARN(const Aws::String &value)
void SetReservedCacheNodeId(const char *value)
bool RecurringChargesHasBeenSet() const
void SetCacheNodeCount(int value)
bool ReservedCacheNodeIdHasBeenSet() const
ReservedCacheNode & AddRecurringCharges(RecurringCharge &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReservedCacheNode & WithOfferingType(Aws::String &&value)
ReservedCacheNode & WithReservationARN(const char *value)
ReservedCacheNode & WithReservedCacheNodesOfferingId(const Aws::String &value)
bool OfferingTypeHasBeenSet() const
ReservedCacheNode & WithReservedCacheNodesOfferingId(const char *value)
ReservedCacheNode & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
void SetOfferingType(const char *value)
void SetReservedCacheNodesOfferingId(const Aws::String &value)
const Aws::String & GetReservationARN() const
bool StartTimeHasBeenSet() const
ReservedCacheNode & WithReservationARN(Aws::String &&value)
void SetState(const Aws::String &value)
void SetUsagePrice(double value)
const Aws::String & GetReservedCacheNodeId() const
ReservedCacheNode & WithReservedCacheNodeId(const Aws::String &value)
const Aws::String & GetProductDescription() const
void SetProductDescription(Aws::String &&value)
AWS_ELASTICACHE_API ReservedCacheNode & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedCacheNode & WithDuration(int value)
const Aws::String & GetState() const
void SetStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetCacheNodeType(const Aws::String &value)
ReservedCacheNode & WithProductDescription(Aws::String &&value)
ReservedCacheNode & WithCacheNodeType(Aws::String &&value)
double GetUsagePrice() const
ReservedCacheNode & WithStartTime(Aws::Utils::DateTime &&value)
void SetState(Aws::String &&value)
void SetReservedCacheNodeId(const Aws::String &value)
ReservedCacheNode & WithStartTime(const Aws::Utils::DateTime &value)
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
void SetReservationARN(const char *value)
double GetFixedPrice() const
bool DurationHasBeenSet() const
ReservedCacheNode & WithState(const char *value)
ReservedCacheNode & WithReservedCacheNodeId(Aws::String &&value)
void SetCacheNodeType(const char *value)
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
int GetCacheNodeCount() const
bool ReservationARNHasBeenSet() const
void SetFixedPrice(double value)
void SetState(const char *value)
bool CacheNodeCountHasBeenSet() const
void SetOfferingType(const Aws::String &value)
void SetReservedCacheNodeId(Aws::String &&value)
void SetProductDescription(const char *value)
const Aws::String & GetCacheNodeType() const
ReservedCacheNode & WithOfferingType(const char *value)
ReservedCacheNode & WithReservedCacheNodeId(const char *value)
bool ProductDescriptionHasBeenSet() const
bool ReservedCacheNodesOfferingIdHasBeenSet() const
ReservedCacheNode & WithCacheNodeType(const Aws::String &value)
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
ReservedCacheNode & WithProductDescription(const Aws::String &value)
ReservedCacheNode & WithFixedPrice(double value)
const Aws::String & GetOfferingType() const
ReservedCacheNode & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
void SetReservedCacheNodesOfferingId(Aws::String &&value)
void SetReservedCacheNodesOfferingId(const char *value)
AWS_ELASTICACHE_API ReservedCacheNode(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedCacheNode & WithState(const Aws::String &value)
const Aws::String & GetReservedCacheNodesOfferingId() const
void SetStartTime(const Aws::Utils::DateTime &value)
void SetReservationARN(Aws::String &&value)
ReservedCacheNode & WithUsagePrice(double value)
bool CacheNodeTypeHasBeenSet() const
ReservedCacheNode & AddRecurringCharges(const RecurringCharge &value)
void SetOfferingType(Aws::String &&value)
bool UsagePriceHasBeenSet() const
AWS_ELASTICACHE_API ReservedCacheNode()
ReservedCacheNode & WithOfferingType(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