/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The aggregated numbers for your reservation usage.See Also:
* AWS
* API Reference
The percentage of reservation time that you used.
*/ inline const Aws::String& GetUtilizationPercentage() const{ return m_utilizationPercentage; } /** *The percentage of reservation time that you used.
*/ inline bool UtilizationPercentageHasBeenSet() const { return m_utilizationPercentageHasBeenSet; } /** *The percentage of reservation time that you used.
*/ inline void SetUtilizationPercentage(const Aws::String& value) { m_utilizationPercentageHasBeenSet = true; m_utilizationPercentage = value; } /** *The percentage of reservation time that you used.
*/ inline void SetUtilizationPercentage(Aws::String&& value) { m_utilizationPercentageHasBeenSet = true; m_utilizationPercentage = std::move(value); } /** *The percentage of reservation time that you used.
*/ inline void SetUtilizationPercentage(const char* value) { m_utilizationPercentageHasBeenSet = true; m_utilizationPercentage.assign(value); } /** *The percentage of reservation time that you used.
*/ inline ReservationAggregates& WithUtilizationPercentage(const Aws::String& value) { SetUtilizationPercentage(value); return *this;} /** *The percentage of reservation time that you used.
*/ inline ReservationAggregates& WithUtilizationPercentage(Aws::String&& value) { SetUtilizationPercentage(std::move(value)); return *this;} /** *The percentage of reservation time that you used.
*/ inline ReservationAggregates& WithUtilizationPercentage(const char* value) { SetUtilizationPercentage(value); return *this;} /** *The percentage of Amazon EC2 reservation time that you used. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline const Aws::String& GetUtilizationPercentageInUnits() const{ return m_utilizationPercentageInUnits; } /** *The percentage of Amazon EC2 reservation time that you used. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline bool UtilizationPercentageInUnitsHasBeenSet() const { return m_utilizationPercentageInUnitsHasBeenSet; } /** *The percentage of Amazon EC2 reservation time that you used. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline void SetUtilizationPercentageInUnits(const Aws::String& value) { m_utilizationPercentageInUnitsHasBeenSet = true; m_utilizationPercentageInUnits = value; } /** *The percentage of Amazon EC2 reservation time that you used. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline void SetUtilizationPercentageInUnits(Aws::String&& value) { m_utilizationPercentageInUnitsHasBeenSet = true; m_utilizationPercentageInUnits = std::move(value); } /** *The percentage of Amazon EC2 reservation time that you used. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline void SetUtilizationPercentageInUnits(const char* value) { m_utilizationPercentageInUnitsHasBeenSet = true; m_utilizationPercentageInUnits.assign(value); } /** *The percentage of Amazon EC2 reservation time that you used. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline ReservationAggregates& WithUtilizationPercentageInUnits(const Aws::String& value) { SetUtilizationPercentageInUnits(value); return *this;} /** *The percentage of Amazon EC2 reservation time that you used. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline ReservationAggregates& WithUtilizationPercentageInUnits(Aws::String&& value) { SetUtilizationPercentageInUnits(std::move(value)); return *this;} /** *The percentage of Amazon EC2 reservation time that you used. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline ReservationAggregates& WithUtilizationPercentageInUnits(const char* value) { SetUtilizationPercentageInUnits(value); return *this;} /** *How many reservation hours that you purchased.
*/ inline const Aws::String& GetPurchasedHours() const{ return m_purchasedHours; } /** *How many reservation hours that you purchased.
*/ inline bool PurchasedHoursHasBeenSet() const { return m_purchasedHoursHasBeenSet; } /** *How many reservation hours that you purchased.
*/ inline void SetPurchasedHours(const Aws::String& value) { m_purchasedHoursHasBeenSet = true; m_purchasedHours = value; } /** *How many reservation hours that you purchased.
*/ inline void SetPurchasedHours(Aws::String&& value) { m_purchasedHoursHasBeenSet = true; m_purchasedHours = std::move(value); } /** *How many reservation hours that you purchased.
*/ inline void SetPurchasedHours(const char* value) { m_purchasedHoursHasBeenSet = true; m_purchasedHours.assign(value); } /** *How many reservation hours that you purchased.
*/ inline ReservationAggregates& WithPurchasedHours(const Aws::String& value) { SetPurchasedHours(value); return *this;} /** *How many reservation hours that you purchased.
*/ inline ReservationAggregates& WithPurchasedHours(Aws::String&& value) { SetPurchasedHours(std::move(value)); return *this;} /** *How many reservation hours that you purchased.
*/ inline ReservationAggregates& WithPurchasedHours(const char* value) { SetPurchasedHours(value); return *this;} /** *The number of Amazon EC2 reservation hours that you purchased. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline const Aws::String& GetPurchasedUnits() const{ return m_purchasedUnits; } /** *The number of Amazon EC2 reservation hours that you purchased. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline bool PurchasedUnitsHasBeenSet() const { return m_purchasedUnitsHasBeenSet; } /** *The number of Amazon EC2 reservation hours that you purchased. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline void SetPurchasedUnits(const Aws::String& value) { m_purchasedUnitsHasBeenSet = true; m_purchasedUnits = value; } /** *The number of Amazon EC2 reservation hours that you purchased. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline void SetPurchasedUnits(Aws::String&& value) { m_purchasedUnitsHasBeenSet = true; m_purchasedUnits = std::move(value); } /** *The number of Amazon EC2 reservation hours that you purchased. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline void SetPurchasedUnits(const char* value) { m_purchasedUnitsHasBeenSet = true; m_purchasedUnits.assign(value); } /** *The number of Amazon EC2 reservation hours that you purchased. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline ReservationAggregates& WithPurchasedUnits(const Aws::String& value) { SetPurchasedUnits(value); return *this;} /** *The number of Amazon EC2 reservation hours that you purchased. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline ReservationAggregates& WithPurchasedUnits(Aws::String&& value) { SetPurchasedUnits(std::move(value)); return *this;} /** *The number of Amazon EC2 reservation hours that you purchased. It's converted * to normalized units. Normalized units are available only for Amazon EC2 usage * after November 11, 2017.
*/ inline ReservationAggregates& WithPurchasedUnits(const char* value) { SetPurchasedUnits(value); return *this;} /** *The total number of reservation hours that you used.
*/ inline const Aws::String& GetTotalActualHours() const{ return m_totalActualHours; } /** *The total number of reservation hours that you used.
*/ inline bool TotalActualHoursHasBeenSet() const { return m_totalActualHoursHasBeenSet; } /** *The total number of reservation hours that you used.
*/ inline void SetTotalActualHours(const Aws::String& value) { m_totalActualHoursHasBeenSet = true; m_totalActualHours = value; } /** *The total number of reservation hours that you used.
*/ inline void SetTotalActualHours(Aws::String&& value) { m_totalActualHoursHasBeenSet = true; m_totalActualHours = std::move(value); } /** *The total number of reservation hours that you used.
*/ inline void SetTotalActualHours(const char* value) { m_totalActualHoursHasBeenSet = true; m_totalActualHours.assign(value); } /** *The total number of reservation hours that you used.
*/ inline ReservationAggregates& WithTotalActualHours(const Aws::String& value) { SetTotalActualHours(value); return *this;} /** *The total number of reservation hours that you used.
*/ inline ReservationAggregates& WithTotalActualHours(Aws::String&& value) { SetTotalActualHours(std::move(value)); return *this;} /** *The total number of reservation hours that you used.
*/ inline ReservationAggregates& WithTotalActualHours(const char* value) { SetTotalActualHours(value); return *this;} /** *The total number of Amazon EC2 reservation hours that you used. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline const Aws::String& GetTotalActualUnits() const{ return m_totalActualUnits; } /** *The total number of Amazon EC2 reservation hours that you used. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline bool TotalActualUnitsHasBeenSet() const { return m_totalActualUnitsHasBeenSet; } /** *The total number of Amazon EC2 reservation hours that you used. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline void SetTotalActualUnits(const Aws::String& value) { m_totalActualUnitsHasBeenSet = true; m_totalActualUnits = value; } /** *The total number of Amazon EC2 reservation hours that you used. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline void SetTotalActualUnits(Aws::String&& value) { m_totalActualUnitsHasBeenSet = true; m_totalActualUnits = std::move(value); } /** *The total number of Amazon EC2 reservation hours that you used. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline void SetTotalActualUnits(const char* value) { m_totalActualUnitsHasBeenSet = true; m_totalActualUnits.assign(value); } /** *The total number of Amazon EC2 reservation hours that you used. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline ReservationAggregates& WithTotalActualUnits(const Aws::String& value) { SetTotalActualUnits(value); return *this;} /** *The total number of Amazon EC2 reservation hours that you used. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline ReservationAggregates& WithTotalActualUnits(Aws::String&& value) { SetTotalActualUnits(std::move(value)); return *this;} /** *The total number of Amazon EC2 reservation hours that you used. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline ReservationAggregates& WithTotalActualUnits(const char* value) { SetTotalActualUnits(value); return *this;} /** *The number of reservation hours that you didn't use.
*/ inline const Aws::String& GetUnusedHours() const{ return m_unusedHours; } /** *The number of reservation hours that you didn't use.
*/ inline bool UnusedHoursHasBeenSet() const { return m_unusedHoursHasBeenSet; } /** *The number of reservation hours that you didn't use.
*/ inline void SetUnusedHours(const Aws::String& value) { m_unusedHoursHasBeenSet = true; m_unusedHours = value; } /** *The number of reservation hours that you didn't use.
*/ inline void SetUnusedHours(Aws::String&& value) { m_unusedHoursHasBeenSet = true; m_unusedHours = std::move(value); } /** *The number of reservation hours that you didn't use.
*/ inline void SetUnusedHours(const char* value) { m_unusedHoursHasBeenSet = true; m_unusedHours.assign(value); } /** *The number of reservation hours that you didn't use.
*/ inline ReservationAggregates& WithUnusedHours(const Aws::String& value) { SetUnusedHours(value); return *this;} /** *The number of reservation hours that you didn't use.
*/ inline ReservationAggregates& WithUnusedHours(Aws::String&& value) { SetUnusedHours(std::move(value)); return *this;} /** *The number of reservation hours that you didn't use.
*/ inline ReservationAggregates& WithUnusedHours(const char* value) { SetUnusedHours(value); return *this;} /** *The number of Amazon EC2 reservation hours that you didn't use. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline const Aws::String& GetUnusedUnits() const{ return m_unusedUnits; } /** *The number of Amazon EC2 reservation hours that you didn't use. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline bool UnusedUnitsHasBeenSet() const { return m_unusedUnitsHasBeenSet; } /** *The number of Amazon EC2 reservation hours that you didn't use. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline void SetUnusedUnits(const Aws::String& value) { m_unusedUnitsHasBeenSet = true; m_unusedUnits = value; } /** *The number of Amazon EC2 reservation hours that you didn't use. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline void SetUnusedUnits(Aws::String&& value) { m_unusedUnitsHasBeenSet = true; m_unusedUnits = std::move(value); } /** *The number of Amazon EC2 reservation hours that you didn't use. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline void SetUnusedUnits(const char* value) { m_unusedUnitsHasBeenSet = true; m_unusedUnits.assign(value); } /** *The number of Amazon EC2 reservation hours that you didn't use. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline ReservationAggregates& WithUnusedUnits(const Aws::String& value) { SetUnusedUnits(value); return *this;} /** *The number of Amazon EC2 reservation hours that you didn't use. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline ReservationAggregates& WithUnusedUnits(Aws::String&& value) { SetUnusedUnits(std::move(value)); return *this;} /** *The number of Amazon EC2 reservation hours that you didn't use. It's * converted to normalized units. Normalized units are available only for Amazon * EC2 usage after November 11, 2017.
*/ inline ReservationAggregates& WithUnusedUnits(const char* value) { SetUnusedUnits(value); return *this;} /** *How much your reservation costs if charged On-Demand rates.
*/ inline const Aws::String& GetOnDemandCostOfRIHoursUsed() const{ return m_onDemandCostOfRIHoursUsed; } /** *How much your reservation costs if charged On-Demand rates.
*/ inline bool OnDemandCostOfRIHoursUsedHasBeenSet() const { return m_onDemandCostOfRIHoursUsedHasBeenSet; } /** *How much your reservation costs if charged On-Demand rates.
*/ inline void SetOnDemandCostOfRIHoursUsed(const Aws::String& value) { m_onDemandCostOfRIHoursUsedHasBeenSet = true; m_onDemandCostOfRIHoursUsed = value; } /** *How much your reservation costs if charged On-Demand rates.
*/ inline void SetOnDemandCostOfRIHoursUsed(Aws::String&& value) { m_onDemandCostOfRIHoursUsedHasBeenSet = true; m_onDemandCostOfRIHoursUsed = std::move(value); } /** *How much your reservation costs if charged On-Demand rates.
*/ inline void SetOnDemandCostOfRIHoursUsed(const char* value) { m_onDemandCostOfRIHoursUsedHasBeenSet = true; m_onDemandCostOfRIHoursUsed.assign(value); } /** *How much your reservation costs if charged On-Demand rates.
*/ inline ReservationAggregates& WithOnDemandCostOfRIHoursUsed(const Aws::String& value) { SetOnDemandCostOfRIHoursUsed(value); return *this;} /** *How much your reservation costs if charged On-Demand rates.
*/ inline ReservationAggregates& WithOnDemandCostOfRIHoursUsed(Aws::String&& value) { SetOnDemandCostOfRIHoursUsed(std::move(value)); return *this;} /** *How much your reservation costs if charged On-Demand rates.
*/ inline ReservationAggregates& WithOnDemandCostOfRIHoursUsed(const char* value) { SetOnDemandCostOfRIHoursUsed(value); return *this;} /** *How much you saved due to purchasing and utilizing reservation. Amazon Web
* Services calculates this by subtracting TotalAmortizedFee
from
* OnDemandCostOfRIHoursUsed
.
How much you saved due to purchasing and utilizing reservation. Amazon Web
* Services calculates this by subtracting TotalAmortizedFee
from
* OnDemandCostOfRIHoursUsed
.
How much you saved due to purchasing and utilizing reservation. Amazon Web
* Services calculates this by subtracting TotalAmortizedFee
from
* OnDemandCostOfRIHoursUsed
.
How much you saved due to purchasing and utilizing reservation. Amazon Web
* Services calculates this by subtracting TotalAmortizedFee
from
* OnDemandCostOfRIHoursUsed
.
How much you saved due to purchasing and utilizing reservation. Amazon Web
* Services calculates this by subtracting TotalAmortizedFee
from
* OnDemandCostOfRIHoursUsed
.
How much you saved due to purchasing and utilizing reservation. Amazon Web
* Services calculates this by subtracting TotalAmortizedFee
from
* OnDemandCostOfRIHoursUsed
.
How much you saved due to purchasing and utilizing reservation. Amazon Web
* Services calculates this by subtracting TotalAmortizedFee
from
* OnDemandCostOfRIHoursUsed
.
How much you saved due to purchasing and utilizing reservation. Amazon Web
* Services calculates this by subtracting TotalAmortizedFee
from
* OnDemandCostOfRIHoursUsed
.
How much you might save if you use your entire reservation.
*/ inline const Aws::String& GetTotalPotentialRISavings() const{ return m_totalPotentialRISavings; } /** *How much you might save if you use your entire reservation.
*/ inline bool TotalPotentialRISavingsHasBeenSet() const { return m_totalPotentialRISavingsHasBeenSet; } /** *How much you might save if you use your entire reservation.
*/ inline void SetTotalPotentialRISavings(const Aws::String& value) { m_totalPotentialRISavingsHasBeenSet = true; m_totalPotentialRISavings = value; } /** *How much you might save if you use your entire reservation.
*/ inline void SetTotalPotentialRISavings(Aws::String&& value) { m_totalPotentialRISavingsHasBeenSet = true; m_totalPotentialRISavings = std::move(value); } /** *How much you might save if you use your entire reservation.
*/ inline void SetTotalPotentialRISavings(const char* value) { m_totalPotentialRISavingsHasBeenSet = true; m_totalPotentialRISavings.assign(value); } /** *How much you might save if you use your entire reservation.
*/ inline ReservationAggregates& WithTotalPotentialRISavings(const Aws::String& value) { SetTotalPotentialRISavings(value); return *this;} /** *How much you might save if you use your entire reservation.
*/ inline ReservationAggregates& WithTotalPotentialRISavings(Aws::String&& value) { SetTotalPotentialRISavings(std::move(value)); return *this;} /** *How much you might save if you use your entire reservation.
*/ inline ReservationAggregates& WithTotalPotentialRISavings(const char* value) { SetTotalPotentialRISavings(value); return *this;} /** *The upfront cost of your reservation. It's amortized over the reservation * period.
*/ inline const Aws::String& GetAmortizedUpfrontFee() const{ return m_amortizedUpfrontFee; } /** *The upfront cost of your reservation. It's amortized over the reservation * period.
*/ inline bool AmortizedUpfrontFeeHasBeenSet() const { return m_amortizedUpfrontFeeHasBeenSet; } /** *The upfront cost of your reservation. It's amortized over the reservation * period.
*/ inline void SetAmortizedUpfrontFee(const Aws::String& value) { m_amortizedUpfrontFeeHasBeenSet = true; m_amortizedUpfrontFee = value; } /** *The upfront cost of your reservation. It's amortized over the reservation * period.
*/ inline void SetAmortizedUpfrontFee(Aws::String&& value) { m_amortizedUpfrontFeeHasBeenSet = true; m_amortizedUpfrontFee = std::move(value); } /** *The upfront cost of your reservation. It's amortized over the reservation * period.
*/ inline void SetAmortizedUpfrontFee(const char* value) { m_amortizedUpfrontFeeHasBeenSet = true; m_amortizedUpfrontFee.assign(value); } /** *The upfront cost of your reservation. It's amortized over the reservation * period.
*/ inline ReservationAggregates& WithAmortizedUpfrontFee(const Aws::String& value) { SetAmortizedUpfrontFee(value); return *this;} /** *The upfront cost of your reservation. It's amortized over the reservation * period.
*/ inline ReservationAggregates& WithAmortizedUpfrontFee(Aws::String&& value) { SetAmortizedUpfrontFee(std::move(value)); return *this;} /** *The upfront cost of your reservation. It's amortized over the reservation * period.
*/ inline ReservationAggregates& WithAmortizedUpfrontFee(const char* value) { SetAmortizedUpfrontFee(value); return *this;} /** *The monthly cost of your reservation. It's amortized over the reservation * period.
*/ inline const Aws::String& GetAmortizedRecurringFee() const{ return m_amortizedRecurringFee; } /** *The monthly cost of your reservation. It's amortized over the reservation * period.
*/ inline bool AmortizedRecurringFeeHasBeenSet() const { return m_amortizedRecurringFeeHasBeenSet; } /** *The monthly cost of your reservation. It's amortized over the reservation * period.
*/ inline void SetAmortizedRecurringFee(const Aws::String& value) { m_amortizedRecurringFeeHasBeenSet = true; m_amortizedRecurringFee = value; } /** *The monthly cost of your reservation. It's amortized over the reservation * period.
*/ inline void SetAmortizedRecurringFee(Aws::String&& value) { m_amortizedRecurringFeeHasBeenSet = true; m_amortizedRecurringFee = std::move(value); } /** *The monthly cost of your reservation. It's amortized over the reservation * period.
*/ inline void SetAmortizedRecurringFee(const char* value) { m_amortizedRecurringFeeHasBeenSet = true; m_amortizedRecurringFee.assign(value); } /** *The monthly cost of your reservation. It's amortized over the reservation * period.
*/ inline ReservationAggregates& WithAmortizedRecurringFee(const Aws::String& value) { SetAmortizedRecurringFee(value); return *this;} /** *The monthly cost of your reservation. It's amortized over the reservation * period.
*/ inline ReservationAggregates& WithAmortizedRecurringFee(Aws::String&& value) { SetAmortizedRecurringFee(std::move(value)); return *this;} /** *The monthly cost of your reservation. It's amortized over the reservation * period.
*/ inline ReservationAggregates& WithAmortizedRecurringFee(const char* value) { SetAmortizedRecurringFee(value); return *this;} /** *The total cost of your reservation. It's amortized over the reservation * period.
*/ inline const Aws::String& GetTotalAmortizedFee() const{ return m_totalAmortizedFee; } /** *The total cost of your reservation. It's amortized over the reservation * period.
*/ inline bool TotalAmortizedFeeHasBeenSet() const { return m_totalAmortizedFeeHasBeenSet; } /** *The total cost of your reservation. It's amortized over the reservation * period.
*/ inline void SetTotalAmortizedFee(const Aws::String& value) { m_totalAmortizedFeeHasBeenSet = true; m_totalAmortizedFee = value; } /** *The total cost of your reservation. It's amortized over the reservation * period.
*/ inline void SetTotalAmortizedFee(Aws::String&& value) { m_totalAmortizedFeeHasBeenSet = true; m_totalAmortizedFee = std::move(value); } /** *The total cost of your reservation. It's amortized over the reservation * period.
*/ inline void SetTotalAmortizedFee(const char* value) { m_totalAmortizedFeeHasBeenSet = true; m_totalAmortizedFee.assign(value); } /** *The total cost of your reservation. It's amortized over the reservation * period.
*/ inline ReservationAggregates& WithTotalAmortizedFee(const Aws::String& value) { SetTotalAmortizedFee(value); return *this;} /** *The total cost of your reservation. It's amortized over the reservation * period.
*/ inline ReservationAggregates& WithTotalAmortizedFee(Aws::String&& value) { SetTotalAmortizedFee(std::move(value)); return *this;} /** *The total cost of your reservation. It's amortized over the reservation * period.
*/ inline ReservationAggregates& WithTotalAmortizedFee(const char* value) { SetTotalAmortizedFee(value); return *this;} /** *The cost of unused hours for your reservation.
*/ inline const Aws::String& GetRICostForUnusedHours() const{ return m_rICostForUnusedHours; } /** *The cost of unused hours for your reservation.
*/ inline bool RICostForUnusedHoursHasBeenSet() const { return m_rICostForUnusedHoursHasBeenSet; } /** *The cost of unused hours for your reservation.
*/ inline void SetRICostForUnusedHours(const Aws::String& value) { m_rICostForUnusedHoursHasBeenSet = true; m_rICostForUnusedHours = value; } /** *The cost of unused hours for your reservation.
*/ inline void SetRICostForUnusedHours(Aws::String&& value) { m_rICostForUnusedHoursHasBeenSet = true; m_rICostForUnusedHours = std::move(value); } /** *The cost of unused hours for your reservation.
*/ inline void SetRICostForUnusedHours(const char* value) { m_rICostForUnusedHoursHasBeenSet = true; m_rICostForUnusedHours.assign(value); } /** *The cost of unused hours for your reservation.
*/ inline ReservationAggregates& WithRICostForUnusedHours(const Aws::String& value) { SetRICostForUnusedHours(value); return *this;} /** *The cost of unused hours for your reservation.
*/ inline ReservationAggregates& WithRICostForUnusedHours(Aws::String&& value) { SetRICostForUnusedHours(std::move(value)); return *this;} /** *The cost of unused hours for your reservation.
*/ inline ReservationAggregates& WithRICostForUnusedHours(const char* value) { SetRICostForUnusedHours(value); return *this;} /** *The realized savings because of purchasing and using a reservation.
*/ inline const Aws::String& GetRealizedSavings() const{ return m_realizedSavings; } /** *The realized savings because of purchasing and using a reservation.
*/ inline bool RealizedSavingsHasBeenSet() const { return m_realizedSavingsHasBeenSet; } /** *The realized savings because of purchasing and using a reservation.
*/ inline void SetRealizedSavings(const Aws::String& value) { m_realizedSavingsHasBeenSet = true; m_realizedSavings = value; } /** *The realized savings because of purchasing and using a reservation.
*/ inline void SetRealizedSavings(Aws::String&& value) { m_realizedSavingsHasBeenSet = true; m_realizedSavings = std::move(value); } /** *The realized savings because of purchasing and using a reservation.
*/ inline void SetRealizedSavings(const char* value) { m_realizedSavingsHasBeenSet = true; m_realizedSavings.assign(value); } /** *The realized savings because of purchasing and using a reservation.
*/ inline ReservationAggregates& WithRealizedSavings(const Aws::String& value) { SetRealizedSavings(value); return *this;} /** *The realized savings because of purchasing and using a reservation.
*/ inline ReservationAggregates& WithRealizedSavings(Aws::String&& value) { SetRealizedSavings(std::move(value)); return *this;} /** *The realized savings because of purchasing and using a reservation.
*/ inline ReservationAggregates& WithRealizedSavings(const char* value) { SetRealizedSavings(value); return *this;} /** *The unrealized savings because of purchasing and using a reservation.
*/ inline const Aws::String& GetUnrealizedSavings() const{ return m_unrealizedSavings; } /** *The unrealized savings because of purchasing and using a reservation.
*/ inline bool UnrealizedSavingsHasBeenSet() const { return m_unrealizedSavingsHasBeenSet; } /** *The unrealized savings because of purchasing and using a reservation.
*/ inline void SetUnrealizedSavings(const Aws::String& value) { m_unrealizedSavingsHasBeenSet = true; m_unrealizedSavings = value; } /** *The unrealized savings because of purchasing and using a reservation.
*/ inline void SetUnrealizedSavings(Aws::String&& value) { m_unrealizedSavingsHasBeenSet = true; m_unrealizedSavings = std::move(value); } /** *The unrealized savings because of purchasing and using a reservation.
*/ inline void SetUnrealizedSavings(const char* value) { m_unrealizedSavingsHasBeenSet = true; m_unrealizedSavings.assign(value); } /** *The unrealized savings because of purchasing and using a reservation.
*/ inline ReservationAggregates& WithUnrealizedSavings(const Aws::String& value) { SetUnrealizedSavings(value); return *this;} /** *The unrealized savings because of purchasing and using a reservation.
*/ inline ReservationAggregates& WithUnrealizedSavings(Aws::String&& value) { SetUnrealizedSavings(std::move(value)); return *this;} /** *The unrealized savings because of purchasing and using a reservation.
*/ inline ReservationAggregates& WithUnrealizedSavings(const char* value) { SetUnrealizedSavings(value); return *this;} private: Aws::String m_utilizationPercentage; bool m_utilizationPercentageHasBeenSet = false; Aws::String m_utilizationPercentageInUnits; bool m_utilizationPercentageInUnitsHasBeenSet = false; Aws::String m_purchasedHours; bool m_purchasedHoursHasBeenSet = false; Aws::String m_purchasedUnits; bool m_purchasedUnitsHasBeenSet = false; Aws::String m_totalActualHours; bool m_totalActualHoursHasBeenSet = false; Aws::String m_totalActualUnits; bool m_totalActualUnitsHasBeenSet = false; Aws::String m_unusedHours; bool m_unusedHoursHasBeenSet = false; Aws::String m_unusedUnits; bool m_unusedUnitsHasBeenSet = false; Aws::String m_onDemandCostOfRIHoursUsed; bool m_onDemandCostOfRIHoursUsedHasBeenSet = false; Aws::String m_netRISavings; bool m_netRISavingsHasBeenSet = false; Aws::String m_totalPotentialRISavings; bool m_totalPotentialRISavingsHasBeenSet = false; Aws::String m_amortizedUpfrontFee; bool m_amortizedUpfrontFeeHasBeenSet = false; Aws::String m_amortizedRecurringFee; bool m_amortizedRecurringFeeHasBeenSet = false; Aws::String m_totalAmortizedFee; bool m_totalAmortizedFeeHasBeenSet = false; Aws::String m_rICostForUnusedHours; bool m_rICostForUnusedHoursHasBeenSet = false; Aws::String m_realizedSavings; bool m_realizedSavingsHasBeenSet = false; Aws::String m_unrealizedSavings; bool m_unrealizedSavingsHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws