/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The spend objects that are associated with this budget. The
* For example, if it is the 20th of
* the month and you have spent actualSpend tracks how much you've used, cost, usage, or RI units,
* and the forecastedSpend tracks how much you are predicted to spend
* if your current usage remains steady.50 dollars on Amazon EC2, your
* actualSpend is 50 USD, and your
* forecastedSpend is 75 USD.See Also:
* AWS
* API Reference
The amount of cost, usage, or RI units that you have used.
*/ inline const Spend& GetActualSpend() const{ return m_actualSpend; } /** *The amount of cost, usage, or RI units that you have used.
*/ inline bool ActualSpendHasBeenSet() const { return m_actualSpendHasBeenSet; } /** *The amount of cost, usage, or RI units that you have used.
*/ inline void SetActualSpend(const Spend& value) { m_actualSpendHasBeenSet = true; m_actualSpend = value; } /** *The amount of cost, usage, or RI units that you have used.
*/ inline void SetActualSpend(Spend&& value) { m_actualSpendHasBeenSet = true; m_actualSpend = std::move(value); } /** *The amount of cost, usage, or RI units that you have used.
*/ inline CalculatedSpend& WithActualSpend(const Spend& value) { SetActualSpend(value); return *this;} /** *The amount of cost, usage, or RI units that you have used.
*/ inline CalculatedSpend& WithActualSpend(Spend&& value) { SetActualSpend(std::move(value)); return *this;} /** *The amount of cost, usage, or RI units that you are forecasted to use.
*/ inline const Spend& GetForecastedSpend() const{ return m_forecastedSpend; } /** *The amount of cost, usage, or RI units that you are forecasted to use.
*/ inline bool ForecastedSpendHasBeenSet() const { return m_forecastedSpendHasBeenSet; } /** *The amount of cost, usage, or RI units that you are forecasted to use.
*/ inline void SetForecastedSpend(const Spend& value) { m_forecastedSpendHasBeenSet = true; m_forecastedSpend = value; } /** *The amount of cost, usage, or RI units that you are forecasted to use.
*/ inline void SetForecastedSpend(Spend&& value) { m_forecastedSpendHasBeenSet = true; m_forecastedSpend = std::move(value); } /** *The amount of cost, usage, or RI units that you are forecasted to use.
*/ inline CalculatedSpend& WithForecastedSpend(const Spend& value) { SetForecastedSpend(value); return *this;} /** *The amount of cost, usage, or RI units that you are forecasted to use.
*/ inline CalculatedSpend& WithForecastedSpend(Spend&& value) { SetForecastedSpend(std::move(value)); return *this;} private: Spend m_actualSpend; bool m_actualSpendHasBeenSet; Spend m_forecastedSpend; bool m_forecastedSpendHasBeenSet; }; } // namespace Model } // namespace Budgets } // namespace Aws