7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CostOptimizationHub
52 inline void SetAccountScope(
const char* value) { m_accountScopeHasBeenSet =
true; m_accountScope.assign(value); }
66 inline void SetTerm(
const char* value) { m_termHasBeenSet =
true; m_term.assign(value); }
80 inline void SetPaymentOption(
const char* value) { m_paymentOptionHasBeenSet =
true; m_paymentOption.assign(value); }
94 inline void SetHourlyCommitment(
const char* value) { m_hourlyCommitmentHasBeenSet =
true; m_hourlyCommitment.assign(value); }
102 bool m_accountScopeHasBeenSet =
false;
105 bool m_termHasBeenSet =
false;
108 bool m_paymentOptionHasBeenSet =
false;
111 bool m_hourlyCommitmentHasBeenSet =
false;
ComputeSavingsPlansConfiguration & WithTerm(const Aws::String &value)
ComputeSavingsPlansConfiguration & WithTerm(const char *value)
bool PaymentOptionHasBeenSet() const
bool HourlyCommitmentHasBeenSet() const
void SetPaymentOption(const Aws::String &value)
AWS_COSTOPTIMIZATIONHUB_API ComputeSavingsPlansConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API ComputeSavingsPlansConfiguration()
void SetTerm(const Aws::String &value)
ComputeSavingsPlansConfiguration & WithAccountScope(const char *value)
AWS_COSTOPTIMIZATIONHUB_API ComputeSavingsPlansConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHourlyCommitment(const Aws::String &value)
bool TermHasBeenSet() const
void SetTerm(const char *value)
void SetHourlyCommitment(const char *value)
ComputeSavingsPlansConfiguration & WithPaymentOption(Aws::String &&value)
const Aws::String & GetHourlyCommitment() const
ComputeSavingsPlansConfiguration & WithHourlyCommitment(const Aws::String &value)
void SetAccountScope(Aws::String &&value)
ComputeSavingsPlansConfiguration & WithTerm(Aws::String &&value)
ComputeSavingsPlansConfiguration & WithHourlyCommitment(Aws::String &&value)
const Aws::String & GetTerm() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPaymentOption(Aws::String &&value)
ComputeSavingsPlansConfiguration & WithAccountScope(const Aws::String &value)
void SetHourlyCommitment(Aws::String &&value)
ComputeSavingsPlansConfiguration & WithPaymentOption(const Aws::String &value)
void SetAccountScope(const Aws::String &value)
ComputeSavingsPlansConfiguration & WithHourlyCommitment(const char *value)
ComputeSavingsPlansConfiguration & WithPaymentOption(const char *value)
bool AccountScopeHasBeenSet() const
void SetAccountScope(const char *value)
const Aws::String & GetPaymentOption() const
ComputeSavingsPlansConfiguration & WithAccountScope(Aws::String &&value)
const Aws::String & GetAccountScope() const
void SetPaymentOption(const char *value)
void SetTerm(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue