7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/model/ESPartitionInstanceType.h>
10#include <aws/es/model/ReservedElasticsearchInstancePaymentOption.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/es/model/RecurringCharge.h>
25namespace ElasticsearchService
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); }
147 Aws::String m_reservedElasticsearchInstanceOfferingId;
148 bool m_reservedElasticsearchInstanceOfferingIdHasBeenSet =
false;
151 bool m_elasticsearchInstanceTypeHasBeenSet =
false;
154 bool m_durationHasBeenSet =
false;
157 bool m_fixedPriceHasBeenSet =
false;
160 bool m_usagePriceHasBeenSet =
false;
163 bool m_currencyCodeHasBeenSet =
false;
166 bool m_paymentOptionHasBeenSet =
false;
169 bool m_recurringChargesHasBeenSet =
false;
const Aws::String & GetCurrencyCode() const
void SetUsagePrice(double value)
ReservedElasticsearchInstanceOffering & WithCurrencyCode(Aws::String &&value)
const Aws::String & GetReservedElasticsearchInstanceOfferingId() const
ReservedElasticsearchInstanceOffering & WithPaymentOption(ReservedElasticsearchInstancePaymentOption &&value)
bool ReservedElasticsearchInstanceOfferingIdHasBeenSet() const
double GetUsagePrice() const
ReservedElasticsearchInstanceOffering & WithFixedPrice(double value)
ReservedElasticsearchInstanceOffering & WithReservedElasticsearchInstanceOfferingId(const char *value)
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
void SetDuration(int value)
ReservedElasticsearchInstanceOffering & WithCurrencyCode(const char *value)
bool CurrencyCodeHasBeenSet() const
ReservedElasticsearchInstanceOffering & AddRecurringCharges(RecurringCharge &&value)
void SetCurrencyCode(Aws::String &&value)
void SetPaymentOption(ReservedElasticsearchInstancePaymentOption &&value)
ReservedElasticsearchInstanceOffering & WithPaymentOption(const ReservedElasticsearchInstancePaymentOption &value)
void SetReservedElasticsearchInstanceOfferingId(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API ReservedElasticsearchInstanceOffering()
const ESPartitionInstanceType & GetElasticsearchInstanceType() const
ReservedElasticsearchInstanceOffering & AddRecurringCharges(const RecurringCharge &value)
void SetCurrencyCode(const char *value)
AWS_ELASTICSEARCHSERVICE_API ReservedElasticsearchInstanceOffering(Aws::Utils::Json::JsonView jsonValue)
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
void SetFixedPrice(double value)
void SetReservedElasticsearchInstanceOfferingId(const Aws::String &value)
ReservedElasticsearchInstanceOffering & WithDuration(int value)
void SetReservedElasticsearchInstanceOfferingId(const char *value)
ReservedElasticsearchInstanceOffering & WithElasticsearchInstanceType(ESPartitionInstanceType &&value)
bool FixedPriceHasBeenSet() const
ReservedElasticsearchInstanceOffering & WithReservedElasticsearchInstanceOfferingId(Aws::String &&value)
ReservedElasticsearchInstanceOffering & WithElasticsearchInstanceType(const ESPartitionInstanceType &value)
void SetElasticsearchInstanceType(ESPartitionInstanceType &&value)
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ReservedElasticsearchInstanceOffering & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
bool DurationHasBeenSet() const
void SetCurrencyCode(const Aws::String &value)
bool RecurringChargesHasBeenSet() const
ReservedElasticsearchInstanceOffering & WithReservedElasticsearchInstanceOfferingId(const Aws::String &value)
ReservedElasticsearchInstanceOffering & WithUsagePrice(double value)
bool PaymentOptionHasBeenSet() const
ReservedElasticsearchInstanceOffering & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
double GetFixedPrice() const
ReservedElasticsearchInstanceOffering & WithCurrencyCode(const Aws::String &value)
bool ElasticsearchInstanceTypeHasBeenSet() const
const ReservedElasticsearchInstancePaymentOption & GetPaymentOption() const
void SetPaymentOption(const ReservedElasticsearchInstancePaymentOption &value)
void SetElasticsearchInstanceType(const ESPartitionInstanceType &value)
bool UsagePriceHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API ReservedElasticsearchInstanceOffering & operator=(Aws::Utils::Json::JsonView jsonValue)
ReservedElasticsearchInstancePaymentOption
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue