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 SetTerm(
const char* value) { m_termHasBeenSet =
true; m_term.assign(value); }
77 inline void SetPaymentOption(
const char* value) { m_paymentOptionHasBeenSet =
true; m_paymentOption.assign(value); }
91 inline void SetHourlyCommitment(
const char* value) { m_hourlyCommitmentHasBeenSet =
true; m_hourlyCommitment.assign(value); }
105 inline void SetInstanceFamily(
const char* value) { m_instanceFamilyHasBeenSet =
true; m_instanceFamily.assign(value); }
119 inline void SetSavingsPlansRegion(
const char* value) { m_savingsPlansRegionHasBeenSet =
true; m_savingsPlansRegion.assign(value); }
127 bool m_accountScopeHasBeenSet =
false;
130 bool m_termHasBeenSet =
false;
133 bool m_paymentOptionHasBeenSet =
false;
136 bool m_hourlyCommitmentHasBeenSet =
false;
139 bool m_instanceFamilyHasBeenSet =
false;
142 bool m_savingsPlansRegionHasBeenSet =
false;
void SetPaymentOption(const Aws::String &value)
const Aws::String & GetSavingsPlansRegion() const
void SetSavingsPlansRegion(const Aws::String &value)
void SetHourlyCommitment(const Aws::String &value)
AWS_COSTOPTIMIZATIONHUB_API Ec2InstanceSavingsPlansConfiguration()
void SetSavingsPlansRegion(const char *value)
void SetPaymentOption(const char *value)
void SetAccountScope(Aws::String &&value)
Ec2InstanceSavingsPlansConfiguration & WithTerm(const char *value)
Ec2InstanceSavingsPlansConfiguration & WithPaymentOption(const Aws::String &value)
AWS_COSTOPTIMIZATIONHUB_API Ec2InstanceSavingsPlansConfiguration(Aws::Utils::Json::JsonView jsonValue)
Ec2InstanceSavingsPlansConfiguration & WithPaymentOption(const char *value)
Ec2InstanceSavingsPlansConfiguration & WithSavingsPlansRegion(const Aws::String &value)
void SetSavingsPlansRegion(Aws::String &&value)
Ec2InstanceSavingsPlansConfiguration & WithInstanceFamily(const Aws::String &value)
Ec2InstanceSavingsPlansConfiguration & WithAccountScope(Aws::String &&value)
const Aws::String & GetTerm() const
void SetHourlyCommitment(const char *value)
void SetInstanceFamily(const Aws::String &value)
Ec2InstanceSavingsPlansConfiguration & WithAccountScope(const Aws::String &value)
void SetInstanceFamily(Aws::String &&value)
void SetInstanceFamily(const char *value)
const Aws::String & GetPaymentOption() const
bool SavingsPlansRegionHasBeenSet() const
Ec2InstanceSavingsPlansConfiguration & WithInstanceFamily(Aws::String &&value)
void SetTerm(Aws::String &&value)
void SetHourlyCommitment(Aws::String &&value)
const Aws::String & GetAccountScope() const
AWS_COSTOPTIMIZATIONHUB_API Ec2InstanceSavingsPlansConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountScope(const char *value)
void SetAccountScope(const Aws::String &value)
Ec2InstanceSavingsPlansConfiguration & WithHourlyCommitment(const Aws::String &value)
bool TermHasBeenSet() const
Ec2InstanceSavingsPlansConfiguration & WithTerm(Aws::String &&value)
const Aws::String & GetInstanceFamily() const
Ec2InstanceSavingsPlansConfiguration & WithHourlyCommitment(Aws::String &&value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Ec2InstanceSavingsPlansConfiguration & WithAccountScope(const char *value)
void SetTerm(const char *value)
Ec2InstanceSavingsPlansConfiguration & WithHourlyCommitment(const char *value)
Ec2InstanceSavingsPlansConfiguration & WithTerm(const Aws::String &value)
bool PaymentOptionHasBeenSet() const
const Aws::String & GetHourlyCommitment() const
Ec2InstanceSavingsPlansConfiguration & WithSavingsPlansRegion(const char *value)
Ec2InstanceSavingsPlansConfiguration & WithPaymentOption(Aws::String &&value)
void SetPaymentOption(Aws::String &&value)
Ec2InstanceSavingsPlansConfiguration & WithSavingsPlansRegion(Aws::String &&value)
Ec2InstanceSavingsPlansConfiguration & WithInstanceFamily(const char *value)
void SetTerm(const Aws::String &value)
bool HourlyCommitmentHasBeenSet() const
bool AccountScopeHasBeenSet() const
bool InstanceFamilyHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue