7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CostExplorer {
41 template <
typename UtilizationPercentageT = Aws::String>
43 m_utilizationPercentageHasBeenSet =
true;
44 m_utilizationPercentage = std::forward<UtilizationPercentageT>(value);
46 template <
typename UtilizationPercentageT = Aws::String>
61 template <
typename UtilizationPercentageInUnitsT = Aws::String>
63 m_utilizationPercentageInUnitsHasBeenSet =
true;
64 m_utilizationPercentageInUnits = std::forward<UtilizationPercentageInUnitsT>(value);
66 template <
typename UtilizationPercentageInUnitsT = Aws::String>
79 template <
typename PurchasedHoursT = Aws::String>
81 m_purchasedHoursHasBeenSet =
true;
82 m_purchasedHours = std::forward<PurchasedHoursT>(value);
84 template <
typename PurchasedHoursT = Aws::String>
99 template <
typename PurchasedUnitsT = Aws::String>
101 m_purchasedUnitsHasBeenSet =
true;
102 m_purchasedUnits = std::forward<PurchasedUnitsT>(value);
104 template <
typename PurchasedUnitsT = Aws::String>
117 template <
typename TotalActualHoursT = Aws::String>
119 m_totalActualHoursHasBeenSet =
true;
120 m_totalActualHours = std::forward<TotalActualHoursT>(value);
122 template <
typename TotalActualHoursT = Aws::String>
137 template <
typename TotalActualUnitsT = Aws::String>
139 m_totalActualUnitsHasBeenSet =
true;
140 m_totalActualUnits = std::forward<TotalActualUnitsT>(value);
142 template <
typename TotalActualUnitsT = Aws::String>
155 template <
typename UnusedHoursT = Aws::String>
157 m_unusedHoursHasBeenSet =
true;
158 m_unusedHours = std::forward<UnusedHoursT>(value);
160 template <
typename UnusedHoursT = Aws::String>
175 template <
typename UnusedUnitsT = Aws::String>
177 m_unusedUnitsHasBeenSet =
true;
178 m_unusedUnits = std::forward<UnusedUnitsT>(value);
180 template <
typename UnusedUnitsT = Aws::String>
193 template <
typename OnDemandCostOfRIHoursUsedT = Aws::String>
195 m_onDemandCostOfRIHoursUsedHasBeenSet =
true;
196 m_onDemandCostOfRIHoursUsed = std::forward<OnDemandCostOfRIHoursUsedT>(value);
198 template <
typename OnDemandCostOfRIHoursUsedT = Aws::String>
213 template <
typename NetRISavingsT = Aws::String>
215 m_netRISavingsHasBeenSet =
true;
216 m_netRISavings = std::forward<NetRISavingsT>(value);
218 template <
typename NetRISavingsT = Aws::String>
231 template <
typename TotalPotentialRISavingsT = Aws::String>
233 m_totalPotentialRISavingsHasBeenSet =
true;
234 m_totalPotentialRISavings = std::forward<TotalPotentialRISavingsT>(value);
236 template <
typename TotalPotentialRISavingsT = Aws::String>
250 template <
typename AmortizedUpfrontFeeT = Aws::String>
252 m_amortizedUpfrontFeeHasBeenSet =
true;
253 m_amortizedUpfrontFee = std::forward<AmortizedUpfrontFeeT>(value);
255 template <
typename AmortizedUpfrontFeeT = Aws::String>
269 template <
typename AmortizedRecurringFeeT = Aws::String>
271 m_amortizedRecurringFeeHasBeenSet =
true;
272 m_amortizedRecurringFee = std::forward<AmortizedRecurringFeeT>(value);
274 template <
typename AmortizedRecurringFeeT = Aws::String>
288 template <
typename TotalAmortizedFeeT = Aws::String>
290 m_totalAmortizedFeeHasBeenSet =
true;
291 m_totalAmortizedFee = std::forward<TotalAmortizedFeeT>(value);
293 template <
typename TotalAmortizedFeeT = Aws::String>
306 template <
typename RICostForUnusedHoursT = Aws::String>
308 m_rICostForUnusedHoursHasBeenSet =
true;
309 m_rICostForUnusedHours = std::forward<RICostForUnusedHoursT>(value);
311 template <
typename RICostForUnusedHoursT = Aws::String>
324 template <
typename RealizedSavingsT = Aws::String>
326 m_realizedSavingsHasBeenSet =
true;
327 m_realizedSavings = std::forward<RealizedSavingsT>(value);
329 template <
typename RealizedSavingsT = Aws::String>
342 template <
typename UnrealizedSavingsT = Aws::String>
344 m_unrealizedSavingsHasBeenSet =
true;
345 m_unrealizedSavings = std::forward<UnrealizedSavingsT>(value);
347 template <
typename UnrealizedSavingsT = Aws::String>
387 bool m_utilizationPercentageHasBeenSet =
false;
388 bool m_utilizationPercentageInUnitsHasBeenSet =
false;
389 bool m_purchasedHoursHasBeenSet =
false;
390 bool m_purchasedUnitsHasBeenSet =
false;
391 bool m_totalActualHoursHasBeenSet =
false;
392 bool m_totalActualUnitsHasBeenSet =
false;
393 bool m_unusedHoursHasBeenSet =
false;
394 bool m_unusedUnitsHasBeenSet =
false;
395 bool m_onDemandCostOfRIHoursUsedHasBeenSet =
false;
396 bool m_netRISavingsHasBeenSet =
false;
397 bool m_totalPotentialRISavingsHasBeenSet =
false;
398 bool m_amortizedUpfrontFeeHasBeenSet =
false;
399 bool m_amortizedRecurringFeeHasBeenSet =
false;
400 bool m_totalAmortizedFeeHasBeenSet =
false;
401 bool m_rICostForUnusedHoursHasBeenSet =
false;
402 bool m_realizedSavingsHasBeenSet =
false;
403 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