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

Contains details on the backtests performed to evaluate the accuracy of the * predictor. The tests are returned in descending order of accuracy, with the most * accurate backtest appearing first. You specify the number of backtests to * perform when you call the operation.

See Also:

AWS * API Reference

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

An array of the backtests performed to evaluate the accuracy of the predictor * against a particular algorithm. The NumberOfBacktestWindows from * the object determines the number of windows in the array.

*/ inline const Aws::Vector& GetPredictorExecutions() const{ return m_predictorExecutions; } /** *

An array of the backtests performed to evaluate the accuracy of the predictor * against a particular algorithm. The NumberOfBacktestWindows from * the object determines the number of windows in the array.

*/ inline bool PredictorExecutionsHasBeenSet() const { return m_predictorExecutionsHasBeenSet; } /** *

An array of the backtests performed to evaluate the accuracy of the predictor * against a particular algorithm. The NumberOfBacktestWindows from * the object determines the number of windows in the array.

*/ inline void SetPredictorExecutions(const Aws::Vector& value) { m_predictorExecutionsHasBeenSet = true; m_predictorExecutions = value; } /** *

An array of the backtests performed to evaluate the accuracy of the predictor * against a particular algorithm. The NumberOfBacktestWindows from * the object determines the number of windows in the array.

*/ inline void SetPredictorExecutions(Aws::Vector&& value) { m_predictorExecutionsHasBeenSet = true; m_predictorExecutions = std::move(value); } /** *

An array of the backtests performed to evaluate the accuracy of the predictor * against a particular algorithm. The NumberOfBacktestWindows from * the object determines the number of windows in the array.

*/ inline PredictorExecutionDetails& WithPredictorExecutions(const Aws::Vector& value) { SetPredictorExecutions(value); return *this;} /** *

An array of the backtests performed to evaluate the accuracy of the predictor * against a particular algorithm. The NumberOfBacktestWindows from * the object determines the number of windows in the array.

*/ inline PredictorExecutionDetails& WithPredictorExecutions(Aws::Vector&& value) { SetPredictorExecutions(std::move(value)); return *this;} /** *

An array of the backtests performed to evaluate the accuracy of the predictor * against a particular algorithm. The NumberOfBacktestWindows from * the object determines the number of windows in the array.

*/ inline PredictorExecutionDetails& AddPredictorExecutions(const PredictorExecution& value) { m_predictorExecutionsHasBeenSet = true; m_predictorExecutions.push_back(value); return *this; } /** *

An array of the backtests performed to evaluate the accuracy of the predictor * against a particular algorithm. The NumberOfBacktestWindows from * the object determines the number of windows in the array.

*/ inline PredictorExecutionDetails& AddPredictorExecutions(PredictorExecution&& value) { m_predictorExecutionsHasBeenSet = true; m_predictorExecutions.push_back(std::move(value)); return *this; } private: Aws::Vector m_predictorExecutions; bool m_predictorExecutionsHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws