AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccuracyMetricsResult.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/forecast/model/AutoMLOverrideStrategy.h>
10#include <aws/forecast/model/OptimizationMetric.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/forecast/model/EvaluationResult.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace ForecastService
28{
29namespace Model
30{
32 {
33 public:
34 AWS_FORECASTSERVICE_API GetAccuracyMetricsResult();
37
38
40
43 inline const Aws::Vector<EvaluationResult>& GetPredictorEvaluationResults() const{ return m_predictorEvaluationResults; }
44 inline void SetPredictorEvaluationResults(const Aws::Vector<EvaluationResult>& value) { m_predictorEvaluationResults = value; }
45 inline void SetPredictorEvaluationResults(Aws::Vector<EvaluationResult>&& value) { m_predictorEvaluationResults = std::move(value); }
48 inline GetAccuracyMetricsResult& AddPredictorEvaluationResults(const EvaluationResult& value) { m_predictorEvaluationResults.push_back(value); return *this; }
49 inline GetAccuracyMetricsResult& AddPredictorEvaluationResults(EvaluationResult&& value) { m_predictorEvaluationResults.push_back(std::move(value)); return *this; }
51
53
56 inline bool GetIsAutoPredictor() const{ return m_isAutoPredictor; }
57 inline void SetIsAutoPredictor(bool value) { m_isAutoPredictor = value; }
58 inline GetAccuracyMetricsResult& WithIsAutoPredictor(bool value) { SetIsAutoPredictor(value); return *this;}
60
62
70 inline const AutoMLOverrideStrategy& GetAutoMLOverrideStrategy() const{ return m_autoMLOverrideStrategy; }
71 inline void SetAutoMLOverrideStrategy(const AutoMLOverrideStrategy& value) { m_autoMLOverrideStrategy = value; }
72 inline void SetAutoMLOverrideStrategy(AutoMLOverrideStrategy&& value) { m_autoMLOverrideStrategy = std::move(value); }
76
78
81 inline const OptimizationMetric& GetOptimizationMetric() const{ return m_optimizationMetric; }
82 inline void SetOptimizationMetric(const OptimizationMetric& value) { m_optimizationMetric = value; }
83 inline void SetOptimizationMetric(OptimizationMetric&& value) { m_optimizationMetric = std::move(value); }
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline GetAccuracyMetricsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline GetAccuracyMetricsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline GetAccuracyMetricsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::Vector<EvaluationResult> m_predictorEvaluationResults;
101
102 bool m_isAutoPredictor;
103
104 AutoMLOverrideStrategy m_autoMLOverrideStrategy;
105
106 OptimizationMetric m_optimizationMetric;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace ForecastService
113} // namespace Aws
AWS_FORECASTSERVICE_API GetAccuracyMetricsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccuracyMetricsResult & WithIsAutoPredictor(bool value)
void SetPredictorEvaluationResults(Aws::Vector< EvaluationResult > &&value)
void SetAutoMLOverrideStrategy(AutoMLOverrideStrategy &&value)
void SetAutoMLOverrideStrategy(const AutoMLOverrideStrategy &value)
AWS_FORECASTSERVICE_API GetAccuracyMetricsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOptimizationMetric(const OptimizationMetric &value)
GetAccuracyMetricsResult & WithRequestId(const char *value)
GetAccuracyMetricsResult & WithOptimizationMetric(const OptimizationMetric &value)
GetAccuracyMetricsResult & AddPredictorEvaluationResults(EvaluationResult &&value)
const AutoMLOverrideStrategy & GetAutoMLOverrideStrategy() const
const Aws::Vector< EvaluationResult > & GetPredictorEvaluationResults() const
GetAccuracyMetricsResult & WithAutoMLOverrideStrategy(const AutoMLOverrideStrategy &value)
GetAccuracyMetricsResult & WithAutoMLOverrideStrategy(AutoMLOverrideStrategy &&value)
GetAccuracyMetricsResult & WithOptimizationMetric(OptimizationMetric &&value)
GetAccuracyMetricsResult & AddPredictorEvaluationResults(const EvaluationResult &value)
GetAccuracyMetricsResult & WithPredictorEvaluationResults(const Aws::Vector< EvaluationResult > &value)
GetAccuracyMetricsResult & WithPredictorEvaluationResults(Aws::Vector< EvaluationResult > &&value)
void SetPredictorEvaluationResults(const Aws::Vector< EvaluationResult > &value)
GetAccuracyMetricsResult & WithRequestId(Aws::String &&value)
GetAccuracyMetricsResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue