7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CostOptimizationHub
50 template<
typename AccountScopeT = Aws::String>
51 void SetAccountScope(AccountScopeT&& value) { m_accountScopeHasBeenSet =
true; m_accountScope = std::forward<AccountScopeT>(value); }
52 template<
typename AccountScopeT = Aws::String>
62 template<
typename TermT = Aws::String>
63 void SetTerm(TermT&& value) { m_termHasBeenSet =
true; m_term = std::forward<TermT>(value); }
64 template<
typename TermT = Aws::String>
74 template<
typename PaymentOptionT = Aws::String>
75 void SetPaymentOption(PaymentOptionT&& value) { m_paymentOptionHasBeenSet =
true; m_paymentOption = std::forward<PaymentOptionT>(value); }
76 template<
typename PaymentOptionT = Aws::String>
86 template<
typename HourlyCommitmentT = Aws::String>
87 void SetHourlyCommitment(HourlyCommitmentT&& value) { m_hourlyCommitmentHasBeenSet =
true; m_hourlyCommitment = std::forward<HourlyCommitmentT>(value); }
88 template<
typename HourlyCommitmentT = Aws::String>
94 bool m_accountScopeHasBeenSet =
false;
97 bool m_termHasBeenSet =
false;
100 bool m_paymentOptionHasBeenSet =
false;
103 bool m_hourlyCommitmentHasBeenSet =
false;
bool PaymentOptionHasBeenSet() const
bool HourlyCommitmentHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API ComputeSavingsPlansConfiguration()=default
ComputeSavingsPlansConfiguration & WithAccountScope(AccountScopeT &&value)
AWS_COSTOPTIMIZATIONHUB_API ComputeSavingsPlansConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetPaymentOption(PaymentOptionT &&value)
ComputeSavingsPlansConfiguration & WithHourlyCommitment(HourlyCommitmentT &&value)
void SetHourlyCommitment(HourlyCommitmentT &&value)
ComputeSavingsPlansConfiguration & WithPaymentOption(PaymentOptionT &&value)
AWS_COSTOPTIMIZATIONHUB_API ComputeSavingsPlansConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TermHasBeenSet() const
void SetAccountScope(AccountScopeT &&value)
const Aws::String & GetHourlyCommitment() const
const Aws::String & GetTerm() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTerm(TermT &&value)
bool AccountScopeHasBeenSet() const
ComputeSavingsPlansConfiguration & WithTerm(TermT &&value)
const Aws::String & GetPaymentOption() const
const Aws::String & GetAccountScope() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue