7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
19namespace CostOptimizationHub {
41 template <
typename AccountScopeT = Aws::String>
43 m_accountScopeHasBeenSet =
true;
44 m_accountScope = std::forward<AccountScopeT>(value);
46 template <
typename AccountScopeT = Aws::String>
59 template <
typename ServiceT = Aws::String>
61 m_serviceHasBeenSet =
true;
62 m_service = std::forward<ServiceT>(value);
64 template <
typename ServiceT = Aws::String>
77 template <
typename TermT = Aws::String>
79 m_termHasBeenSet =
true;
80 m_term = std::forward<TermT>(value);
82 template <
typename TermT = Aws::String>
84 SetTerm(std::forward<TermT>(value));
95 template <
typename PaymentOptionT = Aws::String>
97 m_paymentOptionHasBeenSet =
true;
98 m_paymentOption = std::forward<PaymentOptionT>(value);
100 template <
typename PaymentOptionT = Aws::String>
113 template <
typename ReservedInstancesRegionT = Aws::String>
115 m_reservedInstancesRegionHasBeenSet =
true;
116 m_reservedInstancesRegion = std::forward<ReservedInstancesRegionT>(value);
118 template <
typename ReservedInstancesRegionT = Aws::String>
131 template <
typename UpfrontCostT = Aws::String>
133 m_upfrontCostHasBeenSet =
true;
134 m_upfrontCost = std::forward<UpfrontCostT>(value);
136 template <
typename UpfrontCostT = Aws::String>
149 template <
typename MonthlyRecurringCostT = Aws::String>
151 m_monthlyRecurringCostHasBeenSet =
true;
152 m_monthlyRecurringCost = std::forward<MonthlyRecurringCostT>(value);
154 template <
typename MonthlyRecurringCostT = Aws::String>
168 template <
typename NumberOfCapacityUnitsToPurchaseT = Aws::String>
170 m_numberOfCapacityUnitsToPurchaseHasBeenSet =
true;
171 m_numberOfCapacityUnitsToPurchase = std::forward<NumberOfCapacityUnitsToPurchaseT>(value);
173 template <
typename NumberOfCapacityUnitsToPurchaseT = Aws::String>
186 template <
typename CapacityUnitsT = Aws::String>
188 m_capacityUnitsHasBeenSet =
true;
189 m_capacityUnits = std::forward<CapacityUnitsT>(value);
191 template <
typename CapacityUnitsT = Aws::String>
215 bool m_accountScopeHasBeenSet =
false;
216 bool m_serviceHasBeenSet =
false;
217 bool m_termHasBeenSet =
false;
218 bool m_paymentOptionHasBeenSet =
false;
219 bool m_reservedInstancesRegionHasBeenSet =
false;
220 bool m_upfrontCostHasBeenSet =
false;
221 bool m_monthlyRecurringCostHasBeenSet =
false;
222 bool m_numberOfCapacityUnitsToPurchaseHasBeenSet =
false;
223 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