AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchInferenceJob.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/BatchInferenceJobInput.h>
10#include <aws/personalize/model/BatchInferenceJobOutput.h>
11#include <aws/personalize/model/BatchInferenceJobConfig.h>
12#include <aws/personalize/model/BatchInferenceJobMode.h>
13#include <aws/personalize/model/ThemeGenerationConfig.h>
14#include <aws/core/utils/DateTime.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Personalize
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_PERSONALIZE_API BatchInferenceJob() = default;
41 AWS_PERSONALIZE_API BatchInferenceJob(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetJobName() const { return m_jobName; }
51 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
52 template<typename JobNameT = Aws::String>
53 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
54 template<typename JobNameT = Aws::String>
55 BatchInferenceJob& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetBatchInferenceJobArn() const { return m_batchInferenceJobArn; }
63 inline bool BatchInferenceJobArnHasBeenSet() const { return m_batchInferenceJobArnHasBeenSet; }
64 template<typename BatchInferenceJobArnT = Aws::String>
65 void SetBatchInferenceJobArn(BatchInferenceJobArnT&& value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn = std::forward<BatchInferenceJobArnT>(value); }
66 template<typename BatchInferenceJobArnT = Aws::String>
67 BatchInferenceJob& WithBatchInferenceJobArn(BatchInferenceJobArnT&& value) { SetBatchInferenceJobArn(std::forward<BatchInferenceJobArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetFilterArn() const { return m_filterArn; }
75 inline bool FilterArnHasBeenSet() const { return m_filterArnHasBeenSet; }
76 template<typename FilterArnT = Aws::String>
77 void SetFilterArn(FilterArnT&& value) { m_filterArnHasBeenSet = true; m_filterArn = std::forward<FilterArnT>(value); }
78 template<typename FilterArnT = Aws::String>
79 BatchInferenceJob& WithFilterArn(FilterArnT&& value) { SetFilterArn(std::forward<FilterArnT>(value)); return *this;}
81
83
86 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
87 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
88 template<typename FailureReasonT = Aws::String>
89 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
90 template<typename FailureReasonT = Aws::String>
91 BatchInferenceJob& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
93
95
99 inline const Aws::String& GetSolutionVersionArn() const { return m_solutionVersionArn; }
100 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
101 template<typename SolutionVersionArnT = Aws::String>
102 void SetSolutionVersionArn(SolutionVersionArnT&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::forward<SolutionVersionArnT>(value); }
103 template<typename SolutionVersionArnT = Aws::String>
104 BatchInferenceJob& WithSolutionVersionArn(SolutionVersionArnT&& value) { SetSolutionVersionArn(std::forward<SolutionVersionArnT>(value)); return *this;}
106
108
112 inline int GetNumResults() const { return m_numResults; }
113 inline bool NumResultsHasBeenSet() const { return m_numResultsHasBeenSet; }
114 inline void SetNumResults(int value) { m_numResultsHasBeenSet = true; m_numResults = value; }
115 inline BatchInferenceJob& WithNumResults(int value) { SetNumResults(value); return *this;}
117
119
123 inline const BatchInferenceJobInput& GetJobInput() const { return m_jobInput; }
124 inline bool JobInputHasBeenSet() const { return m_jobInputHasBeenSet; }
125 template<typename JobInputT = BatchInferenceJobInput>
126 void SetJobInput(JobInputT&& value) { m_jobInputHasBeenSet = true; m_jobInput = std::forward<JobInputT>(value); }
127 template<typename JobInputT = BatchInferenceJobInput>
128 BatchInferenceJob& WithJobInput(JobInputT&& value) { SetJobInput(std::forward<JobInputT>(value)); return *this;}
130
132
136 inline const BatchInferenceJobOutput& GetJobOutput() const { return m_jobOutput; }
137 inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
138 template<typename JobOutputT = BatchInferenceJobOutput>
139 void SetJobOutput(JobOutputT&& value) { m_jobOutputHasBeenSet = true; m_jobOutput = std::forward<JobOutputT>(value); }
140 template<typename JobOutputT = BatchInferenceJobOutput>
141 BatchInferenceJob& WithJobOutput(JobOutputT&& value) { SetJobOutput(std::forward<JobOutputT>(value)); return *this;}
143
145
149 inline const BatchInferenceJobConfig& GetBatchInferenceJobConfig() const { return m_batchInferenceJobConfig; }
150 inline bool BatchInferenceJobConfigHasBeenSet() const { return m_batchInferenceJobConfigHasBeenSet; }
151 template<typename BatchInferenceJobConfigT = BatchInferenceJobConfig>
152 void SetBatchInferenceJobConfig(BatchInferenceJobConfigT&& value) { m_batchInferenceJobConfigHasBeenSet = true; m_batchInferenceJobConfig = std::forward<BatchInferenceJobConfigT>(value); }
153 template<typename BatchInferenceJobConfigT = BatchInferenceJobConfig>
154 BatchInferenceJob& WithBatchInferenceJobConfig(BatchInferenceJobConfigT&& value) { SetBatchInferenceJobConfig(std::forward<BatchInferenceJobConfigT>(value)); return *this;}
156
158
162 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
163 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
164 template<typename RoleArnT = Aws::String>
165 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
166 template<typename RoleArnT = Aws::String>
167 BatchInferenceJob& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
169
171
174 inline BatchInferenceJobMode GetBatchInferenceJobMode() const { return m_batchInferenceJobMode; }
175 inline bool BatchInferenceJobModeHasBeenSet() const { return m_batchInferenceJobModeHasBeenSet; }
176 inline void SetBatchInferenceJobMode(BatchInferenceJobMode value) { m_batchInferenceJobModeHasBeenSet = true; m_batchInferenceJobMode = value; }
179
181
184 inline const ThemeGenerationConfig& GetThemeGenerationConfig() const { return m_themeGenerationConfig; }
185 inline bool ThemeGenerationConfigHasBeenSet() const { return m_themeGenerationConfigHasBeenSet; }
186 template<typename ThemeGenerationConfigT = ThemeGenerationConfig>
187 void SetThemeGenerationConfig(ThemeGenerationConfigT&& value) { m_themeGenerationConfigHasBeenSet = true; m_themeGenerationConfig = std::forward<ThemeGenerationConfigT>(value); }
188 template<typename ThemeGenerationConfigT = ThemeGenerationConfig>
189 BatchInferenceJob& WithThemeGenerationConfig(ThemeGenerationConfigT&& value) { SetThemeGenerationConfig(std::forward<ThemeGenerationConfigT>(value)); return *this;}
191
193
198 inline const Aws::String& GetStatus() const { return m_status; }
199 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
200 template<typename StatusT = Aws::String>
201 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
202 template<typename StatusT = Aws::String>
203 BatchInferenceJob& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
205
207
210 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
211 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
212 template<typename CreationDateTimeT = Aws::Utils::DateTime>
213 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
214 template<typename CreationDateTimeT = Aws::Utils::DateTime>
215 BatchInferenceJob& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
217
219
222 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
223 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
224 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
225 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
226 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
227 BatchInferenceJob& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
229 private:
230
231 Aws::String m_jobName;
232 bool m_jobNameHasBeenSet = false;
233
234 Aws::String m_batchInferenceJobArn;
235 bool m_batchInferenceJobArnHasBeenSet = false;
236
237 Aws::String m_filterArn;
238 bool m_filterArnHasBeenSet = false;
239
240 Aws::String m_failureReason;
241 bool m_failureReasonHasBeenSet = false;
242
243 Aws::String m_solutionVersionArn;
244 bool m_solutionVersionArnHasBeenSet = false;
245
246 int m_numResults{0};
247 bool m_numResultsHasBeenSet = false;
248
249 BatchInferenceJobInput m_jobInput;
250 bool m_jobInputHasBeenSet = false;
251
252 BatchInferenceJobOutput m_jobOutput;
253 bool m_jobOutputHasBeenSet = false;
254
255 BatchInferenceJobConfig m_batchInferenceJobConfig;
256 bool m_batchInferenceJobConfigHasBeenSet = false;
257
258 Aws::String m_roleArn;
259 bool m_roleArnHasBeenSet = false;
260
262 bool m_batchInferenceJobModeHasBeenSet = false;
263
264 ThemeGenerationConfig m_themeGenerationConfig;
265 bool m_themeGenerationConfigHasBeenSet = false;
266
267 Aws::String m_status;
268 bool m_statusHasBeenSet = false;
269
270 Aws::Utils::DateTime m_creationDateTime{};
271 bool m_creationDateTimeHasBeenSet = false;
272
273 Aws::Utils::DateTime m_lastUpdatedDateTime{};
274 bool m_lastUpdatedDateTimeHasBeenSet = false;
275 };
276
277} // namespace Model
278} // namespace Personalize
279} // namespace Aws
void SetThemeGenerationConfig(ThemeGenerationConfigT &&value)
BatchInferenceJob & WithFailureReason(FailureReasonT &&value)
BatchInferenceJob & WithNumResults(int value)
BatchInferenceJob & WithJobInput(JobInputT &&value)
void SetSolutionVersionArn(SolutionVersionArnT &&value)
const Aws::String & GetBatchInferenceJobArn() const
AWS_PERSONALIZE_API BatchInferenceJob & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchInferenceJob & WithSolutionVersionArn(SolutionVersionArnT &&value)
const BatchInferenceJobConfig & GetBatchInferenceJobConfig() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetBatchInferenceJobArn(BatchInferenceJobArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
BatchInferenceJob & WithRoleArn(RoleArnT &&value)
void SetFailureReason(FailureReasonT &&value)
const BatchInferenceJobInput & GetJobInput() const
BatchInferenceJob & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetSolutionVersionArn() const
BatchInferenceJob & WithBatchInferenceJobArn(BatchInferenceJobArnT &&value)
AWS_PERSONALIZE_API BatchInferenceJob(Aws::Utils::Json::JsonView jsonValue)
void SetBatchInferenceJobConfig(BatchInferenceJobConfigT &&value)
BatchInferenceJob & WithThemeGenerationConfig(ThemeGenerationConfigT &&value)
BatchInferenceJob & WithFilterArn(FilterArnT &&value)
const Aws::String & GetFailureReason() const
const ThemeGenerationConfig & GetThemeGenerationConfig() const
BatchInferenceJob & WithJobOutput(JobOutputT &&value)
void SetBatchInferenceJobMode(BatchInferenceJobMode value)
BatchInferenceJob & WithStatus(StatusT &&value)
AWS_PERSONALIZE_API BatchInferenceJob()=default
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
BatchInferenceJob & WithBatchInferenceJobMode(BatchInferenceJobMode value)
BatchInferenceJob & WithBatchInferenceJobConfig(BatchInferenceJobConfigT &&value)
BatchInferenceJobMode GetBatchInferenceJobMode() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
const BatchInferenceJobOutput & GetJobOutput() const
BatchInferenceJob & WithJobName(JobNameT &&value)
BatchInferenceJob & WithCreationDateTime(CreationDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue