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

The results of evaluating an algorithm. Returned as part of the * GetAccuracyMetrics response.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the algorithm that was evaluated.

*/ inline const Aws::String& GetAlgorithmArn() const{ return m_algorithmArn; } /** *

The Amazon Resource Name (ARN) of the algorithm that was evaluated.

*/ inline bool AlgorithmArnHasBeenSet() const { return m_algorithmArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the algorithm that was evaluated.

*/ inline void SetAlgorithmArn(const Aws::String& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = value; } /** *

The Amazon Resource Name (ARN) of the algorithm that was evaluated.

*/ inline void SetAlgorithmArn(Aws::String&& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the algorithm that was evaluated.

*/ inline void SetAlgorithmArn(const char* value) { m_algorithmArnHasBeenSet = true; m_algorithmArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the algorithm that was evaluated.

*/ inline EvaluationResult& WithAlgorithmArn(const Aws::String& value) { SetAlgorithmArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the algorithm that was evaluated.

*/ inline EvaluationResult& WithAlgorithmArn(Aws::String&& value) { SetAlgorithmArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the algorithm that was evaluated.

*/ inline EvaluationResult& WithAlgorithmArn(const char* value) { SetAlgorithmArn(value); return *this;} /** *

The array of test windows used for evaluating the algorithm. The * NumberOfBacktestWindows from the EvaluationParameters object * determines the number of windows in the array.

*/ inline const Aws::Vector& GetTestWindows() const{ return m_testWindows; } /** *

The array of test windows used for evaluating the algorithm. The * NumberOfBacktestWindows from the EvaluationParameters object * determines the number of windows in the array.

*/ inline bool TestWindowsHasBeenSet() const { return m_testWindowsHasBeenSet; } /** *

The array of test windows used for evaluating the algorithm. The * NumberOfBacktestWindows from the EvaluationParameters object * determines the number of windows in the array.

*/ inline void SetTestWindows(const Aws::Vector& value) { m_testWindowsHasBeenSet = true; m_testWindows = value; } /** *

The array of test windows used for evaluating the algorithm. The * NumberOfBacktestWindows from the EvaluationParameters object * determines the number of windows in the array.

*/ inline void SetTestWindows(Aws::Vector&& value) { m_testWindowsHasBeenSet = true; m_testWindows = std::move(value); } /** *

The array of test windows used for evaluating the algorithm. The * NumberOfBacktestWindows from the EvaluationParameters object * determines the number of windows in the array.

*/ inline EvaluationResult& WithTestWindows(const Aws::Vector& value) { SetTestWindows(value); return *this;} /** *

The array of test windows used for evaluating the algorithm. The * NumberOfBacktestWindows from the EvaluationParameters object * determines the number of windows in the array.

*/ inline EvaluationResult& WithTestWindows(Aws::Vector&& value) { SetTestWindows(std::move(value)); return *this;} /** *

The array of test windows used for evaluating the algorithm. The * NumberOfBacktestWindows from the EvaluationParameters object * determines the number of windows in the array.

*/ inline EvaluationResult& AddTestWindows(const WindowSummary& value) { m_testWindowsHasBeenSet = true; m_testWindows.push_back(value); return *this; } /** *

The array of test windows used for evaluating the algorithm. The * NumberOfBacktestWindows from the EvaluationParameters object * determines the number of windows in the array.

*/ inline EvaluationResult& AddTestWindows(WindowSummary&& value) { m_testWindowsHasBeenSet = true; m_testWindows.push_back(std::move(value)); return *this; } private: Aws::String m_algorithmArn; bool m_algorithmArnHasBeenSet = false; Aws::Vector m_testWindows; bool m_testWindowsHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws