7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace ElasticsearchService
35 inline virtual const char*
GetServiceRequestName()
const override {
return "PurchaseReservedElasticsearchInstanceOffering"; }
62 inline void SetReservationName(
const char* value) { m_reservationNameHasBeenSet =
true; m_reservationName.assign(value); }
74 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
79 Aws::String m_reservedElasticsearchInstanceOfferingId;
80 bool m_reservedElasticsearchInstanceOfferingIdHasBeenSet =
false;
83 bool m_reservationNameHasBeenSet =
false;
86 bool m_instanceCountHasBeenSet =
false;
const Aws::String & GetReservationName() const
PurchaseReservedElasticsearchInstanceOfferingRequest & WithReservationName(Aws::String &&value)
void SetReservedElasticsearchInstanceOfferingId(Aws::String &&value)
bool ReservedElasticsearchInstanceOfferingIdHasBeenSet() const
PurchaseReservedElasticsearchInstanceOfferingRequest & WithReservedElasticsearchInstanceOfferingId(const char *value)
bool InstanceCountHasBeenSet() const
PurchaseReservedElasticsearchInstanceOfferingRequest & WithReservationName(const Aws::String &value)
void SetReservedElasticsearchInstanceOfferingId(const Aws::String &value)
void SetReservationName(Aws::String &&value)
PurchaseReservedElasticsearchInstanceOfferingRequest & WithInstanceCount(int value)
void SetReservationName(const char *value)
bool ReservationNameHasBeenSet() const
PurchaseReservedElasticsearchInstanceOfferingRequest & WithReservedElasticsearchInstanceOfferingId(Aws::String &&value)
PurchaseReservedElasticsearchInstanceOfferingRequest & WithReservationName(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_ELASTICSEARCHSERVICE_API PurchaseReservedElasticsearchInstanceOfferingRequest()
const Aws::String & GetReservedElasticsearchInstanceOfferingId() const
void SetReservedElasticsearchInstanceOfferingId(const char *value)
void SetReservationName(const Aws::String &value)
int GetInstanceCount() const
void SetInstanceCount(int value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
PurchaseReservedElasticsearchInstanceOfferingRequest & WithReservedElasticsearchInstanceOfferingId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String