AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictorExecution.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/forecast/model/TestWindowSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ForecastService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_FORECASTSERVICE_API PredictorExecution();
38 AWS_FORECASTSERVICE_API PredictorExecution(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FORECASTSERVICE_API PredictorExecution& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAlgorithmArn() const{ return m_algorithmArn; }
48 inline bool AlgorithmArnHasBeenSet() const { return m_algorithmArnHasBeenSet; }
49 inline void SetAlgorithmArn(const Aws::String& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = value; }
50 inline void SetAlgorithmArn(Aws::String&& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = std::move(value); }
51 inline void SetAlgorithmArn(const char* value) { m_algorithmArnHasBeenSet = true; m_algorithmArn.assign(value); }
52 inline PredictorExecution& WithAlgorithmArn(const Aws::String& value) { SetAlgorithmArn(value); return *this;}
53 inline PredictorExecution& WithAlgorithmArn(Aws::String&& value) { SetAlgorithmArn(std::move(value)); return *this;}
54 inline PredictorExecution& WithAlgorithmArn(const char* value) { SetAlgorithmArn(value); return *this;}
56
58
63 inline const Aws::Vector<TestWindowSummary>& GetTestWindows() const{ return m_testWindows; }
64 inline bool TestWindowsHasBeenSet() const { return m_testWindowsHasBeenSet; }
65 inline void SetTestWindows(const Aws::Vector<TestWindowSummary>& value) { m_testWindowsHasBeenSet = true; m_testWindows = value; }
66 inline void SetTestWindows(Aws::Vector<TestWindowSummary>&& value) { m_testWindowsHasBeenSet = true; m_testWindows = std::move(value); }
68 inline PredictorExecution& WithTestWindows(Aws::Vector<TestWindowSummary>&& value) { SetTestWindows(std::move(value)); return *this;}
69 inline PredictorExecution& AddTestWindows(const TestWindowSummary& value) { m_testWindowsHasBeenSet = true; m_testWindows.push_back(value); return *this; }
70 inline PredictorExecution& AddTestWindows(TestWindowSummary&& value) { m_testWindowsHasBeenSet = true; m_testWindows.push_back(std::move(value)); return *this; }
72 private:
73
74 Aws::String m_algorithmArn;
75 bool m_algorithmArnHasBeenSet = false;
76
78 bool m_testWindowsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace ForecastService
83} // namespace Aws
PredictorExecution & WithAlgorithmArn(Aws::String &&value)
PredictorExecution & WithTestWindows(const Aws::Vector< TestWindowSummary > &value)
PredictorExecution & WithTestWindows(Aws::Vector< TestWindowSummary > &&value)
const Aws::Vector< TestWindowSummary > & GetTestWindows() const
void SetTestWindows(const Aws::Vector< TestWindowSummary > &value)
AWS_FORECASTSERVICE_API PredictorExecution(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API PredictorExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTestWindows(Aws::Vector< TestWindowSummary > &&value)
PredictorExecution & WithAlgorithmArn(const Aws::String &value)
PredictorExecution & AddTestWindows(const TestWindowSummary &value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
PredictorExecution & WithAlgorithmArn(const char *value)
PredictorExecution & AddTestWindows(TestWindowSummary &&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