/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ForecastService { namespace Model { class GetAccuracyMetricsResult { public: AWS_FORECASTSERVICE_API GetAccuracyMetricsResult(); AWS_FORECASTSERVICE_API GetAccuracyMetricsResult(const Aws::AmazonWebServiceResult& result); AWS_FORECASTSERVICE_API GetAccuracyMetricsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of results from evaluating the predictor.

*/ inline const Aws::Vector& GetPredictorEvaluationResults() const{ return m_predictorEvaluationResults; } /** *

An array of results from evaluating the predictor.

*/ inline void SetPredictorEvaluationResults(const Aws::Vector& value) { m_predictorEvaluationResults = value; } /** *

An array of results from evaluating the predictor.

*/ inline void SetPredictorEvaluationResults(Aws::Vector&& value) { m_predictorEvaluationResults = std::move(value); } /** *

An array of results from evaluating the predictor.

*/ inline GetAccuracyMetricsResult& WithPredictorEvaluationResults(const Aws::Vector& value) { SetPredictorEvaluationResults(value); return *this;} /** *

An array of results from evaluating the predictor.

*/ inline GetAccuracyMetricsResult& WithPredictorEvaluationResults(Aws::Vector&& value) { SetPredictorEvaluationResults(std::move(value)); return *this;} /** *

An array of results from evaluating the predictor.

*/ inline GetAccuracyMetricsResult& AddPredictorEvaluationResults(const EvaluationResult& value) { m_predictorEvaluationResults.push_back(value); return *this; } /** *

An array of results from evaluating the predictor.

*/ inline GetAccuracyMetricsResult& AddPredictorEvaluationResults(EvaluationResult&& value) { m_predictorEvaluationResults.push_back(std::move(value)); return *this; } /** *

Whether the predictor was created with CreateAutoPredictor.

*/ inline bool GetIsAutoPredictor() const{ return m_isAutoPredictor; } /** *

Whether the predictor was created with CreateAutoPredictor.

*/ inline void SetIsAutoPredictor(bool value) { m_isAutoPredictor = value; } /** *

Whether the predictor was created with CreateAutoPredictor.

*/ inline GetAccuracyMetricsResult& WithIsAutoPredictor(bool value) { SetIsAutoPredictor(value); return *this;} /** *

The LatencyOptimized AutoML override strategy is only * available in private beta. Contact Amazon Web Services Support or your account * manager to learn more about access privileges.

The AutoML * strategy used to train the predictor. Unless LatencyOptimized is * specified, the AutoML strategy optimizes predictor accuracy.

This * parameter is only valid for predictors trained using AutoML.

*/ inline const AutoMLOverrideStrategy& GetAutoMLOverrideStrategy() const{ return m_autoMLOverrideStrategy; } /** *

The LatencyOptimized AutoML override strategy is only * available in private beta. Contact Amazon Web Services Support or your account * manager to learn more about access privileges.

The AutoML * strategy used to train the predictor. Unless LatencyOptimized is * specified, the AutoML strategy optimizes predictor accuracy.

This * parameter is only valid for predictors trained using AutoML.

*/ inline void SetAutoMLOverrideStrategy(const AutoMLOverrideStrategy& value) { m_autoMLOverrideStrategy = value; } /** *

The LatencyOptimized AutoML override strategy is only * available in private beta. Contact Amazon Web Services Support or your account * manager to learn more about access privileges.

The AutoML * strategy used to train the predictor. Unless LatencyOptimized is * specified, the AutoML strategy optimizes predictor accuracy.

This * parameter is only valid for predictors trained using AutoML.

*/ inline void SetAutoMLOverrideStrategy(AutoMLOverrideStrategy&& value) { m_autoMLOverrideStrategy = std::move(value); } /** *

The LatencyOptimized AutoML override strategy is only * available in private beta. Contact Amazon Web Services Support or your account * manager to learn more about access privileges.

The AutoML * strategy used to train the predictor. Unless LatencyOptimized is * specified, the AutoML strategy optimizes predictor accuracy.

This * parameter is only valid for predictors trained using AutoML.

*/ inline GetAccuracyMetricsResult& WithAutoMLOverrideStrategy(const AutoMLOverrideStrategy& value) { SetAutoMLOverrideStrategy(value); return *this;} /** *

The LatencyOptimized AutoML override strategy is only * available in private beta. Contact Amazon Web Services Support or your account * manager to learn more about access privileges.

The AutoML * strategy used to train the predictor. Unless LatencyOptimized is * specified, the AutoML strategy optimizes predictor accuracy.

This * parameter is only valid for predictors trained using AutoML.

*/ inline GetAccuracyMetricsResult& WithAutoMLOverrideStrategy(AutoMLOverrideStrategy&& value) { SetAutoMLOverrideStrategy(std::move(value)); return *this;} /** *

The accuracy metric used to optimize the predictor.

*/ inline const OptimizationMetric& GetOptimizationMetric() const{ return m_optimizationMetric; } /** *

The accuracy metric used to optimize the predictor.

*/ inline void SetOptimizationMetric(const OptimizationMetric& value) { m_optimizationMetric = value; } /** *

The accuracy metric used to optimize the predictor.

*/ inline void SetOptimizationMetric(OptimizationMetric&& value) { m_optimizationMetric = std::move(value); } /** *

The accuracy metric used to optimize the predictor.

*/ inline GetAccuracyMetricsResult& WithOptimizationMetric(const OptimizationMetric& value) { SetOptimizationMetric(value); return *this;} /** *

The accuracy metric used to optimize the predictor.

*/ inline GetAccuracyMetricsResult& WithOptimizationMetric(OptimizationMetric&& value) { SetOptimizationMetric(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetAccuracyMetricsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAccuracyMetricsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAccuracyMetricsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_predictorEvaluationResults; bool m_isAutoPredictor; AutoMLOverrideStrategy m_autoMLOverrideStrategy; OptimizationMetric m_optimizationMetric; Aws::String m_requestId; }; } // namespace Model } // namespace ForecastService } // namespace Aws