/**
* 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's the 20th of the month and you have spent actualSpend
tracks how much you've used, cost, usage, RI units, or
* Savings Plans units and the forecastedSpend
tracks how much that
* you're predicted to spend based on your historical usage profile.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, RI units, or Savings Plans units that you * used.
*/ inline const Spend& GetActualSpend() const{ return m_actualSpend; } /** *The amount of cost, usage, RI units, or Savings Plans units that you * used.
*/ inline bool ActualSpendHasBeenSet() const { return m_actualSpendHasBeenSet; } /** *The amount of cost, usage, RI units, or Savings Plans units that you * used.
*/ inline void SetActualSpend(const Spend& value) { m_actualSpendHasBeenSet = true; m_actualSpend = value; } /** *The amount of cost, usage, RI units, or Savings Plans units that you * used.
*/ inline void SetActualSpend(Spend&& value) { m_actualSpendHasBeenSet = true; m_actualSpend = std::move(value); } /** *The amount of cost, usage, RI units, or Savings Plans units that you * used.
*/ inline CalculatedSpend& WithActualSpend(const Spend& value) { SetActualSpend(value); return *this;} /** *The amount of cost, usage, RI units, or Savings Plans units that you * used.
*/ inline CalculatedSpend& WithActualSpend(Spend&& value) { SetActualSpend(std::move(value)); return *this;} /** *The amount of cost, usage, RI units, or Savings Plans units that you're * forecasted to use.
*/ inline const Spend& GetForecastedSpend() const{ return m_forecastedSpend; } /** *The amount of cost, usage, RI units, or Savings Plans units that you're * forecasted to use.
*/ inline bool ForecastedSpendHasBeenSet() const { return m_forecastedSpendHasBeenSet; } /** *The amount of cost, usage, RI units, or Savings Plans units that you're * forecasted to use.
*/ inline void SetForecastedSpend(const Spend& value) { m_forecastedSpendHasBeenSet = true; m_forecastedSpend = value; } /** *The amount of cost, usage, RI units, or Savings Plans units that you're * forecasted to use.
*/ inline void SetForecastedSpend(Spend&& value) { m_forecastedSpendHasBeenSet = true; m_forecastedSpend = std::move(value); } /** *The amount of cost, usage, RI units, or Savings Plans units that you're * forecasted to use.
*/ inline CalculatedSpend& WithForecastedSpend(const Spend& value) { SetForecastedSpend(value); return *this;} /** *The amount of cost, usage, RI units, or Savings Plans units that you're * forecasted to use.
*/ inline CalculatedSpend& WithForecastedSpend(Spend&& value) { SetForecastedSpend(std::move(value)); return *this;} private: Spend m_actualSpend; bool m_actualSpendHasBeenSet = false; Spend m_forecastedSpend; bool m_forecastedSpendHasBeenSet = false; }; } // namespace Model } // namespace Budgets } // namespace Aws