7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CostOptimizationHub
47 template<
typename AccountScopeT = Aws::String>
48 void SetAccountScope(AccountScopeT&& value) { m_accountScopeHasBeenSet =
true; m_accountScope = std::forward<AccountScopeT>(value); }
49 template<
typename AccountScopeT = Aws::String>
59 template<
typename TermT = Aws::String>
60 void SetTerm(TermT&& value) { m_termHasBeenSet =
true; m_term = std::forward<TermT>(value); }
61 template<
typename TermT = Aws::String>
71 template<
typename PaymentOptionT = Aws::String>
72 void SetPaymentOption(PaymentOptionT&& value) { m_paymentOptionHasBeenSet =
true; m_paymentOption = std::forward<PaymentOptionT>(value); }
73 template<
typename PaymentOptionT = Aws::String>
83 template<
typename HourlyCommitmentT = Aws::String>
84 void SetHourlyCommitment(HourlyCommitmentT&& value) { m_hourlyCommitmentHasBeenSet =
true; m_hourlyCommitment = std::forward<HourlyCommitmentT>(value); }
85 template<
typename HourlyCommitmentT = Aws::String>
91 bool m_accountScopeHasBeenSet =
false;
94 bool m_termHasBeenSet =
false;
97 bool m_paymentOptionHasBeenSet =
false;
100 bool m_hourlyCommitmentHasBeenSet =
false;
AWS_COSTOPTIMIZATIONHUB_API SageMakerSavingsPlansConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
SageMakerSavingsPlansConfiguration & WithTerm(TermT &&value)
bool PaymentOptionHasBeenSet() const
void SetPaymentOption(PaymentOptionT &&value)
AWS_COSTOPTIMIZATIONHUB_API SageMakerSavingsPlansConfiguration(Aws::Utils::Json::JsonView jsonValue)
SageMakerSavingsPlansConfiguration & WithPaymentOption(PaymentOptionT &&value)
const Aws::String & GetTerm() const
const Aws::String & GetPaymentOption() const
AWS_COSTOPTIMIZATIONHUB_API SageMakerSavingsPlansConfiguration()=default
SageMakerSavingsPlansConfiguration & WithHourlyCommitment(HourlyCommitmentT &&value)
const Aws::String & GetAccountScope() const
const Aws::String & GetHourlyCommitment() const
void SetAccountScope(AccountScopeT &&value)
void SetTerm(TermT &&value)
SageMakerSavingsPlansConfiguration & WithAccountScope(AccountScopeT &&value)
void SetHourlyCommitment(HourlyCommitmentT &&value)
bool TermHasBeenSet() const
bool HourlyCommitmentHasBeenSet() const
bool AccountScopeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue