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 SetInstanceFamily(
const char* value) { m_instanceFamilyHasBeenSet =
true; m_instanceFamily.assign(value); }
149 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
163 inline void SetReservedInstancesRegion(
const char* value) { m_reservedInstancesRegionHasBeenSet =
true; m_reservedInstancesRegion.assign(value); }
175 inline void SetSizeFlexEligible(
bool value) { m_sizeFlexEligibleHasBeenSet =
true; m_sizeFlexEligible = value; }
188 inline void SetCurrentGeneration(
const char* value) { m_currentGenerationHasBeenSet =
true; m_currentGeneration.assign(value); }
202 inline void SetUpfrontCost(
const char* value) { m_upfrontCostHasBeenSet =
true; m_upfrontCost.assign(value); }
216 inline void SetMonthlyRecurringCost(
const char* value) { m_monthlyRecurringCostHasBeenSet =
true; m_monthlyRecurringCost.assign(value); }
224 bool m_accountScopeHasBeenSet =
false;
227 bool m_serviceHasBeenSet =
false;
230 bool m_normalizedUnitsToPurchaseHasBeenSet =
false;
233 bool m_termHasBeenSet =
false;
236 bool m_paymentOptionHasBeenSet =
false;
239 bool m_numberOfInstancesToPurchaseHasBeenSet =
false;
242 bool m_instanceFamilyHasBeenSet =
false;
245 bool m_instanceTypeHasBeenSet =
false;
248 bool m_reservedInstancesRegionHasBeenSet =
false;
250 bool m_sizeFlexEligible;
251 bool m_sizeFlexEligibleHasBeenSet =
false;
254 bool m_currentGenerationHasBeenSet =
false;
257 bool m_upfrontCostHasBeenSet =
false;
260 bool m_monthlyRecurringCostHasBeenSet =
false;
bool SizeFlexEligibleHasBeenSet() const
RedshiftReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(const char *value)
RedshiftReservedInstancesConfiguration & WithService(const Aws::String &value)
RedshiftReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(Aws::String &&value)
RedshiftReservedInstancesConfiguration & WithTerm(Aws::String &&value)
RedshiftReservedInstancesConfiguration & WithSizeFlexEligible(bool value)
RedshiftReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(const Aws::String &value)
AWS_COSTOPTIMIZATIONHUB_API RedshiftReservedInstancesConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReservedInstancesRegion(const char *value)
bool TermHasBeenSet() const
bool ReservedInstancesRegionHasBeenSet() const
RedshiftReservedInstancesConfiguration & WithMonthlyRecurringCost(const char *value)
RedshiftReservedInstancesConfiguration & WithInstanceType(const Aws::String &value)
bool MonthlyRecurringCostHasBeenSet() const
const Aws::String & GetService() const
RedshiftReservedInstancesConfiguration & WithAccountScope(Aws::String &&value)
void SetUpfrontCost(Aws::String &&value)
RedshiftReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(Aws::String &&value)
RedshiftReservedInstancesConfiguration & WithTerm(const Aws::String &value)
RedshiftReservedInstancesConfiguration & WithInstanceType(Aws::String &&value)
RedshiftReservedInstancesConfiguration & WithUpfrontCost(const Aws::String &value)
void SetCurrentGeneration(const char *value)
const Aws::String & GetPaymentOption() const
RedshiftReservedInstancesConfiguration & WithInstanceFamily(const char *value)
void SetInstanceType(const char *value)
void SetUpfrontCost(const char *value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountScope(const char *value)
void SetInstanceFamily(Aws::String &&value)
void SetNormalizedUnitsToPurchase(const Aws::String &value)
const Aws::String & GetInstanceType() const
void SetNormalizedUnitsToPurchase(Aws::String &&value)
void SetNumberOfInstancesToPurchase(const char *value)
bool InstanceFamilyHasBeenSet() const
void SetInstanceFamily(const char *value)
bool CurrentGenerationHasBeenSet() const
const Aws::String & GetNormalizedUnitsToPurchase() const
RedshiftReservedInstancesConfiguration & WithCurrentGeneration(const char *value)
RedshiftReservedInstancesConfiguration & WithInstanceFamily(const Aws::String &value)
RedshiftReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(const char *value)
RedshiftReservedInstancesConfiguration & WithPaymentOption(const Aws::String &value)
RedshiftReservedInstancesConfiguration & WithUpfrontCost(Aws::String &&value)
RedshiftReservedInstancesConfiguration & WithTerm(const char *value)
bool NumberOfInstancesToPurchaseHasBeenSet() const
const Aws::String & GetUpfrontCost() const
void SetNumberOfInstancesToPurchase(Aws::String &&value)
void SetService(const char *value)
RedshiftReservedInstancesConfiguration & WithService(const char *value)
void SetTerm(Aws::String &&value)
void SetService(const Aws::String &value)
RedshiftReservedInstancesConfiguration & WithMonthlyRecurringCost(const Aws::String &value)
void SetTerm(const Aws::String &value)
bool UpfrontCostHasBeenSet() const
void SetNormalizedUnitsToPurchase(const char *value)
void SetCurrentGeneration(Aws::String &&value)
bool NormalizedUnitsToPurchaseHasBeenSet() const
void SetAccountScope(const Aws::String &value)
RedshiftReservedInstancesConfiguration & WithCurrentGeneration(Aws::String &&value)
const Aws::String & GetReservedInstancesRegion() const
RedshiftReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(const Aws::String &value)
RedshiftReservedInstancesConfiguration & WithUpfrontCost(const char *value)
void SetMonthlyRecurringCost(const char *value)
RedshiftReservedInstancesConfiguration & WithInstanceType(const char *value)
bool InstanceTypeHasBeenSet() const
void SetInstanceType(const Aws::String &value)
void SetMonthlyRecurringCost(Aws::String &&value)
void SetReservedInstancesRegion(Aws::String &&value)
void SetMonthlyRecurringCost(const Aws::String &value)
const Aws::String & GetTerm() const
bool GetSizeFlexEligible() const
void SetUpfrontCost(const Aws::String &value)
void SetTerm(const char *value)
RedshiftReservedInstancesConfiguration & WithAccountScope(const Aws::String &value)
RedshiftReservedInstancesConfiguration & WithMonthlyRecurringCost(Aws::String &&value)
bool PaymentOptionHasBeenSet() const
const Aws::String & GetInstanceFamily() const
AWS_COSTOPTIMIZATIONHUB_API RedshiftReservedInstancesConfiguration()
const Aws::String & GetCurrentGeneration() const
void SetPaymentOption(const char *value)
RedshiftReservedInstancesConfiguration & WithService(Aws::String &&value)
void SetService(Aws::String &&value)
const Aws::String & GetAccountScope() const
void SetPaymentOption(const Aws::String &value)
AWS_COSTOPTIMIZATIONHUB_API RedshiftReservedInstancesConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetNumberOfInstancesToPurchase(const Aws::String &value)
void SetSizeFlexEligible(bool value)
RedshiftReservedInstancesConfiguration & WithReservedInstancesRegion(const Aws::String &value)
bool ServiceHasBeenSet() const
RedshiftReservedInstancesConfiguration & WithReservedInstancesRegion(const char *value)
RedshiftReservedInstancesConfiguration & WithPaymentOption(Aws::String &&value)
RedshiftReservedInstancesConfiguration & WithPaymentOption(const char *value)
RedshiftReservedInstancesConfiguration & WithReservedInstancesRegion(Aws::String &&value)
const Aws::String & GetMonthlyRecurringCost() const
RedshiftReservedInstancesConfiguration & WithAccountScope(const char *value)
void SetAccountScope(Aws::String &&value)
void SetCurrentGeneration(const Aws::String &value)
RedshiftReservedInstancesConfiguration & WithCurrentGeneration(const Aws::String &value)
const Aws::String & GetNumberOfInstancesToPurchase() const
bool AccountScopeHasBeenSet() const
void SetReservedInstancesRegion(const Aws::String &value)
void SetInstanceFamily(const Aws::String &value)
RedshiftReservedInstancesConfiguration & WithInstanceFamily(Aws::String &&value)
void SetPaymentOption(Aws::String &&value)
void SetInstanceType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue