/** * 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 QuickSight { namespace Model { /** *

The forecast configuration that is used in a line chart's display * properties.

See Also:

AWS * API Reference

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

The forecast properties setup of a forecast in the line chart.

*/ inline const TimeBasedForecastProperties& GetForecastProperties() const{ return m_forecastProperties; } /** *

The forecast properties setup of a forecast in the line chart.

*/ inline bool ForecastPropertiesHasBeenSet() const { return m_forecastPropertiesHasBeenSet; } /** *

The forecast properties setup of a forecast in the line chart.

*/ inline void SetForecastProperties(const TimeBasedForecastProperties& value) { m_forecastPropertiesHasBeenSet = true; m_forecastProperties = value; } /** *

The forecast properties setup of a forecast in the line chart.

*/ inline void SetForecastProperties(TimeBasedForecastProperties&& value) { m_forecastPropertiesHasBeenSet = true; m_forecastProperties = std::move(value); } /** *

The forecast properties setup of a forecast in the line chart.

*/ inline ForecastConfiguration& WithForecastProperties(const TimeBasedForecastProperties& value) { SetForecastProperties(value); return *this;} /** *

The forecast properties setup of a forecast in the line chart.

*/ inline ForecastConfiguration& WithForecastProperties(TimeBasedForecastProperties&& value) { SetForecastProperties(std::move(value)); return *this;} /** *

The forecast scenario of a forecast in the line chart.

*/ inline const ForecastScenario& GetScenario() const{ return m_scenario; } /** *

The forecast scenario of a forecast in the line chart.

*/ inline bool ScenarioHasBeenSet() const { return m_scenarioHasBeenSet; } /** *

The forecast scenario of a forecast in the line chart.

*/ inline void SetScenario(const ForecastScenario& value) { m_scenarioHasBeenSet = true; m_scenario = value; } /** *

The forecast scenario of a forecast in the line chart.

*/ inline void SetScenario(ForecastScenario&& value) { m_scenarioHasBeenSet = true; m_scenario = std::move(value); } /** *

The forecast scenario of a forecast in the line chart.

*/ inline ForecastConfiguration& WithScenario(const ForecastScenario& value) { SetScenario(value); return *this;} /** *

The forecast scenario of a forecast in the line chart.

*/ inline ForecastConfiguration& WithScenario(ForecastScenario&& value) { SetScenario(std::move(value)); return *this;} private: TimeBasedForecastProperties m_forecastProperties; bool m_forecastPropertiesHasBeenSet = false; ForecastScenario m_scenario; bool m_scenarioHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws