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 ServiceT = Aws::String>
60 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
61 template<
typename ServiceT = Aws::String>
71 template<
typename TermT = Aws::String>
72 void SetTerm(TermT&& value) { m_termHasBeenSet =
true; m_term = std::forward<TermT>(value); }
73 template<
typename TermT = Aws::String>
83 template<
typename PaymentOptionT = Aws::String>
84 void SetPaymentOption(PaymentOptionT&& value) { m_paymentOptionHasBeenSet =
true; m_paymentOption = std::forward<PaymentOptionT>(value); }
85 template<
typename PaymentOptionT = Aws::String>
95 template<
typename ReservedInstancesRegionT = Aws::String>
96 void SetReservedInstancesRegion(ReservedInstancesRegionT&& value) { m_reservedInstancesRegionHasBeenSet =
true; m_reservedInstancesRegion = std::forward<ReservedInstancesRegionT>(value); }
97 template<
typename ReservedInstancesRegionT = Aws::String>
107 template<
typename UpfrontCostT = Aws::String>
108 void SetUpfrontCost(UpfrontCostT&& value) { m_upfrontCostHasBeenSet =
true; m_upfrontCost = std::forward<UpfrontCostT>(value); }
109 template<
typename UpfrontCostT = Aws::String>
119 template<
typename MonthlyRecurringCostT = Aws::String>
120 void SetMonthlyRecurringCost(MonthlyRecurringCostT&& value) { m_monthlyRecurringCostHasBeenSet =
true; m_monthlyRecurringCost = std::forward<MonthlyRecurringCostT>(value); }
121 template<
typename MonthlyRecurringCostT = Aws::String>
132 template<
typename NumberOfCapacityUnitsToPurchaseT = Aws::String>
133 void SetNumberOfCapacityUnitsToPurchase(NumberOfCapacityUnitsToPurchaseT&& value) { m_numberOfCapacityUnitsToPurchaseHasBeenSet =
true; m_numberOfCapacityUnitsToPurchase = std::forward<NumberOfCapacityUnitsToPurchaseT>(value); }
134 template<
typename NumberOfCapacityUnitsToPurchaseT = Aws::String>
144 template<
typename CapacityUnitsT = Aws::String>
145 void SetCapacityUnits(CapacityUnitsT&& value) { m_capacityUnitsHasBeenSet =
true; m_capacityUnits = std::forward<CapacityUnitsT>(value); }
146 template<
typename CapacityUnitsT = Aws::String>
152 bool m_accountScopeHasBeenSet =
false;
155 bool m_serviceHasBeenSet =
false;
158 bool m_termHasBeenSet =
false;
161 bool m_paymentOptionHasBeenSet =
false;
164 bool m_reservedInstancesRegionHasBeenSet =
false;
167 bool m_upfrontCostHasBeenSet =
false;
170 bool m_monthlyRecurringCostHasBeenSet =
false;
173 bool m_numberOfCapacityUnitsToPurchaseHasBeenSet =
false;
176 bool m_capacityUnitsHasBeenSet =
false;
bool CapacityUnitsHasBeenSet() const
void SetUpfrontCost(UpfrontCostT &&value)
bool ServiceHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
DynamoDbReservedCapacityConfiguration & WithReservedInstancesRegion(ReservedInstancesRegionT &&value)
const Aws::String & GetAccountScope() const
const Aws::String & GetPaymentOption() const
void SetAccountScope(AccountScopeT &&value)
void SetNumberOfCapacityUnitsToPurchase(NumberOfCapacityUnitsToPurchaseT &&value)
void SetTerm(TermT &&value)
DynamoDbReservedCapacityConfiguration & WithUpfrontCost(UpfrontCostT &&value)
const Aws::String & GetTerm() const
bool AccountScopeHasBeenSet() const
DynamoDbReservedCapacityConfiguration & WithMonthlyRecurringCost(MonthlyRecurringCostT &&value)
bool UpfrontCostHasBeenSet() const
void SetReservedInstancesRegion(ReservedInstancesRegionT &&value)
const Aws::String & GetService() const
void SetPaymentOption(PaymentOptionT &&value)
void SetCapacityUnits(CapacityUnitsT &&value)
AWS_COSTOPTIMIZATIONHUB_API DynamoDbReservedCapacityConfiguration(Aws::Utils::Json::JsonView jsonValue)
DynamoDbReservedCapacityConfiguration & WithTerm(TermT &&value)
bool MonthlyRecurringCostHasBeenSet() const
void SetMonthlyRecurringCost(MonthlyRecurringCostT &&value)
const Aws::String & GetReservedInstancesRegion() const
void SetService(ServiceT &&value)
bool NumberOfCapacityUnitsToPurchaseHasBeenSet() const
DynamoDbReservedCapacityConfiguration & WithNumberOfCapacityUnitsToPurchase(NumberOfCapacityUnitsToPurchaseT &&value)
bool PaymentOptionHasBeenSet() const
DynamoDbReservedCapacityConfiguration & WithAccountScope(AccountScopeT &&value)
const Aws::String & GetMonthlyRecurringCost() const
DynamoDbReservedCapacityConfiguration & WithCapacityUnits(CapacityUnitsT &&value)
AWS_COSTOPTIMIZATIONHUB_API DynamoDbReservedCapacityConfiguration()=default
AWS_COSTOPTIMIZATIONHUB_API DynamoDbReservedCapacityConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUpfrontCost() const
bool ReservedInstancesRegionHasBeenSet() const
DynamoDbReservedCapacityConfiguration & WithService(ServiceT &&value)
const Aws::String & GetCapacityUnits() const
const Aws::String & GetNumberOfCapacityUnitsToPurchase() const
bool TermHasBeenSet() const
DynamoDbReservedCapacityConfiguration & WithPaymentOption(PaymentOptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue