/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CostExplorer { namespace Model { class GetCostForecastResult { public: AWS_COSTEXPLORER_API GetCostForecastResult(); AWS_COSTEXPLORER_API GetCostForecastResult(const Aws::AmazonWebServiceResult& result); AWS_COSTEXPLORER_API GetCostForecastResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

How much you are forecasted to spend over the forecast period, in * USD.

*/ inline const MetricValue& GetTotal() const{ return m_total; } /** *

How much you are forecasted to spend over the forecast period, in * USD.

*/ inline void SetTotal(const MetricValue& value) { m_total = value; } /** *

How much you are forecasted to spend over the forecast period, in * USD.

*/ inline void SetTotal(MetricValue&& value) { m_total = std::move(value); } /** *

How much you are forecasted to spend over the forecast period, in * USD.

*/ inline GetCostForecastResult& WithTotal(const MetricValue& value) { SetTotal(value); return *this;} /** *

How much you are forecasted to spend over the forecast period, in * USD.

*/ inline GetCostForecastResult& WithTotal(MetricValue&& value) { SetTotal(std::move(value)); return *this;} /** *

The forecasts for your query, in order. For DAILY forecasts, * this is a list of days. For MONTHLY forecasts, this is a list of * months.

*/ inline const Aws::Vector& GetForecastResultsByTime() const{ return m_forecastResultsByTime; } /** *

The forecasts for your query, in order. For DAILY forecasts, * this is a list of days. For MONTHLY forecasts, this is a list of * months.

*/ inline void SetForecastResultsByTime(const Aws::Vector& value) { m_forecastResultsByTime = value; } /** *

The forecasts for your query, in order. For DAILY forecasts, * this is a list of days. For MONTHLY forecasts, this is a list of * months.

*/ inline void SetForecastResultsByTime(Aws::Vector&& value) { m_forecastResultsByTime = std::move(value); } /** *

The forecasts for your query, in order. For DAILY forecasts, * this is a list of days. For MONTHLY forecasts, this is a list of * months.

*/ inline GetCostForecastResult& WithForecastResultsByTime(const Aws::Vector& value) { SetForecastResultsByTime(value); return *this;} /** *

The forecasts for your query, in order. For DAILY forecasts, * this is a list of days. For MONTHLY forecasts, this is a list of * months.

*/ inline GetCostForecastResult& WithForecastResultsByTime(Aws::Vector&& value) { SetForecastResultsByTime(std::move(value)); return *this;} /** *

The forecasts for your query, in order. For DAILY forecasts, * this is a list of days. For MONTHLY forecasts, this is a list of * months.

*/ inline GetCostForecastResult& AddForecastResultsByTime(const ForecastResult& value) { m_forecastResultsByTime.push_back(value); return *this; } /** *

The forecasts for your query, in order. For DAILY forecasts, * this is a list of days. For MONTHLY forecasts, this is a list of * months.

*/ inline GetCostForecastResult& AddForecastResultsByTime(ForecastResult&& value) { m_forecastResultsByTime.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetCostForecastResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetCostForecastResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetCostForecastResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: MetricValue m_total; Aws::Vector m_forecastResultsByTime; Aws::String m_requestId; }; } // namespace Model } // namespace CostExplorer } // namespace Aws