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

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

See * Also:

AWS * API Reference

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

The periods forward setup of a forecast computation.

*/ inline int GetPeriodsForward() const{ return m_periodsForward; } /** *

The periods forward setup of a forecast computation.

*/ inline bool PeriodsForwardHasBeenSet() const { return m_periodsForwardHasBeenSet; } /** *

The periods forward setup of a forecast computation.

*/ inline void SetPeriodsForward(int value) { m_periodsForwardHasBeenSet = true; m_periodsForward = value; } /** *

The periods forward setup of a forecast computation.

*/ inline TimeBasedForecastProperties& WithPeriodsForward(int value) { SetPeriodsForward(value); return *this;} /** *

The periods backward setup of a forecast computation.

*/ inline int GetPeriodsBackward() const{ return m_periodsBackward; } /** *

The periods backward setup of a forecast computation.

*/ inline bool PeriodsBackwardHasBeenSet() const { return m_periodsBackwardHasBeenSet; } /** *

The periods backward setup of a forecast computation.

*/ inline void SetPeriodsBackward(int value) { m_periodsBackwardHasBeenSet = true; m_periodsBackward = value; } /** *

The periods backward setup of a forecast computation.

*/ inline TimeBasedForecastProperties& WithPeriodsBackward(int value) { SetPeriodsBackward(value); return *this;} /** *

The upper boundary setup of a forecast computation.

*/ inline double GetUpperBoundary() const{ return m_upperBoundary; } /** *

The upper boundary setup of a forecast computation.

*/ inline bool UpperBoundaryHasBeenSet() const { return m_upperBoundaryHasBeenSet; } /** *

The upper boundary setup of a forecast computation.

*/ inline void SetUpperBoundary(double value) { m_upperBoundaryHasBeenSet = true; m_upperBoundary = value; } /** *

The upper boundary setup of a forecast computation.

*/ inline TimeBasedForecastProperties& WithUpperBoundary(double value) { SetUpperBoundary(value); return *this;} /** *

The lower boundary setup of a forecast computation.

*/ inline double GetLowerBoundary() const{ return m_lowerBoundary; } /** *

The lower boundary setup of a forecast computation.

*/ inline bool LowerBoundaryHasBeenSet() const { return m_lowerBoundaryHasBeenSet; } /** *

The lower boundary setup of a forecast computation.

*/ inline void SetLowerBoundary(double value) { m_lowerBoundaryHasBeenSet = true; m_lowerBoundary = value; } /** *

The lower boundary setup of a forecast computation.

*/ inline TimeBasedForecastProperties& WithLowerBoundary(double value) { SetLowerBoundary(value); return *this;} /** *

The prediction interval setup of a forecast computation.

*/ inline int GetPredictionInterval() const{ return m_predictionInterval; } /** *

The prediction interval setup of a forecast computation.

*/ inline bool PredictionIntervalHasBeenSet() const { return m_predictionIntervalHasBeenSet; } /** *

The prediction interval setup of a forecast computation.

*/ inline void SetPredictionInterval(int value) { m_predictionIntervalHasBeenSet = true; m_predictionInterval = value; } /** *

The prediction interval setup of a forecast computation.

*/ inline TimeBasedForecastProperties& WithPredictionInterval(int value) { SetPredictionInterval(value); return *this;} /** *

The seasonality setup of a forecast computation. Choose one of the following * options:

*/ inline int GetSeasonality() const{ return m_seasonality; } /** *

The seasonality setup of a forecast computation. Choose one of the following * options:

*/ inline bool SeasonalityHasBeenSet() const { return m_seasonalityHasBeenSet; } /** *

The seasonality setup of a forecast computation. Choose one of the following * options:

*/ inline void SetSeasonality(int value) { m_seasonalityHasBeenSet = true; m_seasonality = value; } /** *

The seasonality setup of a forecast computation. Choose one of the following * options:

*/ inline TimeBasedForecastProperties& WithSeasonality(int value) { SetSeasonality(value); return *this;} private: int m_periodsForward; bool m_periodsForwardHasBeenSet = false; int m_periodsBackward; bool m_periodsBackwardHasBeenSet = false; double m_upperBoundary; bool m_upperBoundaryHasBeenSet = false; double m_lowerBoundary; bool m_lowerBoundaryHasBeenSet = false; int m_predictionInterval; bool m_predictionIntervalHasBeenSet = false; int m_seasonality; bool m_seasonalityHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws