/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The forecast computation configuration.See Also:
AWS
* API Reference
The ID for a computation.
*/ inline const Aws::String& GetComputationId() const{ return m_computationId; } /** *The ID for a computation.
*/ inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; } /** *The ID for a computation.
*/ inline void SetComputationId(const Aws::String& value) { m_computationIdHasBeenSet = true; m_computationId = value; } /** *The ID for a computation.
*/ inline void SetComputationId(Aws::String&& value) { m_computationIdHasBeenSet = true; m_computationId = std::move(value); } /** *The ID for a computation.
*/ inline void SetComputationId(const char* value) { m_computationIdHasBeenSet = true; m_computationId.assign(value); } /** *The ID for a computation.
*/ inline ForecastComputation& WithComputationId(const Aws::String& value) { SetComputationId(value); return *this;} /** *The ID for a computation.
*/ inline ForecastComputation& WithComputationId(Aws::String&& value) { SetComputationId(std::move(value)); return *this;} /** *The ID for a computation.
*/ inline ForecastComputation& WithComputationId(const char* value) { SetComputationId(value); return *this;} /** *The name of a computation.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of a computation.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of a computation.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of a computation.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of a computation.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of a computation.
*/ inline ForecastComputation& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of a computation.
*/ inline ForecastComputation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of a computation.
*/ inline ForecastComputation& WithName(const char* value) { SetName(value); return *this;} /** *The time field that is used in a computation.
*/ inline const DimensionField& GetTime() const{ return m_time; } /** *The time field that is used in a computation.
*/ inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; } /** *The time field that is used in a computation.
*/ inline void SetTime(const DimensionField& value) { m_timeHasBeenSet = true; m_time = value; } /** *The time field that is used in a computation.
*/ inline void SetTime(DimensionField&& value) { m_timeHasBeenSet = true; m_time = std::move(value); } /** *The time field that is used in a computation.
*/ inline ForecastComputation& WithTime(const DimensionField& value) { SetTime(value); return *this;} /** *The time field that is used in a computation.
*/ inline ForecastComputation& WithTime(DimensionField&& value) { SetTime(std::move(value)); return *this;} /** *The value field that is used in a computation.
*/ inline const MeasureField& GetValue() const{ return m_value; } /** *The value field that is used in a computation.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value field that is used in a computation.
*/ inline void SetValue(const MeasureField& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value field that is used in a computation.
*/ inline void SetValue(MeasureField&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value field that is used in a computation.
*/ inline ForecastComputation& WithValue(const MeasureField& value) { SetValue(value); return *this;} /** *The value field that is used in a computation.
*/ inline ForecastComputation& WithValue(MeasureField&& value) { SetValue(std::move(value)); return *this;} /** *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 ForecastComputation& 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 ForecastComputation& 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 ForecastComputation& 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 ForecastComputation& 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 ForecastComputation& WithPredictionInterval(int value) { SetPredictionInterval(value); return *this;} /** *The seasonality setup of a forecast computation. Choose one of the following * options:
AUTOMATIC
* CUSTOM
: Checks the custom seasonality value.
The seasonality setup of a forecast computation. Choose one of the following * options:
AUTOMATIC
* CUSTOM
: Checks the custom seasonality value.
The seasonality setup of a forecast computation. Choose one of the following * options:
AUTOMATIC
* CUSTOM
: Checks the custom seasonality value.
The seasonality setup of a forecast computation. Choose one of the following * options:
AUTOMATIC
* CUSTOM
: Checks the custom seasonality value.
The seasonality setup of a forecast computation. Choose one of the following * options:
AUTOMATIC
* CUSTOM
: Checks the custom seasonality value.
The seasonality setup of a forecast computation. Choose one of the following * options:
AUTOMATIC
* CUSTOM
: Checks the custom seasonality value.
The custom seasonality value setup of a forecast computation.
*/ inline int GetCustomSeasonalityValue() const{ return m_customSeasonalityValue; } /** *The custom seasonality value setup of a forecast computation.
*/ inline bool CustomSeasonalityValueHasBeenSet() const { return m_customSeasonalityValueHasBeenSet; } /** *The custom seasonality value setup of a forecast computation.
*/ inline void SetCustomSeasonalityValue(int value) { m_customSeasonalityValueHasBeenSet = true; m_customSeasonalityValue = value; } /** *The custom seasonality value setup of a forecast computation.
*/ inline ForecastComputation& WithCustomSeasonalityValue(int value) { SetCustomSeasonalityValue(value); return *this;} private: Aws::String m_computationId; bool m_computationIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; DimensionField m_time; bool m_timeHasBeenSet = false; MeasureField m_value; bool m_valueHasBeenSet = false; 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; ForecastComputationSeasonality m_seasonality; bool m_seasonalityHasBeenSet = false; int m_customSeasonalityValue; bool m_customSeasonalityValueHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws