7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CostOptimizationHub
49 inline void SetAccountScope(
const char* value) { m_accountScopeHasBeenSet =
true; m_accountScope.assign(value); }
63 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
78 inline void SetNormalizedUnitsToPurchase(
const char* value) { m_normalizedUnitsToPurchaseHasBeenSet =
true; m_normalizedUnitsToPurchase.assign(value); }
92 inline void SetTerm(
const char* value) { m_termHasBeenSet =
true; m_term.assign(value); }
106 inline void SetPaymentOption(
const char* value) { m_paymentOptionHasBeenSet =
true; m_paymentOption.assign(value); }
135 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
149 inline void SetReservedInstancesRegion(
const char* value) { m_reservedInstancesRegionHasBeenSet =
true; m_reservedInstancesRegion.assign(value); }
164 inline void SetCurrentGeneration(
const char* value) { m_currentGenerationHasBeenSet =
true; m_currentGeneration.assign(value); }
176 inline void SetSizeFlexEligible(
bool value) { m_sizeFlexEligibleHasBeenSet =
true; m_sizeFlexEligible = value; }
188 inline void SetUpfrontCost(
const char* value) { m_upfrontCostHasBeenSet =
true; m_upfrontCost.assign(value); }
202 inline void SetMonthlyRecurringCost(
const char* value) { m_monthlyRecurringCostHasBeenSet =
true; m_monthlyRecurringCost.assign(value); }
210 bool m_accountScopeHasBeenSet =
false;
213 bool m_serviceHasBeenSet =
false;
216 bool m_normalizedUnitsToPurchaseHasBeenSet =
false;
219 bool m_termHasBeenSet =
false;
222 bool m_paymentOptionHasBeenSet =
false;
225 bool m_numberOfInstancesToPurchaseHasBeenSet =
false;
228 bool m_instanceTypeHasBeenSet =
false;
231 bool m_reservedInstancesRegionHasBeenSet =
false;
234 bool m_currentGenerationHasBeenSet =
false;
236 bool m_sizeFlexEligible;
237 bool m_sizeFlexEligibleHasBeenSet =
false;
240 bool m_upfrontCostHasBeenSet =
false;
243 bool m_monthlyRecurringCostHasBeenSet =
false;
bool TermHasBeenSet() const
void SetService(const Aws::String &value)
void SetPaymentOption(const char *value)
OpenSearchReservedInstancesConfiguration & WithMonthlyRecurringCost(Aws::String &&value)
OpenSearchReservedInstancesConfiguration & WithPaymentOption(const Aws::String &value)
void SetTerm(Aws::String &&value)
OpenSearchReservedInstancesConfiguration & WithSizeFlexEligible(bool value)
void SetNormalizedUnitsToPurchase(const Aws::String &value)
bool InstanceTypeHasBeenSet() const
const Aws::String & GetService() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool MonthlyRecurringCostHasBeenSet() const
OpenSearchReservedInstancesConfiguration & WithInstanceType(Aws::String &&value)
void SetReservedInstancesRegion(const Aws::String &value)
void SetNumberOfInstancesToPurchase(Aws::String &&value)
void SetReservedInstancesRegion(Aws::String &&value)
OpenSearchReservedInstancesConfiguration & WithTerm(Aws::String &&value)
bool NumberOfInstancesToPurchaseHasBeenSet() const
const Aws::String & GetInstanceType() const
bool GetSizeFlexEligible() const
OpenSearchReservedInstancesConfiguration & WithInstanceType(const Aws::String &value)
OpenSearchReservedInstancesConfiguration & WithCurrentGeneration(Aws::String &&value)
const Aws::String & GetPaymentOption() const
bool CurrentGenerationHasBeenSet() const
const Aws::String & GetAccountScope() const
OpenSearchReservedInstancesConfiguration & WithInstanceType(const char *value)
void SetNumberOfInstancesToPurchase(const char *value)
void SetService(Aws::String &&value)
bool AccountScopeHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API OpenSearchReservedInstancesConfiguration()
OpenSearchReservedInstancesConfiguration & WithTerm(const char *value)
bool ReservedInstancesRegionHasBeenSet() const
void SetNumberOfInstancesToPurchase(const Aws::String &value)
const Aws::String & GetMonthlyRecurringCost() const
void SetUpfrontCost(const Aws::String &value)
void SetAccountScope(const Aws::String &value)
void SetTerm(const char *value)
bool SizeFlexEligibleHasBeenSet() const
const Aws::String & GetReservedInstancesRegion() const
AWS_COSTOPTIMIZATIONHUB_API OpenSearchReservedInstancesConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPaymentOption(Aws::String &&value)
void SetInstanceType(const Aws::String &value)
void SetMonthlyRecurringCost(Aws::String &&value)
OpenSearchReservedInstancesConfiguration & WithReservedInstancesRegion(const char *value)
OpenSearchReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(Aws::String &&value)
void SetReservedInstancesRegion(const char *value)
OpenSearchReservedInstancesConfiguration & WithService(const char *value)
OpenSearchReservedInstancesConfiguration & WithPaymentOption(const char *value)
OpenSearchReservedInstancesConfiguration & WithService(Aws::String &&value)
void SetCurrentGeneration(Aws::String &&value)
void SetMonthlyRecurringCost(const char *value)
bool UpfrontCostHasBeenSet() const
OpenSearchReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(const Aws::String &value)
OpenSearchReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(const Aws::String &value)
OpenSearchReservedInstancesConfiguration & WithAccountScope(Aws::String &&value)
void SetSizeFlexEligible(bool value)
void SetUpfrontCost(const char *value)
OpenSearchReservedInstancesConfiguration & WithReservedInstancesRegion(const Aws::String &value)
OpenSearchReservedInstancesConfiguration & WithPaymentOption(Aws::String &&value)
OpenSearchReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(const char *value)
OpenSearchReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(const char *value)
OpenSearchReservedInstancesConfiguration & WithUpfrontCost(const Aws::String &value)
OpenSearchReservedInstancesConfiguration & WithReservedInstancesRegion(Aws::String &&value)
void SetCurrentGeneration(const Aws::String &value)
AWS_COSTOPTIMIZATIONHUB_API OpenSearchReservedInstancesConfiguration(Aws::Utils::Json::JsonView jsonValue)
OpenSearchReservedInstancesConfiguration & WithCurrentGeneration(const Aws::String &value)
void SetInstanceType(const char *value)
OpenSearchReservedInstancesConfiguration & WithMonthlyRecurringCost(const char *value)
bool PaymentOptionHasBeenSet() const
void SetPaymentOption(const Aws::String &value)
const Aws::String & GetTerm() const
const Aws::String & GetCurrentGeneration() const
void SetTerm(const Aws::String &value)
OpenSearchReservedInstancesConfiguration & WithUpfrontCost(Aws::String &&value)
void SetNormalizedUnitsToPurchase(Aws::String &&value)
OpenSearchReservedInstancesConfiguration & WithTerm(const Aws::String &value)
void SetMonthlyRecurringCost(const Aws::String &value)
void SetUpfrontCost(Aws::String &&value)
bool ServiceHasBeenSet() const
OpenSearchReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(Aws::String &&value)
bool NormalizedUnitsToPurchaseHasBeenSet() const
void SetService(const char *value)
OpenSearchReservedInstancesConfiguration & WithAccountScope(const char *value)
void SetCurrentGeneration(const char *value)
OpenSearchReservedInstancesConfiguration & WithMonthlyRecurringCost(const Aws::String &value)
void SetAccountScope(const char *value)
const Aws::String & GetNormalizedUnitsToPurchase() const
const Aws::String & GetUpfrontCost() const
void SetInstanceType(Aws::String &&value)
void SetAccountScope(Aws::String &&value)
void SetNormalizedUnitsToPurchase(const char *value)
const Aws::String & GetNumberOfInstancesToPurchase() const
OpenSearchReservedInstancesConfiguration & WithCurrentGeneration(const char *value)
OpenSearchReservedInstancesConfiguration & WithUpfrontCost(const char *value)
OpenSearchReservedInstancesConfiguration & WithAccountScope(const Aws::String &value)
OpenSearchReservedInstancesConfiguration & WithService(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue