7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename UtilizationPercentageT = Aws::String>
48 void SetUtilizationPercentage(UtilizationPercentageT&& value) { m_utilizationPercentageHasBeenSet =
true; m_utilizationPercentage = std::forward<UtilizationPercentageT>(value); }
49 template<
typename UtilizationPercentageT = Aws::String>
61 template<
typename UtilizationPercentageInUnitsT = Aws::String>
62 void SetUtilizationPercentageInUnits(UtilizationPercentageInUnitsT&& value) { m_utilizationPercentageInUnitsHasBeenSet =
true; m_utilizationPercentageInUnits = std::forward<UtilizationPercentageInUnitsT>(value); }
63 template<
typename UtilizationPercentageInUnitsT = Aws::String>
73 template<
typename PurchasedHoursT = Aws::String>
74 void SetPurchasedHours(PurchasedHoursT&& value) { m_purchasedHoursHasBeenSet =
true; m_purchasedHours = std::forward<PurchasedHoursT>(value); }
75 template<
typename PurchasedHoursT = Aws::String>
87 template<
typename PurchasedUnitsT = Aws::String>
88 void SetPurchasedUnits(PurchasedUnitsT&& value) { m_purchasedUnitsHasBeenSet =
true; m_purchasedUnits = std::forward<PurchasedUnitsT>(value); }
89 template<
typename PurchasedUnitsT = Aws::String>
99 template<
typename TotalActualHoursT = Aws::String>
100 void SetTotalActualHours(TotalActualHoursT&& value) { m_totalActualHoursHasBeenSet =
true; m_totalActualHours = std::forward<TotalActualHoursT>(value); }
101 template<
typename TotalActualHoursT = Aws::String>
113 template<
typename TotalActualUnitsT = Aws::String>
114 void SetTotalActualUnits(TotalActualUnitsT&& value) { m_totalActualUnitsHasBeenSet =
true; m_totalActualUnits = std::forward<TotalActualUnitsT>(value); }
115 template<
typename TotalActualUnitsT = Aws::String>
125 template<
typename UnusedHoursT = Aws::String>
126 void SetUnusedHours(UnusedHoursT&& value) { m_unusedHoursHasBeenSet =
true; m_unusedHours = std::forward<UnusedHoursT>(value); }
127 template<
typename UnusedHoursT = Aws::String>
139 template<
typename UnusedUnitsT = Aws::String>
140 void SetUnusedUnits(UnusedUnitsT&& value) { m_unusedUnitsHasBeenSet =
true; m_unusedUnits = std::forward<UnusedUnitsT>(value); }
141 template<
typename UnusedUnitsT = Aws::String>
151 template<
typename OnDemandCostOfRIHoursUsedT = Aws::String>
152 void SetOnDemandCostOfRIHoursUsed(OnDemandCostOfRIHoursUsedT&& value) { m_onDemandCostOfRIHoursUsedHasBeenSet =
true; m_onDemandCostOfRIHoursUsed = std::forward<OnDemandCostOfRIHoursUsedT>(value); }
153 template<
typename OnDemandCostOfRIHoursUsedT = Aws::String>
165 template<
typename NetRISavingsT = Aws::String>
166 void SetNetRISavings(NetRISavingsT&& value) { m_netRISavingsHasBeenSet =
true; m_netRISavings = std::forward<NetRISavingsT>(value); }
167 template<
typename NetRISavingsT = Aws::String>
177 template<
typename TotalPotentialRISavingsT = Aws::String>
178 void SetTotalPotentialRISavings(TotalPotentialRISavingsT&& value) { m_totalPotentialRISavingsHasBeenSet =
true; m_totalPotentialRISavings = std::forward<TotalPotentialRISavingsT>(value); }
179 template<
typename TotalPotentialRISavingsT = Aws::String>
190 template<
typename AmortizedUpfrontFeeT = Aws::String>
191 void SetAmortizedUpfrontFee(AmortizedUpfrontFeeT&& value) { m_amortizedUpfrontFeeHasBeenSet =
true; m_amortizedUpfrontFee = std::forward<AmortizedUpfrontFeeT>(value); }
192 template<
typename AmortizedUpfrontFeeT = Aws::String>
203 template<
typename AmortizedRecurringFeeT = Aws::String>
204 void SetAmortizedRecurringFee(AmortizedRecurringFeeT&& value) { m_amortizedRecurringFeeHasBeenSet =
true; m_amortizedRecurringFee = std::forward<AmortizedRecurringFeeT>(value); }
205 template<
typename AmortizedRecurringFeeT = Aws::String>
216 template<
typename TotalAmortizedFeeT = Aws::String>
217 void SetTotalAmortizedFee(TotalAmortizedFeeT&& value) { m_totalAmortizedFeeHasBeenSet =
true; m_totalAmortizedFee = std::forward<TotalAmortizedFeeT>(value); }
218 template<
typename TotalAmortizedFeeT = Aws::String>
228 template<
typename RICostForUnusedHoursT = Aws::String>
229 void SetRICostForUnusedHours(RICostForUnusedHoursT&& value) { m_rICostForUnusedHoursHasBeenSet =
true; m_rICostForUnusedHours = std::forward<RICostForUnusedHoursT>(value); }
230 template<
typename RICostForUnusedHoursT = Aws::String>
240 template<
typename RealizedSavingsT = Aws::String>
241 void SetRealizedSavings(RealizedSavingsT&& value) { m_realizedSavingsHasBeenSet =
true; m_realizedSavings = std::forward<RealizedSavingsT>(value); }
242 template<
typename RealizedSavingsT = Aws::String>
252 template<
typename UnrealizedSavingsT = Aws::String>
253 void SetUnrealizedSavings(UnrealizedSavingsT&& value) { m_unrealizedSavingsHasBeenSet =
true; m_unrealizedSavings = std::forward<UnrealizedSavingsT>(value); }
254 template<
typename UnrealizedSavingsT = Aws::String>
260 bool m_utilizationPercentageHasBeenSet =
false;
263 bool m_utilizationPercentageInUnitsHasBeenSet =
false;
266 bool m_purchasedHoursHasBeenSet =
false;
269 bool m_purchasedUnitsHasBeenSet =
false;
272 bool m_totalActualHoursHasBeenSet =
false;
275 bool m_totalActualUnitsHasBeenSet =
false;
278 bool m_unusedHoursHasBeenSet =
false;
281 bool m_unusedUnitsHasBeenSet =
false;
284 bool m_onDemandCostOfRIHoursUsedHasBeenSet =
false;
287 bool m_netRISavingsHasBeenSet =
false;
290 bool m_totalPotentialRISavingsHasBeenSet =
false;
293 bool m_amortizedUpfrontFeeHasBeenSet =
false;
296 bool m_amortizedRecurringFeeHasBeenSet =
false;
299 bool m_totalAmortizedFeeHasBeenSet =
false;
302 bool m_rICostForUnusedHoursHasBeenSet =
false;
305 bool m_realizedSavingsHasBeenSet =
false;
308 bool m_unrealizedSavingsHasBeenSet =
false;
ReservationAggregates & WithRealizedSavings(RealizedSavingsT &&value)
ReservationAggregates & WithUtilizationPercentageInUnits(UtilizationPercentageInUnitsT &&value)
const Aws::String & GetTotalAmortizedFee() const
void SetTotalAmortizedFee(TotalAmortizedFeeT &&value)
bool PurchasedUnitsHasBeenSet() const
ReservationAggregates & WithNetRISavings(NetRISavingsT &&value)
const Aws::String & GetAmortizedRecurringFee() const
AWS_COSTEXPLORER_API ReservationAggregates()=default
bool TotalActualUnitsHasBeenSet() const
AWS_COSTEXPLORER_API ReservationAggregates & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRealizedSavings() const
void SetUnrealizedSavings(UnrealizedSavingsT &&value)
ReservationAggregates & WithTotalPotentialRISavings(TotalPotentialRISavingsT &&value)
bool AmortizedUpfrontFeeHasBeenSet() const
ReservationAggregates & WithTotalAmortizedFee(TotalAmortizedFeeT &&value)
void SetUnusedHours(UnusedHoursT &&value)
const Aws::String & GetTotalActualHours() const
bool RICostForUnusedHoursHasBeenSet() const
void SetRICostForUnusedHours(RICostForUnusedHoursT &&value)
ReservationAggregates & WithTotalActualUnits(TotalActualUnitsT &&value)
ReservationAggregates & WithPurchasedHours(PurchasedHoursT &&value)
void SetAmortizedUpfrontFee(AmortizedUpfrontFeeT &&value)
ReservationAggregates & WithUnusedUnits(UnusedUnitsT &&value)
const Aws::String & GetUnusedUnits() const
const Aws::String & GetPurchasedUnits() const
ReservationAggregates & WithUnusedHours(UnusedHoursT &&value)
ReservationAggregates & WithOnDemandCostOfRIHoursUsed(OnDemandCostOfRIHoursUsedT &&value)
void SetPurchasedUnits(PurchasedUnitsT &&value)
bool AmortizedRecurringFeeHasBeenSet() const
AWS_COSTEXPLORER_API ReservationAggregates(Aws::Utils::Json::JsonView jsonValue)
bool PurchasedHoursHasBeenSet() const
const Aws::String & GetNetRISavings() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
ReservationAggregates & WithUnrealizedSavings(UnrealizedSavingsT &&value)
void SetUnusedUnits(UnusedUnitsT &&value)
void SetTotalActualUnits(TotalActualUnitsT &&value)
bool TotalPotentialRISavingsHasBeenSet() const
bool UtilizationPercentageInUnitsHasBeenSet() const
bool OnDemandCostOfRIHoursUsedHasBeenSet() const
const Aws::String & GetUtilizationPercentage() const
const Aws::String & GetUnrealizedSavings() const
ReservationAggregates & WithAmortizedRecurringFee(AmortizedRecurringFeeT &&value)
bool RealizedSavingsHasBeenSet() const
const Aws::String & GetTotalActualUnits() const
ReservationAggregates & WithPurchasedUnits(PurchasedUnitsT &&value)
const Aws::String & GetPurchasedHours() const
void SetTotalPotentialRISavings(TotalPotentialRISavingsT &&value)
void SetNetRISavings(NetRISavingsT &&value)
bool UnusedUnitsHasBeenSet() const
bool UtilizationPercentageHasBeenSet() const
ReservationAggregates & WithTotalActualHours(TotalActualHoursT &&value)
const Aws::String & GetAmortizedUpfrontFee() const
ReservationAggregates & WithAmortizedUpfrontFee(AmortizedUpfrontFeeT &&value)
void SetRealizedSavings(RealizedSavingsT &&value)
bool UnusedHoursHasBeenSet() const
void SetAmortizedRecurringFee(AmortizedRecurringFeeT &&value)
const Aws::String & GetUnusedHours() const
void SetPurchasedHours(PurchasedHoursT &&value)
void SetUtilizationPercentageInUnits(UtilizationPercentageInUnitsT &&value)
ReservationAggregates & WithUtilizationPercentage(UtilizationPercentageT &&value)
bool UnrealizedSavingsHasBeenSet() const
bool TotalAmortizedFeeHasBeenSet() const
void SetTotalActualHours(TotalActualHoursT &&value)
ReservationAggregates & WithRICostForUnusedHours(RICostForUnusedHoursT &&value)
void SetOnDemandCostOfRIHoursUsed(OnDemandCostOfRIHoursUsedT &&value)
const Aws::String & GetTotalPotentialRISavings() const
bool TotalActualHoursHasBeenSet() const
void SetUtilizationPercentage(UtilizationPercentageT &&value)
const Aws::String & GetOnDemandCostOfRIHoursUsed() const
const Aws::String & GetRICostForUnusedHours() const
const Aws::String & GetUtilizationPercentageInUnits() const
bool NetRISavingsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue