AWS SDK for C++  1.9.106
AWS SDK for C++
ReservedElasticsearchInstance.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace ElasticsearchService
27 {
28 namespace Model
29 {
30 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetReservationName() const{ return m_reservationName; }
49 
53  inline bool ReservationNameHasBeenSet() const { return m_reservationNameHasBeenSet; }
54 
58  inline void SetReservationName(const Aws::String& value) { m_reservationNameHasBeenSet = true; m_reservationName = value; }
59 
63  inline void SetReservationName(Aws::String&& value) { m_reservationNameHasBeenSet = true; m_reservationName = std::move(value); }
64 
68  inline void SetReservationName(const char* value) { m_reservationNameHasBeenSet = true; m_reservationName.assign(value); }
69 
73  inline ReservedElasticsearchInstance& WithReservationName(const Aws::String& value) { SetReservationName(value); return *this;}
74 
78  inline ReservedElasticsearchInstance& WithReservationName(Aws::String&& value) { SetReservationName(std::move(value)); return *this;}
79 
83  inline ReservedElasticsearchInstance& WithReservationName(const char* value) { SetReservationName(value); return *this;}
84 
85 
89  inline const Aws::String& GetReservedElasticsearchInstanceId() const{ return m_reservedElasticsearchInstanceId; }
90 
94  inline bool ReservedElasticsearchInstanceIdHasBeenSet() const { return m_reservedElasticsearchInstanceIdHasBeenSet; }
95 
99  inline void SetReservedElasticsearchInstanceId(const Aws::String& value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId = value; }
100 
104  inline void SetReservedElasticsearchInstanceId(Aws::String&& value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId = std::move(value); }
105 
109  inline void SetReservedElasticsearchInstanceId(const char* value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId.assign(value); }
110 
114  inline ReservedElasticsearchInstance& WithReservedElasticsearchInstanceId(const Aws::String& value) { SetReservedElasticsearchInstanceId(value); return *this;}
115 
119  inline ReservedElasticsearchInstance& WithReservedElasticsearchInstanceId(Aws::String&& value) { SetReservedElasticsearchInstanceId(std::move(value)); return *this;}
120 
124  inline ReservedElasticsearchInstance& WithReservedElasticsearchInstanceId(const char* value) { SetReservedElasticsearchInstanceId(value); return *this;}
125 
126 
130  inline const Aws::String& GetReservedElasticsearchInstanceOfferingId() const{ return m_reservedElasticsearchInstanceOfferingId; }
131 
135  inline bool ReservedElasticsearchInstanceOfferingIdHasBeenSet() const { return m_reservedElasticsearchInstanceOfferingIdHasBeenSet; }
136 
140  inline void SetReservedElasticsearchInstanceOfferingId(const Aws::String& value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId = value; }
141 
145  inline void SetReservedElasticsearchInstanceOfferingId(Aws::String&& value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId = std::move(value); }
146 
150  inline void SetReservedElasticsearchInstanceOfferingId(const char* value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId.assign(value); }
151 
155  inline ReservedElasticsearchInstance& WithReservedElasticsearchInstanceOfferingId(const Aws::String& value) { SetReservedElasticsearchInstanceOfferingId(value); return *this;}
156 
160  inline ReservedElasticsearchInstance& WithReservedElasticsearchInstanceOfferingId(Aws::String&& value) { SetReservedElasticsearchInstanceOfferingId(std::move(value)); return *this;}
161 
165  inline ReservedElasticsearchInstance& WithReservedElasticsearchInstanceOfferingId(const char* value) { SetReservedElasticsearchInstanceOfferingId(value); return *this;}
166 
167 
172  inline const ESPartitionInstanceType& GetElasticsearchInstanceType() const{ return m_elasticsearchInstanceType; }
173 
178  inline bool ElasticsearchInstanceTypeHasBeenSet() const { return m_elasticsearchInstanceTypeHasBeenSet; }
179 
184  inline void SetElasticsearchInstanceType(const ESPartitionInstanceType& value) { m_elasticsearchInstanceTypeHasBeenSet = true; m_elasticsearchInstanceType = value; }
185 
190  inline void SetElasticsearchInstanceType(ESPartitionInstanceType&& value) { m_elasticsearchInstanceTypeHasBeenSet = true; m_elasticsearchInstanceType = std::move(value); }
191 
196  inline ReservedElasticsearchInstance& WithElasticsearchInstanceType(const ESPartitionInstanceType& value) { SetElasticsearchInstanceType(value); return *this;}
197 
202  inline ReservedElasticsearchInstance& WithElasticsearchInstanceType(ESPartitionInstanceType&& value) { SetElasticsearchInstanceType(std::move(value)); return *this;}
203 
204 
208  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
209 
213  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
214 
218  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
219 
223  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
224 
228  inline ReservedElasticsearchInstance& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
229 
233  inline ReservedElasticsearchInstance& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
234 
235 
240  inline int GetDuration() const{ return m_duration; }
241 
246  inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
247 
252  inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
253 
258  inline ReservedElasticsearchInstance& WithDuration(int value) { SetDuration(value); return *this;}
259 
260 
265  inline double GetFixedPrice() const{ return m_fixedPrice; }
266 
271  inline bool FixedPriceHasBeenSet() const { return m_fixedPriceHasBeenSet; }
272 
277  inline void SetFixedPrice(double value) { m_fixedPriceHasBeenSet = true; m_fixedPrice = value; }
278 
283  inline ReservedElasticsearchInstance& WithFixedPrice(double value) { SetFixedPrice(value); return *this;}
284 
285 
290  inline double GetUsagePrice() const{ return m_usagePrice; }
291 
296  inline bool UsagePriceHasBeenSet() const { return m_usagePriceHasBeenSet; }
297 
302  inline void SetUsagePrice(double value) { m_usagePriceHasBeenSet = true; m_usagePrice = value; }
303 
308  inline ReservedElasticsearchInstance& WithUsagePrice(double value) { SetUsagePrice(value); return *this;}
309 
310 
314  inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
315 
319  inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
320 
324  inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
325 
329  inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
330 
334  inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
335 
339  inline ReservedElasticsearchInstance& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
340 
344  inline ReservedElasticsearchInstance& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
345 
349  inline ReservedElasticsearchInstance& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
350 
351 
355  inline int GetElasticsearchInstanceCount() const{ return m_elasticsearchInstanceCount; }
356 
360  inline bool ElasticsearchInstanceCountHasBeenSet() const { return m_elasticsearchInstanceCountHasBeenSet; }
361 
365  inline void SetElasticsearchInstanceCount(int value) { m_elasticsearchInstanceCountHasBeenSet = true; m_elasticsearchInstanceCount = value; }
366 
370  inline ReservedElasticsearchInstance& WithElasticsearchInstanceCount(int value) { SetElasticsearchInstanceCount(value); return *this;}
371 
372 
376  inline const Aws::String& GetState() const{ return m_state; }
377 
381  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
382 
386  inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
387 
391  inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
392 
396  inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
397 
401  inline ReservedElasticsearchInstance& WithState(const Aws::String& value) { SetState(value); return *this;}
402 
406  inline ReservedElasticsearchInstance& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
407 
411  inline ReservedElasticsearchInstance& WithState(const char* value) { SetState(value); return *this;}
412 
413 
418  inline const ReservedElasticsearchInstancePaymentOption& GetPaymentOption() const{ return m_paymentOption; }
419 
424  inline bool PaymentOptionHasBeenSet() const { return m_paymentOptionHasBeenSet; }
425 
430  inline void SetPaymentOption(const ReservedElasticsearchInstancePaymentOption& value) { m_paymentOptionHasBeenSet = true; m_paymentOption = value; }
431 
436  inline void SetPaymentOption(ReservedElasticsearchInstancePaymentOption&& value) { m_paymentOptionHasBeenSet = true; m_paymentOption = std::move(value); }
437 
442  inline ReservedElasticsearchInstance& WithPaymentOption(const ReservedElasticsearchInstancePaymentOption& value) { SetPaymentOption(value); return *this;}
443 
448  inline ReservedElasticsearchInstance& WithPaymentOption(ReservedElasticsearchInstancePaymentOption&& value) { SetPaymentOption(std::move(value)); return *this;}
449 
450 
455  inline const Aws::Vector<RecurringCharge>& GetRecurringCharges() const{ return m_recurringCharges; }
456 
461  inline bool RecurringChargesHasBeenSet() const { return m_recurringChargesHasBeenSet; }
462 
467  inline void SetRecurringCharges(const Aws::Vector<RecurringCharge>& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = value; }
468 
473  inline void SetRecurringCharges(Aws::Vector<RecurringCharge>&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = std::move(value); }
474 
479  inline ReservedElasticsearchInstance& WithRecurringCharges(const Aws::Vector<RecurringCharge>& value) { SetRecurringCharges(value); return *this;}
480 
485  inline ReservedElasticsearchInstance& WithRecurringCharges(Aws::Vector<RecurringCharge>&& value) { SetRecurringCharges(std::move(value)); return *this;}
486 
491  inline ReservedElasticsearchInstance& AddRecurringCharges(const RecurringCharge& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(value); return *this; }
492 
497  inline ReservedElasticsearchInstance& AddRecurringCharges(RecurringCharge&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(std::move(value)); return *this; }
498 
499  private:
500 
501  Aws::String m_reservationName;
502  bool m_reservationNameHasBeenSet;
503 
504  Aws::String m_reservedElasticsearchInstanceId;
505  bool m_reservedElasticsearchInstanceIdHasBeenSet;
506 
507  Aws::String m_reservedElasticsearchInstanceOfferingId;
508  bool m_reservedElasticsearchInstanceOfferingIdHasBeenSet;
509 
510  ESPartitionInstanceType m_elasticsearchInstanceType;
511  bool m_elasticsearchInstanceTypeHasBeenSet;
512 
513  Aws::Utils::DateTime m_startTime;
514  bool m_startTimeHasBeenSet;
515 
516  int m_duration;
517  bool m_durationHasBeenSet;
518 
519  double m_fixedPrice;
520  bool m_fixedPriceHasBeenSet;
521 
522  double m_usagePrice;
523  bool m_usagePriceHasBeenSet;
524 
525  Aws::String m_currencyCode;
526  bool m_currencyCodeHasBeenSet;
527 
528  int m_elasticsearchInstanceCount;
529  bool m_elasticsearchInstanceCountHasBeenSet;
530 
531  Aws::String m_state;
532  bool m_stateHasBeenSet;
533 
535  bool m_paymentOptionHasBeenSet;
536 
537  Aws::Vector<RecurringCharge> m_recurringCharges;
538  bool m_recurringChargesHasBeenSet;
539  };
540 
541 } // namespace Model
542 } // namespace ElasticsearchService
543 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ReservedElasticsearchInstance.h:223
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ReservedElasticsearchInstance.h:208
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetCurrencyCode
void SetCurrencyCode(const char *value)
Definition: ReservedElasticsearchInstance.h:334
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithReservationName
ReservedElasticsearchInstance & WithReservationName(Aws::String &&value)
Definition: ReservedElasticsearchInstance.h:78
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithReservedElasticsearchInstanceOfferingId
ReservedElasticsearchInstance & WithReservedElasticsearchInstanceOfferingId(Aws::String &&value)
Definition: ReservedElasticsearchInstance.h:160
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetReservedElasticsearchInstanceId
void SetReservedElasticsearchInstanceId(const char *value)
Definition: ReservedElasticsearchInstance.h:109
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetElasticsearchInstanceType
void SetElasticsearchInstanceType(ESPartitionInstanceType &&value)
Definition: ReservedElasticsearchInstance.h:190
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetReservedElasticsearchInstanceId
void SetReservedElasticsearchInstanceId(Aws::String &&value)
Definition: ReservedElasticsearchInstance.h:104
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::RecurringChargesHasBeenSet
bool RecurringChargesHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:461
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetReservedElasticsearchInstanceOfferingId
void SetReservedElasticsearchInstanceOfferingId(Aws::String &&value)
Definition: ReservedElasticsearchInstance.h:145
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::DurationHasBeenSet
bool DurationHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:246
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::ReservationNameHasBeenSet
bool ReservationNameHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:53
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetUsagePrice
double GetUsagePrice() const
Definition: ReservedElasticsearchInstance.h:290
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetPaymentOption
void SetPaymentOption(const ReservedElasticsearchInstancePaymentOption &value)
Definition: ReservedElasticsearchInstance.h:430
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithReservedElasticsearchInstanceId
ReservedElasticsearchInstance & WithReservedElasticsearchInstanceId(const char *value)
Definition: ReservedElasticsearchInstance.h:124
ESPartitionInstanceType.h
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::StateHasBeenSet
bool StateHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:381
DateTime.h
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetRecurringCharges
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
Definition: ReservedElasticsearchInstance.h:473
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::ReservedElasticsearchInstanceOfferingIdHasBeenSet
bool ReservedElasticsearchInstanceOfferingIdHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:135
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::UsagePriceHasBeenSet
bool UsagePriceHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:296
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithFixedPrice
ReservedElasticsearchInstance & WithFixedPrice(double value)
Definition: ReservedElasticsearchInstance.h:283
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetState
void SetState(const char *value)
Definition: ReservedElasticsearchInstance.h:396
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithReservationName
ReservedElasticsearchInstance & WithReservationName(const Aws::String &value)
Definition: ReservedElasticsearchInstance.h:73
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::operator=
ReservedElasticsearchInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetCurrencyCode
const Aws::String & GetCurrencyCode() const
Definition: ReservedElasticsearchInstance.h:314
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetReservationName
void SetReservationName(const Aws::String &value)
Definition: ReservedElasticsearchInstance.h:58
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithUsagePrice
ReservedElasticsearchInstance & WithUsagePrice(double value)
Definition: ReservedElasticsearchInstance.h:308
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithDuration
ReservedElasticsearchInstance & WithDuration(int value)
Definition: ReservedElasticsearchInstance.h:258
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetReservationName
void SetReservationName(Aws::String &&value)
Definition: ReservedElasticsearchInstance.h:63
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithStartTime
ReservedElasticsearchInstance & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ReservedElasticsearchInstance.h:233
AWSVector.h
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetState
void SetState(const Aws::String &value)
Definition: ReservedElasticsearchInstance.h:386
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithPaymentOption
ReservedElasticsearchInstance & WithPaymentOption(ReservedElasticsearchInstancePaymentOption &&value)
Definition: ReservedElasticsearchInstance.h:448
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithCurrencyCode
ReservedElasticsearchInstance & WithCurrencyCode(Aws::String &&value)
Definition: ReservedElasticsearchInstance.h:344
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::ReservedElasticsearchInstance
ReservedElasticsearchInstance(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ReservedElasticsearchInstance.h:218
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithState
ReservedElasticsearchInstance & WithState(const char *value)
Definition: ReservedElasticsearchInstance.h:411
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::AddRecurringCharges
ReservedElasticsearchInstance & AddRecurringCharges(RecurringCharge &&value)
Definition: ReservedElasticsearchInstance.h:497
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetPaymentOption
void SetPaymentOption(ReservedElasticsearchInstancePaymentOption &&value)
Definition: ReservedElasticsearchInstance.h:436
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithReservedElasticsearchInstanceId
ReservedElasticsearchInstance & WithReservedElasticsearchInstanceId(Aws::String &&value)
Definition: ReservedElasticsearchInstance.h:119
Aws::ElasticsearchService::Model::ReservedElasticsearchInstancePaymentOption
ReservedElasticsearchInstancePaymentOption
Definition: ReservedElasticsearchInstancePaymentOption.h:17
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::ReservedElasticsearchInstanceIdHasBeenSet
bool ReservedElasticsearchInstanceIdHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:94
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithReservedElasticsearchInstanceOfferingId
ReservedElasticsearchInstance & WithReservedElasticsearchInstanceOfferingId(const char *value)
Definition: ReservedElasticsearchInstance.h:165
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithElasticsearchInstanceType
ReservedElasticsearchInstance & WithElasticsearchInstanceType(const ESPartitionInstanceType &value)
Definition: ReservedElasticsearchInstance.h:196
RecurringCharge.h
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetCurrencyCode
void SetCurrencyCode(const Aws::String &value)
Definition: ReservedElasticsearchInstance.h:324
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetState
const Aws::String & GetState() const
Definition: ReservedElasticsearchInstance.h:376
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithRecurringCharges
ReservedElasticsearchInstance & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
Definition: ReservedElasticsearchInstance.h:479
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetReservedElasticsearchInstanceId
void SetReservedElasticsearchInstanceId(const Aws::String &value)
Definition: ReservedElasticsearchInstance.h:99
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetReservedElasticsearchInstanceId
const Aws::String & GetReservedElasticsearchInstanceId() const
Definition: ReservedElasticsearchInstance.h:89
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetReservedElasticsearchInstanceOfferingId
void SetReservedElasticsearchInstanceOfferingId(const char *value)
Definition: ReservedElasticsearchInstance.h:150
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::CurrencyCodeHasBeenSet
bool CurrencyCodeHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:319
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance
Definition: ReservedElasticsearchInstance.h:37
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithReservedElasticsearchInstanceId
ReservedElasticsearchInstance & WithReservedElasticsearchInstanceId(const Aws::String &value)
Definition: ReservedElasticsearchInstance.h:114
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetElasticsearchInstanceType
const ESPartitionInstanceType & GetElasticsearchInstanceType() const
Definition: ReservedElasticsearchInstance.h:172
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetElasticsearchInstanceCount
int GetElasticsearchInstanceCount() const
Definition: ReservedElasticsearchInstance.h:355
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetElasticsearchInstanceType
void SetElasticsearchInstanceType(const ESPartitionInstanceType &value)
Definition: ReservedElasticsearchInstance.h:184
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::ElasticsearchInstanceTypeHasBeenSet
bool ElasticsearchInstanceTypeHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:178
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithCurrencyCode
ReservedElasticsearchInstance & WithCurrencyCode(const Aws::String &value)
Definition: ReservedElasticsearchInstance.h:339
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithStartTime
ReservedElasticsearchInstance & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ReservedElasticsearchInstance.h:228
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetCurrencyCode
void SetCurrencyCode(Aws::String &&value)
Definition: ReservedElasticsearchInstance.h:329
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetFixedPrice
double GetFixedPrice() const
Definition: ReservedElasticsearchInstance.h:265
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetDuration
int GetDuration() const
Definition: ReservedElasticsearchInstance.h:240
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithState
ReservedElasticsearchInstance & WithState(Aws::String &&value)
Definition: ReservedElasticsearchInstance.h:406
Aws::ElasticsearchService::Model::ESPartitionInstanceType
ESPartitionInstanceType
Definition: ESPartitionInstanceType.h:17
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetElasticsearchInstanceCount
void SetElasticsearchInstanceCount(int value)
Definition: ReservedElasticsearchInstance.h:365
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::FixedPriceHasBeenSet
bool FixedPriceHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:271
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetRecurringCharges
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
Definition: ReservedElasticsearchInstance.h:455
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetReservedElasticsearchInstanceOfferingId
const Aws::String & GetReservedElasticsearchInstanceOfferingId() const
Definition: ReservedElasticsearchInstance.h:130
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetDuration
void SetDuration(int value)
Definition: ReservedElasticsearchInstance.h:252
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithPaymentOption
ReservedElasticsearchInstance & WithPaymentOption(const ReservedElasticsearchInstancePaymentOption &value)
Definition: ReservedElasticsearchInstance.h:442
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetReservationName
const Aws::String & GetReservationName() const
Definition: ReservedElasticsearchInstance.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithElasticsearchInstanceType
ReservedElasticsearchInstance & WithElasticsearchInstanceType(ESPartitionInstanceType &&value)
Definition: ReservedElasticsearchInstance.h:202
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithElasticsearchInstanceCount
ReservedElasticsearchInstance & WithElasticsearchInstanceCount(int value)
Definition: ReservedElasticsearchInstance.h:370
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithState
ReservedElasticsearchInstance & WithState(const Aws::String &value)
Definition: ReservedElasticsearchInstance.h:401
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::PaymentOptionHasBeenSet
bool PaymentOptionHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:424
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithReservationName
ReservedElasticsearchInstance & WithReservationName(const char *value)
Definition: ReservedElasticsearchInstance.h:83
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetFixedPrice
void SetFixedPrice(double value)
Definition: ReservedElasticsearchInstance.h:277
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetState
void SetState(Aws::String &&value)
Definition: ReservedElasticsearchInstance.h:391
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::ReservedElasticsearchInstance
ReservedElasticsearchInstance()
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::GetPaymentOption
const ReservedElasticsearchInstancePaymentOption & GetPaymentOption() const
Definition: ReservedElasticsearchInstance.h:418
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:213
ReservedElasticsearchInstancePaymentOption.h
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithReservedElasticsearchInstanceOfferingId
ReservedElasticsearchInstance & WithReservedElasticsearchInstanceOfferingId(const Aws::String &value)
Definition: ReservedElasticsearchInstance.h:155
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::AddRecurringCharges
ReservedElasticsearchInstance & AddRecurringCharges(const RecurringCharge &value)
Definition: ReservedElasticsearchInstance.h:491
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetReservedElasticsearchInstanceOfferingId
void SetReservedElasticsearchInstanceOfferingId(const Aws::String &value)
Definition: ReservedElasticsearchInstance.h:140
Aws::ElasticsearchService::Model::RecurringCharge
Definition: RecurringCharge.h:34
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithCurrencyCode
ReservedElasticsearchInstance & WithCurrencyCode(const char *value)
Definition: ReservedElasticsearchInstance.h:349
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::ElasticsearchInstanceCountHasBeenSet
bool ElasticsearchInstanceCountHasBeenSet() const
Definition: ReservedElasticsearchInstance.h:360
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetRecurringCharges
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
Definition: ReservedElasticsearchInstance.h:467
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetUsagePrice
void SetUsagePrice(double value)
Definition: ReservedElasticsearchInstance.h:302
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::WithRecurringCharges
ReservedElasticsearchInstance & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
Definition: ReservedElasticsearchInstance.h:485
Aws::ElasticsearchService::Model::ReservedElasticsearchInstance::SetReservationName
void SetReservationName(const char *value)
Definition: ReservedElasticsearchInstance.h:68