AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Solution.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/SolutionConfig.h>
10#include <aws/personalize/model/AutoMLResult.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/personalize/model/SolutionVersionSummary.h>
13#include <aws/personalize/model/SolutionUpdateSummary.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Personalize
27{
28namespace Model
29{
30
50 {
51 public:
52 AWS_PERSONALIZE_API Solution();
53 AWS_PERSONALIZE_API Solution(Aws::Utils::Json::JsonView jsonValue);
54 AWS_PERSONALIZE_API Solution& operator=(Aws::Utils::Json::JsonView jsonValue);
55 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
56
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline Solution& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline Solution& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline Solution& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const Aws::String& GetSolutionArn() const{ return m_solutionArn; }
77 inline bool SolutionArnHasBeenSet() const { return m_solutionArnHasBeenSet; }
78 inline void SetSolutionArn(const Aws::String& value) { m_solutionArnHasBeenSet = true; m_solutionArn = value; }
79 inline void SetSolutionArn(Aws::String&& value) { m_solutionArnHasBeenSet = true; m_solutionArn = std::move(value); }
80 inline void SetSolutionArn(const char* value) { m_solutionArnHasBeenSet = true; m_solutionArn.assign(value); }
81 inline Solution& WithSolutionArn(const Aws::String& value) { SetSolutionArn(value); return *this;}
82 inline Solution& WithSolutionArn(Aws::String&& value) { SetSolutionArn(std::move(value)); return *this;}
83 inline Solution& WithSolutionArn(const char* value) { SetSolutionArn(value); return *this;}
85
87
91 inline bool GetPerformHPO() const{ return m_performHPO; }
92 inline bool PerformHPOHasBeenSet() const { return m_performHPOHasBeenSet; }
93 inline void SetPerformHPO(bool value) { m_performHPOHasBeenSet = true; m_performHPO = value; }
94 inline Solution& WithPerformHPO(bool value) { SetPerformHPO(value); return *this;}
96
98
109 inline bool GetPerformAutoML() const{ return m_performAutoML; }
110 inline bool PerformAutoMLHasBeenSet() const { return m_performAutoMLHasBeenSet; }
111 inline void SetPerformAutoML(bool value) { m_performAutoMLHasBeenSet = true; m_performAutoML = value; }
112 inline Solution& WithPerformAutoML(bool value) { SetPerformAutoML(value); return *this;}
114
116
123 inline bool GetPerformAutoTraining() const{ return m_performAutoTraining; }
124 inline bool PerformAutoTrainingHasBeenSet() const { return m_performAutoTrainingHasBeenSet; }
125 inline void SetPerformAutoTraining(bool value) { m_performAutoTrainingHasBeenSet = true; m_performAutoTraining = value; }
126 inline Solution& WithPerformAutoTraining(bool value) { SetPerformAutoTraining(value); return *this;}
128
130
134 inline const Aws::String& GetRecipeArn() const{ return m_recipeArn; }
135 inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
136 inline void SetRecipeArn(const Aws::String& value) { m_recipeArnHasBeenSet = true; m_recipeArn = value; }
137 inline void SetRecipeArn(Aws::String&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::move(value); }
138 inline void SetRecipeArn(const char* value) { m_recipeArnHasBeenSet = true; m_recipeArn.assign(value); }
139 inline Solution& WithRecipeArn(const Aws::String& value) { SetRecipeArn(value); return *this;}
140 inline Solution& WithRecipeArn(Aws::String&& value) { SetRecipeArn(std::move(value)); return *this;}
141 inline Solution& WithRecipeArn(const char* value) { SetRecipeArn(value); return *this;}
143
145
149 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
150 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
151 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
152 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
153 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
154 inline Solution& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
155 inline Solution& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
156 inline Solution& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
158
160
165 inline const Aws::String& GetEventType() const{ return m_eventType; }
166 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
167 inline void SetEventType(const Aws::String& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
168 inline void SetEventType(Aws::String&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
169 inline void SetEventType(const char* value) { m_eventTypeHasBeenSet = true; m_eventType.assign(value); }
170 inline Solution& WithEventType(const Aws::String& value) { SetEventType(value); return *this;}
171 inline Solution& WithEventType(Aws::String&& value) { SetEventType(std::move(value)); return *this;}
172 inline Solution& WithEventType(const char* value) { SetEventType(value); return *this;}
174
176
179 inline const SolutionConfig& GetSolutionConfig() const{ return m_solutionConfig; }
180 inline bool SolutionConfigHasBeenSet() const { return m_solutionConfigHasBeenSet; }
181 inline void SetSolutionConfig(const SolutionConfig& value) { m_solutionConfigHasBeenSet = true; m_solutionConfig = value; }
182 inline void SetSolutionConfig(SolutionConfig&& value) { m_solutionConfigHasBeenSet = true; m_solutionConfig = std::move(value); }
183 inline Solution& WithSolutionConfig(const SolutionConfig& value) { SetSolutionConfig(value); return *this;}
184 inline Solution& WithSolutionConfig(SolutionConfig&& value) { SetSolutionConfig(std::move(value)); return *this;}
186
188
191 inline const AutoMLResult& GetAutoMLResult() const{ return m_autoMLResult; }
192 inline bool AutoMLResultHasBeenSet() const { return m_autoMLResultHasBeenSet; }
193 inline void SetAutoMLResult(const AutoMLResult& value) { m_autoMLResultHasBeenSet = true; m_autoMLResult = value; }
194 inline void SetAutoMLResult(AutoMLResult&& value) { m_autoMLResultHasBeenSet = true; m_autoMLResult = std::move(value); }
195 inline Solution& WithAutoMLResult(const AutoMLResult& value) { SetAutoMLResult(value); return *this;}
196 inline Solution& WithAutoMLResult(AutoMLResult&& value) { SetAutoMLResult(std::move(value)); return *this;}
198
200
206 inline const Aws::String& GetStatus() const{ return m_status; }
207 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
208 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
209 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
210 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
211 inline Solution& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
212 inline Solution& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
213 inline Solution& WithStatus(const char* value) { SetStatus(value); return *this;}
215
217
220 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
221 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
222 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
223 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
224 inline Solution& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
225 inline Solution& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
227
229
232 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
233 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
234 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
235 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
237 inline Solution& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
239
241
245 inline const SolutionVersionSummary& GetLatestSolutionVersion() const{ return m_latestSolutionVersion; }
246 inline bool LatestSolutionVersionHasBeenSet() const { return m_latestSolutionVersionHasBeenSet; }
247 inline void SetLatestSolutionVersion(const SolutionVersionSummary& value) { m_latestSolutionVersionHasBeenSet = true; m_latestSolutionVersion = value; }
248 inline void SetLatestSolutionVersion(SolutionVersionSummary&& value) { m_latestSolutionVersionHasBeenSet = true; m_latestSolutionVersion = std::move(value); }
250 inline Solution& WithLatestSolutionVersion(SolutionVersionSummary&& value) { SetLatestSolutionVersion(std::move(value)); return *this;}
252
254
257 inline const SolutionUpdateSummary& GetLatestSolutionUpdate() const{ return m_latestSolutionUpdate; }
258 inline bool LatestSolutionUpdateHasBeenSet() const { return m_latestSolutionUpdateHasBeenSet; }
259 inline void SetLatestSolutionUpdate(const SolutionUpdateSummary& value) { m_latestSolutionUpdateHasBeenSet = true; m_latestSolutionUpdate = value; }
260 inline void SetLatestSolutionUpdate(SolutionUpdateSummary&& value) { m_latestSolutionUpdateHasBeenSet = true; m_latestSolutionUpdate = std::move(value); }
262 inline Solution& WithLatestSolutionUpdate(SolutionUpdateSummary&& value) { SetLatestSolutionUpdate(std::move(value)); return *this;}
264 private:
265
266 Aws::String m_name;
267 bool m_nameHasBeenSet = false;
268
269 Aws::String m_solutionArn;
270 bool m_solutionArnHasBeenSet = false;
271
272 bool m_performHPO;
273 bool m_performHPOHasBeenSet = false;
274
275 bool m_performAutoML;
276 bool m_performAutoMLHasBeenSet = false;
277
278 bool m_performAutoTraining;
279 bool m_performAutoTrainingHasBeenSet = false;
280
281 Aws::String m_recipeArn;
282 bool m_recipeArnHasBeenSet = false;
283
284 Aws::String m_datasetGroupArn;
285 bool m_datasetGroupArnHasBeenSet = false;
286
287 Aws::String m_eventType;
288 bool m_eventTypeHasBeenSet = false;
289
290 SolutionConfig m_solutionConfig;
291 bool m_solutionConfigHasBeenSet = false;
292
293 AutoMLResult m_autoMLResult;
294 bool m_autoMLResultHasBeenSet = false;
295
296 Aws::String m_status;
297 bool m_statusHasBeenSet = false;
298
299 Aws::Utils::DateTime m_creationDateTime;
300 bool m_creationDateTimeHasBeenSet = false;
301
302 Aws::Utils::DateTime m_lastUpdatedDateTime;
303 bool m_lastUpdatedDateTimeHasBeenSet = false;
304
305 SolutionVersionSummary m_latestSolutionVersion;
306 bool m_latestSolutionVersionHasBeenSet = false;
307
308 SolutionUpdateSummary m_latestSolutionUpdate;
309 bool m_latestSolutionUpdateHasBeenSet = false;
310 };
311
312} // namespace Model
313} // namespace Personalize
314} // namespace Aws
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
Solution & WithLatestSolutionVersion(SolutionVersionSummary &&value)
Definition Solution.h:250
void SetDatasetGroupArn(const Aws::String &value)
Definition Solution.h:151
Solution & WithLatestSolutionUpdate(SolutionUpdateSummary &&value)
Definition Solution.h:262
const Aws::String & GetName() const
Definition Solution.h:62
Solution & WithAutoMLResult(AutoMLResult &&value)
Definition Solution.h:196
bool PerformAutoTrainingHasBeenSet() const
Definition Solution.h:124
void SetEventType(const char *value)
Definition Solution.h:169
void SetRecipeArn(Aws::String &&value)
Definition Solution.h:137
void SetSolutionConfig(const SolutionConfig &value)
Definition Solution.h:181
Solution & WithName(Aws::String &&value)
Definition Solution.h:68
void SetLatestSolutionUpdate(SolutionUpdateSummary &&value)
Definition Solution.h:260
Solution & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition Solution.h:237
Solution & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition Solution.h:225
Solution & WithStatus(const char *value)
Definition Solution.h:213
Solution & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition Solution.h:224
Solution & WithDatasetGroupArn(Aws::String &&value)
Definition Solution.h:155
Solution & WithDatasetGroupArn(const Aws::String &value)
Definition Solution.h:154
void SetStatus(const Aws::String &value)
Definition Solution.h:208
void SetSolutionConfig(SolutionConfig &&value)
Definition Solution.h:182
bool LastUpdatedDateTimeHasBeenSet() const
Definition Solution.h:233
const SolutionVersionSummary & GetLatestSolutionVersion() const
Definition Solution.h:245
Solution & WithName(const Aws::String &value)
Definition Solution.h:67
const Aws::String & GetEventType() const
Definition Solution.h:165
void SetPerformHPO(bool value)
Definition Solution.h:93
bool LatestSolutionUpdateHasBeenSet() const
Definition Solution.h:258
void SetLatestSolutionVersion(const SolutionVersionSummary &value)
Definition Solution.h:247
Solution & WithSolutionConfig(const SolutionConfig &value)
Definition Solution.h:183
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition Solution.h:220
void SetName(Aws::String &&value)
Definition Solution.h:65
const Aws::String & GetDatasetGroupArn() const
Definition Solution.h:149
void SetPerformAutoTraining(bool value)
Definition Solution.h:125
void SetAutoMLResult(const AutoMLResult &value)
Definition Solution.h:193
void SetLatestSolutionVersion(SolutionVersionSummary &&value)
Definition Solution.h:248
AWS_PERSONALIZE_API Solution & operator=(Aws::Utils::Json::JsonView jsonValue)
Solution & WithPerformAutoTraining(bool value)
Definition Solution.h:126
void SetSolutionArn(const char *value)
Definition Solution.h:80
Solution & WithEventType(const Aws::String &value)
Definition Solution.h:170
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition Solution.h:235
Solution & WithLatestSolutionVersion(const SolutionVersionSummary &value)
Definition Solution.h:249
AWS_PERSONALIZE_API Solution(Aws::Utils::Json::JsonView jsonValue)
Solution & WithEventType(Aws::String &&value)
Definition Solution.h:171
Solution & WithSolutionArn(Aws::String &&value)
Definition Solution.h:82
const Aws::String & GetStatus() const
Definition Solution.h:206
const AutoMLResult & GetAutoMLResult() const
Definition Solution.h:191
Solution & WithSolutionArn(const char *value)
Definition Solution.h:83
Solution & WithRecipeArn(const char *value)
Definition Solution.h:141
void SetLatestSolutionUpdate(const SolutionUpdateSummary &value)
Definition Solution.h:259
bool LatestSolutionVersionHasBeenSet() const
Definition Solution.h:246
Solution & WithName(const char *value)
Definition Solution.h:69
Solution & WithRecipeArn(const Aws::String &value)
Definition Solution.h:139
const Aws::String & GetSolutionArn() const
Definition Solution.h:76
void SetSolutionArn(const Aws::String &value)
Definition Solution.h:78
void SetStatus(const char *value)
Definition Solution.h:210
Solution & WithPerformHPO(bool value)
Definition Solution.h:94
void SetName(const char *value)
Definition Solution.h:66
Solution & WithDatasetGroupArn(const char *value)
Definition Solution.h:156
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition Solution.h:223
void SetDatasetGroupArn(const char *value)
Definition Solution.h:153
void SetEventType(const Aws::String &value)
Definition Solution.h:167
Solution & WithPerformAutoML(bool value)
Definition Solution.h:112
void SetPerformAutoML(bool value)
Definition Solution.h:111
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition Solution.h:232
Solution & WithSolutionConfig(SolutionConfig &&value)
Definition Solution.h:184
void SetSolutionArn(Aws::String &&value)
Definition Solution.h:79
void SetAutoMLResult(AutoMLResult &&value)
Definition Solution.h:194
void SetDatasetGroupArn(Aws::String &&value)
Definition Solution.h:152
Solution & WithStatus(Aws::String &&value)
Definition Solution.h:212
void SetStatus(Aws::String &&value)
Definition Solution.h:209
const SolutionConfig & GetSolutionConfig() const
Definition Solution.h:179
void SetName(const Aws::String &value)
Definition Solution.h:64
Solution & WithAutoMLResult(const AutoMLResult &value)
Definition Solution.h:195
void SetRecipeArn(const char *value)
Definition Solution.h:138
Solution & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition Solution.h:236
Solution & WithSolutionArn(const Aws::String &value)
Definition Solution.h:81
Solution & WithLatestSolutionUpdate(const SolutionUpdateSummary &value)
Definition Solution.h:261
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition Solution.h:222
bool CreationDateTimeHasBeenSet() const
Definition Solution.h:221
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition Solution.h:234
void SetEventType(Aws::String &&value)
Definition Solution.h:168
AWS_PERSONALIZE_API Solution()
void SetRecipeArn(const Aws::String &value)
Definition Solution.h:136
const SolutionUpdateSummary & GetLatestSolutionUpdate() const
Definition Solution.h:257
Solution & WithStatus(const Aws::String &value)
Definition Solution.h:211
const Aws::String & GetRecipeArn() const
Definition Solution.h:134
Solution & WithEventType(const char *value)
Definition Solution.h:172
Solution & WithRecipeArn(Aws::String &&value)
Definition Solution.h:140
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue