AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictorSummary.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/forecast/model/ReferencePredictorSummary.h>
10#include <aws/core/utils/DateTime.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
37 {
38 public:
39 AWS_FORECASTSERVICE_API PredictorSummary();
40 AWS_FORECASTSERVICE_API PredictorSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FORECASTSERVICE_API PredictorSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetPredictorArn() const{ return m_predictorArn; }
50 inline bool PredictorArnHasBeenSet() const { return m_predictorArnHasBeenSet; }
51 inline void SetPredictorArn(const Aws::String& value) { m_predictorArnHasBeenSet = true; m_predictorArn = value; }
52 inline void SetPredictorArn(Aws::String&& value) { m_predictorArnHasBeenSet = true; m_predictorArn = std::move(value); }
53 inline void SetPredictorArn(const char* value) { m_predictorArnHasBeenSet = true; m_predictorArn.assign(value); }
54 inline PredictorSummary& WithPredictorArn(const Aws::String& value) { SetPredictorArn(value); return *this;}
55 inline PredictorSummary& WithPredictorArn(Aws::String&& value) { SetPredictorArn(std::move(value)); return *this;}
56 inline PredictorSummary& WithPredictorArn(const char* value) { SetPredictorArn(value); return *this;}
58
60
63 inline const Aws::String& GetPredictorName() const{ return m_predictorName; }
64 inline bool PredictorNameHasBeenSet() const { return m_predictorNameHasBeenSet; }
65 inline void SetPredictorName(const Aws::String& value) { m_predictorNameHasBeenSet = true; m_predictorName = value; }
66 inline void SetPredictorName(Aws::String&& value) { m_predictorNameHasBeenSet = true; m_predictorName = std::move(value); }
67 inline void SetPredictorName(const char* value) { m_predictorNameHasBeenSet = true; m_predictorName.assign(value); }
68 inline PredictorSummary& WithPredictorName(const Aws::String& value) { SetPredictorName(value); return *this;}
69 inline PredictorSummary& WithPredictorName(Aws::String&& value) { SetPredictorName(std::move(value)); return *this;}
70 inline PredictorSummary& WithPredictorName(const char* value) { SetPredictorName(value); return *this;}
72
74
78 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
79 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
80 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
81 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
82 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
83 inline PredictorSummary& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
84 inline PredictorSummary& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
85 inline PredictorSummary& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
87
89
92 inline bool GetIsAutoPredictor() const{ return m_isAutoPredictor; }
93 inline bool IsAutoPredictorHasBeenSet() const { return m_isAutoPredictorHasBeenSet; }
94 inline void SetIsAutoPredictor(bool value) { m_isAutoPredictorHasBeenSet = true; m_isAutoPredictor = value; }
95 inline PredictorSummary& WithIsAutoPredictor(bool value) { SetIsAutoPredictor(value); return *this;}
97
99
103 inline const ReferencePredictorSummary& GetReferencePredictorSummary() const{ return m_referencePredictorSummary; }
104 inline bool ReferencePredictorSummaryHasBeenSet() const { return m_referencePredictorSummaryHasBeenSet; }
105 inline void SetReferencePredictorSummary(const ReferencePredictorSummary& value) { m_referencePredictorSummaryHasBeenSet = true; m_referencePredictorSummary = value; }
106 inline void SetReferencePredictorSummary(ReferencePredictorSummary&& value) { m_referencePredictorSummaryHasBeenSet = true; m_referencePredictorSummary = std::move(value); }
110
112
122 inline const Aws::String& GetStatus() const{ return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
125 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
126 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
127 inline PredictorSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
128 inline PredictorSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
129 inline PredictorSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
131
133
136 inline const Aws::String& GetMessage() const{ return m_message; }
137 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
138 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
139 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
140 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
141 inline PredictorSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
142 inline PredictorSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
143 inline PredictorSummary& WithMessage(const char* value) { SetMessage(value); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
151 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
152 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
153 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
154 inline PredictorSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
155 inline PredictorSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
157
159
168 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
169 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
170 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
171 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
175 private:
176
177 Aws::String m_predictorArn;
178 bool m_predictorArnHasBeenSet = false;
179
180 Aws::String m_predictorName;
181 bool m_predictorNameHasBeenSet = false;
182
183 Aws::String m_datasetGroupArn;
184 bool m_datasetGroupArnHasBeenSet = false;
185
186 bool m_isAutoPredictor;
187 bool m_isAutoPredictorHasBeenSet = false;
188
189 ReferencePredictorSummary m_referencePredictorSummary;
190 bool m_referencePredictorSummaryHasBeenSet = false;
191
192 Aws::String m_status;
193 bool m_statusHasBeenSet = false;
194
195 Aws::String m_message;
196 bool m_messageHasBeenSet = false;
197
198 Aws::Utils::DateTime m_creationTime;
199 bool m_creationTimeHasBeenSet = false;
200
201 Aws::Utils::DateTime m_lastModificationTime;
202 bool m_lastModificationTimeHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace ForecastService
207} // namespace Aws
PredictorSummary & WithStatus(const Aws::String &value)
AWS_FORECASTSERVICE_API PredictorSummary()
PredictorSummary & WithMessage(Aws::String &&value)
PredictorSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
AWS_FORECASTSERVICE_API PredictorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReferencePredictorSummary(ReferencePredictorSummary &&value)
PredictorSummary & WithPredictorArn(const Aws::String &value)
PredictorSummary & WithPredictorArn(const char *value)
PredictorSummary & WithReferencePredictorSummary(const ReferencePredictorSummary &value)
void SetReferencePredictorSummary(const ReferencePredictorSummary &value)
const Aws::Utils::DateTime & GetCreationTime() const
PredictorSummary & WithStatus(const char *value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
void SetPredictorArn(const Aws::String &value)
PredictorSummary & WithMessage(const char *value)
const ReferencePredictorSummary & GetReferencePredictorSummary() const
void SetPredictorName(const Aws::String &value)
PredictorSummary & WithPredictorName(const char *value)
PredictorSummary & WithReferencePredictorSummary(ReferencePredictorSummary &&value)
PredictorSummary & WithDatasetGroupArn(const char *value)
PredictorSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
PredictorSummary & WithStatus(Aws::String &&value)
PredictorSummary & WithPredictorArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
PredictorSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
PredictorSummary & WithDatasetGroupArn(const Aws::String &value)
PredictorSummary & WithPredictorName(const Aws::String &value)
PredictorSummary & WithMessage(const Aws::String &value)
AWS_FORECASTSERVICE_API PredictorSummary(Aws::Utils::Json::JsonView jsonValue)
PredictorSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetDatasetGroupArn(const Aws::String &value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
PredictorSummary & WithDatasetGroupArn(Aws::String &&value)
PredictorSummary & WithIsAutoPredictor(bool value)
const Aws::Utils::DateTime & GetLastModificationTime() const
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
PredictorSummary & WithPredictorName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue