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); }
136 inline void SetOfferingClass(
const char* value) { m_offeringClassHasBeenSet =
true; m_offeringClass.assign(value); }
150 inline void SetInstanceFamily(
const char* value) { m_instanceFamilyHasBeenSet =
true; m_instanceFamily.assign(value); }
164 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
178 inline void SetReservedInstancesRegion(
const char* value) { m_reservedInstancesRegionHasBeenSet =
true; m_reservedInstancesRegion.assign(value); }
193 inline void SetCurrentGeneration(
const char* value) { m_currentGenerationHasBeenSet =
true; m_currentGeneration.assign(value); }
208 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
222 inline void SetTenancy(
const char* value) { m_tenancyHasBeenSet =
true; m_tenancy.assign(value); }
234 inline void SetSizeFlexEligible(
bool value) { m_sizeFlexEligibleHasBeenSet =
true; m_sizeFlexEligible = value; }
246 inline void SetUpfrontCost(
const char* value) { m_upfrontCostHasBeenSet =
true; m_upfrontCost.assign(value); }
260 inline void SetMonthlyRecurringCost(
const char* value) { m_monthlyRecurringCostHasBeenSet =
true; m_monthlyRecurringCost.assign(value); }
268 bool m_accountScopeHasBeenSet =
false;
271 bool m_serviceHasBeenSet =
false;
274 bool m_normalizedUnitsToPurchaseHasBeenSet =
false;
277 bool m_termHasBeenSet =
false;
280 bool m_paymentOptionHasBeenSet =
false;
283 bool m_numberOfInstancesToPurchaseHasBeenSet =
false;
286 bool m_offeringClassHasBeenSet =
false;
289 bool m_instanceFamilyHasBeenSet =
false;
292 bool m_instanceTypeHasBeenSet =
false;
295 bool m_reservedInstancesRegionHasBeenSet =
false;
298 bool m_currentGenerationHasBeenSet =
false;
301 bool m_platformHasBeenSet =
false;
304 bool m_tenancyHasBeenSet =
false;
306 bool m_sizeFlexEligible;
307 bool m_sizeFlexEligibleHasBeenSet =
false;
310 bool m_upfrontCostHasBeenSet =
false;
313 bool m_monthlyRecurringCostHasBeenSet =
false;
void SetOfferingClass(const Aws::String &value)
void SetUpfrontCost(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithPaymentOption(const char *value)
void SetTerm(const char *value)
Ec2ReservedInstancesConfiguration & WithReservedInstancesRegion(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithInstanceType(const Aws::String &value)
bool CurrentGenerationHasBeenSet() const
bool MonthlyRecurringCostHasBeenSet() const
void SetNormalizedUnitsToPurchase(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithUpfrontCost(const char *value)
Ec2ReservedInstancesConfiguration & WithPlatform(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithOfferingClass(const char *value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTenancy(const char *value)
bool SizeFlexEligibleHasBeenSet() const
void SetInstanceType(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithTenancy(Aws::String &&value)
void SetService(const Aws::String &value)
void SetReservedInstancesRegion(Aws::String &&value)
const Aws::String & GetReservedInstancesRegion() const
Ec2ReservedInstancesConfiguration & WithReservedInstancesRegion(const char *value)
void SetNormalizedUnitsToPurchase(const char *value)
AWS_COSTOPTIMIZATIONHUB_API Ec2ReservedInstancesConfiguration()
void SetAccountScope(const char *value)
bool UpfrontCostHasBeenSet() const
Ec2ReservedInstancesConfiguration & WithSizeFlexEligible(bool value)
void SetCurrentGeneration(Aws::String &&value)
bool ReservedInstancesRegionHasBeenSet() const
Ec2ReservedInstancesConfiguration & WithTenancy(const Aws::String &value)
Ec2ReservedInstancesConfiguration & WithUpfrontCost(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithUpfrontCost(const Aws::String &value)
Ec2ReservedInstancesConfiguration & WithMonthlyRecurringCost(const Aws::String &value)
void SetPlatform(const Aws::String &value)
Ec2ReservedInstancesConfiguration & WithOfferingClass(Aws::String &&value)
void SetNormalizedUnitsToPurchase(const Aws::String &value)
Ec2ReservedInstancesConfiguration & WithPlatform(const char *value)
bool TermHasBeenSet() const
Ec2ReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(const Aws::String &value)
Ec2ReservedInstancesConfiguration & WithService(const char *value)
Ec2ReservedInstancesConfiguration & WithAccountScope(Aws::String &&value)
const Aws::String & GetPaymentOption() const
const Aws::String & GetCurrentGeneration() const
Ec2ReservedInstancesConfiguration & WithOfferingClass(const Aws::String &value)
void SetCurrentGeneration(const char *value)
void SetService(const char *value)
void SetInstanceType(const Aws::String &value)
Ec2ReservedInstancesConfiguration & WithService(const Aws::String &value)
AWS_COSTOPTIMIZATIONHUB_API Ec2ReservedInstancesConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Ec2ReservedInstancesConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PlatformHasBeenSet() const
Ec2ReservedInstancesConfiguration & WithTerm(Aws::String &&value)
bool AccountScopeHasBeenSet() const
const Aws::String & GetService() const
void SetTerm(const Aws::String &value)
void SetTenancy(const Aws::String &value)
Ec2ReservedInstancesConfiguration & WithPlatform(const Aws::String &value)
void SetNumberOfInstancesToPurchase(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithInstanceType(const char *value)
bool OfferingClassHasBeenSet() const
Ec2ReservedInstancesConfiguration & WithCurrentGeneration(const char *value)
void SetCurrentGeneration(const Aws::String &value)
void SetPaymentOption(const char *value)
const Aws::String & GetTenancy() const
Ec2ReservedInstancesConfiguration & WithAccountScope(const Aws::String &value)
const Aws::String & GetInstanceFamily() const
void SetPlatform(const char *value)
Ec2ReservedInstancesConfiguration & WithInstanceFamily(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithAccountScope(const char *value)
void SetOfferingClass(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithService(Aws::String &&value)
const Aws::String & GetMonthlyRecurringCost() const
Ec2ReservedInstancesConfiguration & WithCurrentGeneration(const Aws::String &value)
void SetUpfrontCost(const Aws::String &value)
Ec2ReservedInstancesConfiguration & WithTenancy(const char *value)
void SetInstanceType(const char *value)
void SetPlatform(Aws::String &&value)
bool GetSizeFlexEligible() const
const Aws::String & GetInstanceType() const
void SetPaymentOption(Aws::String &&value)
void SetMonthlyRecurringCost(const Aws::String &value)
bool ServiceHasBeenSet() const
Ec2ReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(const char *value)
Ec2ReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(const Aws::String &value)
bool TenancyHasBeenSet() const
Ec2ReservedInstancesConfiguration & WithPaymentOption(const Aws::String &value)
void SetTenancy(Aws::String &&value)
void SetInstanceFamily(const char *value)
void SetService(Aws::String &&value)
void SetMonthlyRecurringCost(Aws::String &&value)
void SetInstanceFamily(Aws::String &&value)
bool PaymentOptionHasBeenSet() const
bool NormalizedUnitsToPurchaseHasBeenSet() const
const Aws::String & GetNormalizedUnitsToPurchase() const
Ec2ReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(const char *value)
bool InstanceTypeHasBeenSet() const
void SetNumberOfInstancesToPurchase(const Aws::String &value)
bool NumberOfInstancesToPurchaseHasBeenSet() const
void SetAccountScope(Aws::String &&value)
bool InstanceFamilyHasBeenSet() const
const Aws::String & GetPlatform() const
void SetReservedInstancesRegion(const Aws::String &value)
const Aws::String & GetOfferingClass() const
Ec2ReservedInstancesConfiguration & WithTerm(const Aws::String &value)
void SetMonthlyRecurringCost(const char *value)
Ec2ReservedInstancesConfiguration & WithMonthlyRecurringCost(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithTerm(const char *value)
void SetInstanceFamily(const Aws::String &value)
const Aws::String & GetUpfrontCost() const
Ec2ReservedInstancesConfiguration & WithCurrentGeneration(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithReservedInstancesRegion(const Aws::String &value)
Ec2ReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithPaymentOption(Aws::String &&value)
void SetPaymentOption(const Aws::String &value)
void SetNumberOfInstancesToPurchase(const char *value)
Ec2ReservedInstancesConfiguration & WithInstanceFamily(const char *value)
void SetOfferingClass(const char *value)
void SetReservedInstancesRegion(const char *value)
void SetUpfrontCost(const char *value)
Ec2ReservedInstancesConfiguration & WithMonthlyRecurringCost(const char *value)
const Aws::String & GetAccountScope() const
void SetSizeFlexEligible(bool value)
const Aws::String & GetTerm() const
Ec2ReservedInstancesConfiguration & WithInstanceType(Aws::String &&value)
void SetTerm(Aws::String &&value)
Ec2ReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(Aws::String &&value)
void SetAccountScope(const Aws::String &value)
Ec2ReservedInstancesConfiguration & WithInstanceFamily(const Aws::String &value)
const Aws::String & GetNumberOfInstancesToPurchase() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue