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); }
99 bool m_accountScopeHasBeenSet =
false;
102 bool m_termHasBeenSet =
false;
105 bool m_paymentOptionHasBeenSet =
false;
108 bool m_hourlyCommitmentHasBeenSet =
false;
SageMakerSavingsPlansConfiguration & WithPaymentOption(const Aws::String &value)
void SetPaymentOption(const Aws::String &value)
SageMakerSavingsPlansConfiguration & WithAccountScope(Aws::String &&value)
AWS_COSTOPTIMIZATIONHUB_API SageMakerSavingsPlansConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
SageMakerSavingsPlansConfiguration & WithTerm(const char *value)
SageMakerSavingsPlansConfiguration & WithAccountScope(const Aws::String &value)
bool PaymentOptionHasBeenSet() const
void SetHourlyCommitment(const char *value)
void SetAccountScope(const char *value)
AWS_COSTOPTIMIZATIONHUB_API SageMakerSavingsPlansConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTerm() const
void SetTerm(const char *value)
const Aws::String & GetPaymentOption() const
void SetAccountScope(Aws::String &&value)
SageMakerSavingsPlansConfiguration & WithHourlyCommitment(const Aws::String &value)
AWS_COSTOPTIMIZATIONHUB_API SageMakerSavingsPlansConfiguration()
void SetTerm(Aws::String &&value)
const Aws::String & GetAccountScope() const
void SetAccountScope(const Aws::String &value)
SageMakerSavingsPlansConfiguration & WithPaymentOption(Aws::String &&value)
const Aws::String & GetHourlyCommitment() const
void SetTerm(const Aws::String &value)
void SetHourlyCommitment(const Aws::String &value)
void SetHourlyCommitment(Aws::String &&value)
SageMakerSavingsPlansConfiguration & WithAccountScope(const char *value)
SageMakerSavingsPlansConfiguration & WithHourlyCommitment(const char *value)
SageMakerSavingsPlansConfiguration & WithPaymentOption(const char *value)
SageMakerSavingsPlansConfiguration & WithHourlyCommitment(Aws::String &&value)
SageMakerSavingsPlansConfiguration & WithTerm(Aws::String &&value)
void SetPaymentOption(Aws::String &&value)
bool TermHasBeenSet() const
bool HourlyCommitmentHasBeenSet() const
void SetPaymentOption(const char *value)
bool AccountScopeHasBeenSet() const
SageMakerSavingsPlansConfiguration & WithTerm(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue