/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CostExplorer { namespace Model { /** *

The forecast that's created for your query.

See Also:

AWS * API Reference

*/ class ForecastResult { public: AWS_COSTEXPLORER_API ForecastResult(); AWS_COSTEXPLORER_API ForecastResult(Aws::Utils::Json::JsonView jsonValue); AWS_COSTEXPLORER_API ForecastResult& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The period of time that the forecast covers.

*/ inline const DateInterval& GetTimePeriod() const{ return m_timePeriod; } /** *

The period of time that the forecast covers.

*/ inline bool TimePeriodHasBeenSet() const { return m_timePeriodHasBeenSet; } /** *

The period of time that the forecast covers.

*/ inline void SetTimePeriod(const DateInterval& value) { m_timePeriodHasBeenSet = true; m_timePeriod = value; } /** *

The period of time that the forecast covers.

*/ inline void SetTimePeriod(DateInterval&& value) { m_timePeriodHasBeenSet = true; m_timePeriod = std::move(value); } /** *

The period of time that the forecast covers.

*/ inline ForecastResult& WithTimePeriod(const DateInterval& value) { SetTimePeriod(value); return *this;} /** *

The period of time that the forecast covers.

*/ inline ForecastResult& WithTimePeriod(DateInterval&& value) { SetTimePeriod(std::move(value)); return *this;} /** *

The mean value of the forecast.

*/ inline const Aws::String& GetMeanValue() const{ return m_meanValue; } /** *

The mean value of the forecast.

*/ inline bool MeanValueHasBeenSet() const { return m_meanValueHasBeenSet; } /** *

The mean value of the forecast.

*/ inline void SetMeanValue(const Aws::String& value) { m_meanValueHasBeenSet = true; m_meanValue = value; } /** *

The mean value of the forecast.

*/ inline void SetMeanValue(Aws::String&& value) { m_meanValueHasBeenSet = true; m_meanValue = std::move(value); } /** *

The mean value of the forecast.

*/ inline void SetMeanValue(const char* value) { m_meanValueHasBeenSet = true; m_meanValue.assign(value); } /** *

The mean value of the forecast.

*/ inline ForecastResult& WithMeanValue(const Aws::String& value) { SetMeanValue(value); return *this;} /** *

The mean value of the forecast.

*/ inline ForecastResult& WithMeanValue(Aws::String&& value) { SetMeanValue(std::move(value)); return *this;} /** *

The mean value of the forecast.

*/ inline ForecastResult& WithMeanValue(const char* value) { SetMeanValue(value); return *this;} /** *

The lower limit for the prediction interval.

*/ inline const Aws::String& GetPredictionIntervalLowerBound() const{ return m_predictionIntervalLowerBound; } /** *

The lower limit for the prediction interval.

*/ inline bool PredictionIntervalLowerBoundHasBeenSet() const { return m_predictionIntervalLowerBoundHasBeenSet; } /** *

The lower limit for the prediction interval.

*/ inline void SetPredictionIntervalLowerBound(const Aws::String& value) { m_predictionIntervalLowerBoundHasBeenSet = true; m_predictionIntervalLowerBound = value; } /** *

The lower limit for the prediction interval.

*/ inline void SetPredictionIntervalLowerBound(Aws::String&& value) { m_predictionIntervalLowerBoundHasBeenSet = true; m_predictionIntervalLowerBound = std::move(value); } /** *

The lower limit for the prediction interval.

*/ inline void SetPredictionIntervalLowerBound(const char* value) { m_predictionIntervalLowerBoundHasBeenSet = true; m_predictionIntervalLowerBound.assign(value); } /** *

The lower limit for the prediction interval.

*/ inline ForecastResult& WithPredictionIntervalLowerBound(const Aws::String& value) { SetPredictionIntervalLowerBound(value); return *this;} /** *

The lower limit for the prediction interval.

*/ inline ForecastResult& WithPredictionIntervalLowerBound(Aws::String&& value) { SetPredictionIntervalLowerBound(std::move(value)); return *this;} /** *

The lower limit for the prediction interval.

*/ inline ForecastResult& WithPredictionIntervalLowerBound(const char* value) { SetPredictionIntervalLowerBound(value); return *this;} /** *

The upper limit for the prediction interval.

*/ inline const Aws::String& GetPredictionIntervalUpperBound() const{ return m_predictionIntervalUpperBound; } /** *

The upper limit for the prediction interval.

*/ inline bool PredictionIntervalUpperBoundHasBeenSet() const { return m_predictionIntervalUpperBoundHasBeenSet; } /** *

The upper limit for the prediction interval.

*/ inline void SetPredictionIntervalUpperBound(const Aws::String& value) { m_predictionIntervalUpperBoundHasBeenSet = true; m_predictionIntervalUpperBound = value; } /** *

The upper limit for the prediction interval.

*/ inline void SetPredictionIntervalUpperBound(Aws::String&& value) { m_predictionIntervalUpperBoundHasBeenSet = true; m_predictionIntervalUpperBound = std::move(value); } /** *

The upper limit for the prediction interval.

*/ inline void SetPredictionIntervalUpperBound(const char* value) { m_predictionIntervalUpperBoundHasBeenSet = true; m_predictionIntervalUpperBound.assign(value); } /** *

The upper limit for the prediction interval.

*/ inline ForecastResult& WithPredictionIntervalUpperBound(const Aws::String& value) { SetPredictionIntervalUpperBound(value); return *this;} /** *

The upper limit for the prediction interval.

*/ inline ForecastResult& WithPredictionIntervalUpperBound(Aws::String&& value) { SetPredictionIntervalUpperBound(std::move(value)); return *this;} /** *

The upper limit for the prediction interval.

*/ inline ForecastResult& WithPredictionIntervalUpperBound(const char* value) { SetPredictionIntervalUpperBound(value); return *this;} private: DateInterval m_timePeriod; bool m_timePeriodHasBeenSet = false; Aws::String m_meanValue; bool m_meanValueHasBeenSet = false; Aws::String m_predictionIntervalLowerBound; bool m_predictionIntervalLowerBoundHasBeenSet = false; Aws::String m_predictionIntervalUpperBound; bool m_predictionIntervalUpperBoundHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws