AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
EvaluationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/forecast/ForecastService_EXPORTS.h>
10#include <aws/forecast/model/WindowSummary.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ForecastService {
22namespace Model {
23
31 public:
32 AWS_FORECASTSERVICE_API EvaluationResult() = default;
33 AWS_FORECASTSERVICE_API EvaluationResult(Aws::Utils::Json::JsonView jsonValue);
34 AWS_FORECASTSERVICE_API EvaluationResult& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetAlgorithmArn() const { return m_algorithmArn; }
42 inline bool AlgorithmArnHasBeenSet() const { return m_algorithmArnHasBeenSet; }
43 template <typename AlgorithmArnT = Aws::String>
44 void SetAlgorithmArn(AlgorithmArnT&& value) {
45 m_algorithmArnHasBeenSet = true;
46 m_algorithmArn = std::forward<AlgorithmArnT>(value);
47 }
48 template <typename AlgorithmArnT = Aws::String>
49 EvaluationResult& WithAlgorithmArn(AlgorithmArnT&& value) {
50 SetAlgorithmArn(std::forward<AlgorithmArnT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::Vector<WindowSummary>& GetTestWindows() const { return m_testWindows; }
62 inline bool TestWindowsHasBeenSet() const { return m_testWindowsHasBeenSet; }
63 template <typename TestWindowsT = Aws::Vector<WindowSummary>>
64 void SetTestWindows(TestWindowsT&& value) {
65 m_testWindowsHasBeenSet = true;
66 m_testWindows = std::forward<TestWindowsT>(value);
67 }
68 template <typename TestWindowsT = Aws::Vector<WindowSummary>>
69 EvaluationResult& WithTestWindows(TestWindowsT&& value) {
70 SetTestWindows(std::forward<TestWindowsT>(value));
71 return *this;
72 }
73 template <typename TestWindowsT = WindowSummary>
74 EvaluationResult& AddTestWindows(TestWindowsT&& value) {
75 m_testWindowsHasBeenSet = true;
76 m_testWindows.emplace_back(std::forward<TestWindowsT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_algorithmArn;
82
83 Aws::Vector<WindowSummary> m_testWindows;
84 bool m_algorithmArnHasBeenSet = false;
85 bool m_testWindowsHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace ForecastService
90} // namespace Aws
AWS_FORECASTSERVICE_API EvaluationResult()=default
AWS_FORECASTSERVICE_API EvaluationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< WindowSummary > & GetTestWindows() const
EvaluationResult & WithAlgorithmArn(AlgorithmArnT &&value)
AWS_FORECASTSERVICE_API EvaluationResult(Aws::Utils::Json::JsonView jsonValue)
EvaluationResult & AddTestWindows(TestWindowsT &&value)
EvaluationResult & WithTestWindows(TestWindowsT &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue