/** * 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 scenario of a forecast in the line chart.

See * Also:

AWS * API Reference

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

The what-if analysis forecast setup with the target date.

*/ inline const WhatIfPointScenario& GetWhatIfPointScenario() const{ return m_whatIfPointScenario; } /** *

The what-if analysis forecast setup with the target date.

*/ inline bool WhatIfPointScenarioHasBeenSet() const { return m_whatIfPointScenarioHasBeenSet; } /** *

The what-if analysis forecast setup with the target date.

*/ inline void SetWhatIfPointScenario(const WhatIfPointScenario& value) { m_whatIfPointScenarioHasBeenSet = true; m_whatIfPointScenario = value; } /** *

The what-if analysis forecast setup with the target date.

*/ inline void SetWhatIfPointScenario(WhatIfPointScenario&& value) { m_whatIfPointScenarioHasBeenSet = true; m_whatIfPointScenario = std::move(value); } /** *

The what-if analysis forecast setup with the target date.

*/ inline ForecastScenario& WithWhatIfPointScenario(const WhatIfPointScenario& value) { SetWhatIfPointScenario(value); return *this;} /** *

The what-if analysis forecast setup with the target date.

*/ inline ForecastScenario& WithWhatIfPointScenario(WhatIfPointScenario&& value) { SetWhatIfPointScenario(std::move(value)); return *this;} /** *

The what-if analysis forecast setup with the date range.

*/ inline const WhatIfRangeScenario& GetWhatIfRangeScenario() const{ return m_whatIfRangeScenario; } /** *

The what-if analysis forecast setup with the date range.

*/ inline bool WhatIfRangeScenarioHasBeenSet() const { return m_whatIfRangeScenarioHasBeenSet; } /** *

The what-if analysis forecast setup with the date range.

*/ inline void SetWhatIfRangeScenario(const WhatIfRangeScenario& value) { m_whatIfRangeScenarioHasBeenSet = true; m_whatIfRangeScenario = value; } /** *

The what-if analysis forecast setup with the date range.

*/ inline void SetWhatIfRangeScenario(WhatIfRangeScenario&& value) { m_whatIfRangeScenarioHasBeenSet = true; m_whatIfRangeScenario = std::move(value); } /** *

The what-if analysis forecast setup with the date range.

*/ inline ForecastScenario& WithWhatIfRangeScenario(const WhatIfRangeScenario& value) { SetWhatIfRangeScenario(value); return *this;} /** *

The what-if analysis forecast setup with the date range.

*/ inline ForecastScenario& WithWhatIfRangeScenario(WhatIfRangeScenario&& value) { SetWhatIfRangeScenario(std::move(value)); return *this;} private: WhatIfPointScenario m_whatIfPointScenario; bool m_whatIfPointScenarioHasBeenSet = false; WhatIfRangeScenario m_whatIfRangeScenario; bool m_whatIfRangeScenarioHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws