AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeProcessingJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/SageMaker_EXPORTS.h>
13#include <aws/sagemaker/model/AppSpecification.h>
14#include <aws/sagemaker/model/ExperimentConfig.h>
15#include <aws/sagemaker/model/NetworkConfig.h>
16#include <aws/sagemaker/model/ProcessingInput.h>
17#include <aws/sagemaker/model/ProcessingJobStatus.h>
18#include <aws/sagemaker/model/ProcessingOutputConfig.h>
19#include <aws/sagemaker/model/ProcessingResources.h>
20#include <aws/sagemaker/model/ProcessingStoppingCondition.h>
21
22#include <utility>
23
24namespace Aws {
25template <typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils {
29namespace Json {
30class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace SageMaker {
34namespace Model {
36 public:
37 AWS_SAGEMAKER_API DescribeProcessingJobResult() = default;
40
42
45 inline const Aws::Vector<ProcessingInput>& GetProcessingInputs() const { return m_processingInputs; }
46 template <typename ProcessingInputsT = Aws::Vector<ProcessingInput>>
47 void SetProcessingInputs(ProcessingInputsT&& value) {
48 m_processingInputsHasBeenSet = true;
49 m_processingInputs = std::forward<ProcessingInputsT>(value);
50 }
51 template <typename ProcessingInputsT = Aws::Vector<ProcessingInput>>
53 SetProcessingInputs(std::forward<ProcessingInputsT>(value));
54 return *this;
55 }
56 template <typename ProcessingInputsT = ProcessingInput>
58 m_processingInputsHasBeenSet = true;
59 m_processingInputs.emplace_back(std::forward<ProcessingInputsT>(value));
60 return *this;
61 }
63
65
68 inline const ProcessingOutputConfig& GetProcessingOutputConfig() const { return m_processingOutputConfig; }
69 template <typename ProcessingOutputConfigT = ProcessingOutputConfig>
70 void SetProcessingOutputConfig(ProcessingOutputConfigT&& value) {
71 m_processingOutputConfigHasBeenSet = true;
72 m_processingOutputConfig = std::forward<ProcessingOutputConfigT>(value);
73 }
74 template <typename ProcessingOutputConfigT = ProcessingOutputConfig>
75 DescribeProcessingJobResult& WithProcessingOutputConfig(ProcessingOutputConfigT&& value) {
76 SetProcessingOutputConfig(std::forward<ProcessingOutputConfigT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetProcessingJobName() const { return m_processingJobName; }
87 template <typename ProcessingJobNameT = Aws::String>
88 void SetProcessingJobName(ProcessingJobNameT&& value) {
89 m_processingJobNameHasBeenSet = true;
90 m_processingJobName = std::forward<ProcessingJobNameT>(value);
91 }
92 template <typename ProcessingJobNameT = Aws::String>
94 SetProcessingJobName(std::forward<ProcessingJobNameT>(value));
95 return *this;
96 }
98
100
105 inline const ProcessingResources& GetProcessingResources() const { return m_processingResources; }
106 template <typename ProcessingResourcesT = ProcessingResources>
107 void SetProcessingResources(ProcessingResourcesT&& value) {
108 m_processingResourcesHasBeenSet = true;
109 m_processingResources = std::forward<ProcessingResourcesT>(value);
110 }
111 template <typename ProcessingResourcesT = ProcessingResources>
113 SetProcessingResources(std::forward<ProcessingResourcesT>(value));
114 return *this;
115 }
117
119
122 inline const ProcessingStoppingCondition& GetStoppingCondition() const { return m_stoppingCondition; }
123 template <typename StoppingConditionT = ProcessingStoppingCondition>
124 void SetStoppingCondition(StoppingConditionT&& value) {
125 m_stoppingConditionHasBeenSet = true;
126 m_stoppingCondition = std::forward<StoppingConditionT>(value);
127 }
128 template <typename StoppingConditionT = ProcessingStoppingCondition>
130 SetStoppingCondition(std::forward<StoppingConditionT>(value));
131 return *this;
132 }
134
136
139 inline const AppSpecification& GetAppSpecification() const { return m_appSpecification; }
140 template <typename AppSpecificationT = AppSpecification>
141 void SetAppSpecification(AppSpecificationT&& value) {
142 m_appSpecificationHasBeenSet = true;
143 m_appSpecification = std::forward<AppSpecificationT>(value);
144 }
145 template <typename AppSpecificationT = AppSpecification>
147 SetAppSpecification(std::forward<AppSpecificationT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
157 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
158 void SetEnvironment(EnvironmentT&& value) {
159 m_environmentHasBeenSet = true;
160 m_environment = std::forward<EnvironmentT>(value);
161 }
162 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
164 SetEnvironment(std::forward<EnvironmentT>(value));
165 return *this;
166 }
167 template <typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
168 DescribeProcessingJobResult& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
169 m_environmentHasBeenSet = true;
170 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
171 return *this;
172 }
174
176
179 inline const NetworkConfig& GetNetworkConfig() const { return m_networkConfig; }
180 template <typename NetworkConfigT = NetworkConfig>
181 void SetNetworkConfig(NetworkConfigT&& value) {
182 m_networkConfigHasBeenSet = true;
183 m_networkConfig = std::forward<NetworkConfigT>(value);
184 }
185 template <typename NetworkConfigT = NetworkConfig>
187 SetNetworkConfig(std::forward<NetworkConfigT>(value));
188 return *this;
189 }
191
193
197 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
198 template <typename RoleArnT = Aws::String>
199 void SetRoleArn(RoleArnT&& value) {
200 m_roleArnHasBeenSet = true;
201 m_roleArn = std::forward<RoleArnT>(value);
202 }
203 template <typename RoleArnT = Aws::String>
205 SetRoleArn(std::forward<RoleArnT>(value));
206 return *this;
207 }
209
211
214 inline const ExperimentConfig& GetExperimentConfig() const { return m_experimentConfig; }
215 template <typename ExperimentConfigT = ExperimentConfig>
216 void SetExperimentConfig(ExperimentConfigT&& value) {
217 m_experimentConfigHasBeenSet = true;
218 m_experimentConfig = std::forward<ExperimentConfigT>(value);
219 }
220 template <typename ExperimentConfigT = ExperimentConfig>
222 SetExperimentConfig(std::forward<ExperimentConfigT>(value));
223 return *this;
224 }
226
228
231 inline const Aws::String& GetProcessingJobArn() const { return m_processingJobArn; }
232 template <typename ProcessingJobArnT = Aws::String>
233 void SetProcessingJobArn(ProcessingJobArnT&& value) {
234 m_processingJobArnHasBeenSet = true;
235 m_processingJobArn = std::forward<ProcessingJobArnT>(value);
236 }
237 template <typename ProcessingJobArnT = Aws::String>
239 SetProcessingJobArn(std::forward<ProcessingJobArnT>(value));
240 return *this;
241 }
243
245
248 inline ProcessingJobStatus GetProcessingJobStatus() const { return m_processingJobStatus; }
250 m_processingJobStatusHasBeenSet = true;
251 m_processingJobStatus = value;
252 }
255 return *this;
256 }
258
260
264 inline const Aws::String& GetExitMessage() const { return m_exitMessage; }
265 template <typename ExitMessageT = Aws::String>
266 void SetExitMessage(ExitMessageT&& value) {
267 m_exitMessageHasBeenSet = true;
268 m_exitMessage = std::forward<ExitMessageT>(value);
269 }
270 template <typename ExitMessageT = Aws::String>
272 SetExitMessage(std::forward<ExitMessageT>(value));
273 return *this;
274 }
276
278
282 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
283 template <typename FailureReasonT = Aws::String>
284 void SetFailureReason(FailureReasonT&& value) {
285 m_failureReasonHasBeenSet = true;
286 m_failureReason = std::forward<FailureReasonT>(value);
287 }
288 template <typename FailureReasonT = Aws::String>
290 SetFailureReason(std::forward<FailureReasonT>(value));
291 return *this;
292 }
294
296
299 inline const Aws::Utils::DateTime& GetProcessingEndTime() const { return m_processingEndTime; }
300 template <typename ProcessingEndTimeT = Aws::Utils::DateTime>
301 void SetProcessingEndTime(ProcessingEndTimeT&& value) {
302 m_processingEndTimeHasBeenSet = true;
303 m_processingEndTime = std::forward<ProcessingEndTimeT>(value);
304 }
305 template <typename ProcessingEndTimeT = Aws::Utils::DateTime>
307 SetProcessingEndTime(std::forward<ProcessingEndTimeT>(value));
308 return *this;
309 }
311
313
316 inline const Aws::Utils::DateTime& GetProcessingStartTime() const { return m_processingStartTime; }
317 template <typename ProcessingStartTimeT = Aws::Utils::DateTime>
318 void SetProcessingStartTime(ProcessingStartTimeT&& value) {
319 m_processingStartTimeHasBeenSet = true;
320 m_processingStartTime = std::forward<ProcessingStartTimeT>(value);
321 }
322 template <typename ProcessingStartTimeT = Aws::Utils::DateTime>
324 SetProcessingStartTime(std::forward<ProcessingStartTimeT>(value));
325 return *this;
326 }
328
330
333 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
334 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
335 void SetLastModifiedTime(LastModifiedTimeT&& value) {
336 m_lastModifiedTimeHasBeenSet = true;
337 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
338 }
339 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
341 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
342 return *this;
343 }
345
347
350 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
351 template <typename CreationTimeT = Aws::Utils::DateTime>
352 void SetCreationTime(CreationTimeT&& value) {
353 m_creationTimeHasBeenSet = true;
354 m_creationTime = std::forward<CreationTimeT>(value);
355 }
356 template <typename CreationTimeT = Aws::Utils::DateTime>
358 SetCreationTime(std::forward<CreationTimeT>(value));
359 return *this;
360 }
362
364
368 inline const Aws::String& GetMonitoringScheduleArn() const { return m_monitoringScheduleArn; }
369 template <typename MonitoringScheduleArnT = Aws::String>
370 void SetMonitoringScheduleArn(MonitoringScheduleArnT&& value) {
371 m_monitoringScheduleArnHasBeenSet = true;
372 m_monitoringScheduleArn = std::forward<MonitoringScheduleArnT>(value);
373 }
374 template <typename MonitoringScheduleArnT = Aws::String>
376 SetMonitoringScheduleArn(std::forward<MonitoringScheduleArnT>(value));
377 return *this;
378 }
380
382
385 inline const Aws::String& GetAutoMLJobArn() const { return m_autoMLJobArn; }
386 template <typename AutoMLJobArnT = Aws::String>
387 void SetAutoMLJobArn(AutoMLJobArnT&& value) {
388 m_autoMLJobArnHasBeenSet = true;
389 m_autoMLJobArn = std::forward<AutoMLJobArnT>(value);
390 }
391 template <typename AutoMLJobArnT = Aws::String>
393 SetAutoMLJobArn(std::forward<AutoMLJobArnT>(value));
394 return *this;
395 }
397
399
402 inline const Aws::String& GetTrainingJobArn() const { return m_trainingJobArn; }
403 template <typename TrainingJobArnT = Aws::String>
404 void SetTrainingJobArn(TrainingJobArnT&& value) {
405 m_trainingJobArnHasBeenSet = true;
406 m_trainingJobArn = std::forward<TrainingJobArnT>(value);
407 }
408 template <typename TrainingJobArnT = Aws::String>
410 SetTrainingJobArn(std::forward<TrainingJobArnT>(value));
411 return *this;
412 }
414
416
417 inline const Aws::String& GetRequestId() const { return m_requestId; }
418 template <typename RequestIdT = Aws::String>
419 void SetRequestId(RequestIdT&& value) {
420 m_requestIdHasBeenSet = true;
421 m_requestId = std::forward<RequestIdT>(value);
422 }
423 template <typename RequestIdT = Aws::String>
425 SetRequestId(std::forward<RequestIdT>(value));
426 return *this;
427 }
429 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
430
431 private:
432 Aws::Vector<ProcessingInput> m_processingInputs;
433
434 ProcessingOutputConfig m_processingOutputConfig;
435
436 Aws::String m_processingJobName;
437
438 ProcessingResources m_processingResources;
439
440 ProcessingStoppingCondition m_stoppingCondition;
441
442 AppSpecification m_appSpecification;
443
445
446 NetworkConfig m_networkConfig;
447
448 Aws::String m_roleArn;
449
450 ExperimentConfig m_experimentConfig;
451
452 Aws::String m_processingJobArn;
453
455
456 Aws::String m_exitMessage;
457
458 Aws::String m_failureReason;
459
460 Aws::Utils::DateTime m_processingEndTime{};
461
462 Aws::Utils::DateTime m_processingStartTime{};
463
464 Aws::Utils::DateTime m_lastModifiedTime{};
465
466 Aws::Utils::DateTime m_creationTime{};
467
468 Aws::String m_monitoringScheduleArn;
469
470 Aws::String m_autoMLJobArn;
471
472 Aws::String m_trainingJobArn;
473
474 Aws::String m_requestId;
475 Aws::Http::HttpResponseCode m_HttpResponseCode;
476 bool m_processingInputsHasBeenSet = false;
477 bool m_processingOutputConfigHasBeenSet = false;
478 bool m_processingJobNameHasBeenSet = false;
479 bool m_processingResourcesHasBeenSet = false;
480 bool m_stoppingConditionHasBeenSet = false;
481 bool m_appSpecificationHasBeenSet = false;
482 bool m_environmentHasBeenSet = false;
483 bool m_networkConfigHasBeenSet = false;
484 bool m_roleArnHasBeenSet = false;
485 bool m_experimentConfigHasBeenSet = false;
486 bool m_processingJobArnHasBeenSet = false;
487 bool m_processingJobStatusHasBeenSet = false;
488 bool m_exitMessageHasBeenSet = false;
489 bool m_failureReasonHasBeenSet = false;
490 bool m_processingEndTimeHasBeenSet = false;
491 bool m_processingStartTimeHasBeenSet = false;
492 bool m_lastModifiedTimeHasBeenSet = false;
493 bool m_creationTimeHasBeenSet = false;
494 bool m_monitoringScheduleArnHasBeenSet = false;
495 bool m_autoMLJobArnHasBeenSet = false;
496 bool m_trainingJobArnHasBeenSet = false;
497 bool m_requestIdHasBeenSet = false;
498};
499
500} // namespace Model
501} // namespace SageMaker
502} // namespace Aws
DescribeProcessingJobResult & WithProcessingJobName(ProcessingJobNameT &&value)
DescribeProcessingJobResult & WithRequestId(RequestIdT &&value)
const ProcessingStoppingCondition & GetStoppingCondition() const
DescribeProcessingJobResult & WithFailureReason(FailureReasonT &&value)
DescribeProcessingJobResult & WithProcessingJobArn(ProcessingJobArnT &&value)
DescribeProcessingJobResult & WithExitMessage(ExitMessageT &&value)
DescribeProcessingJobResult & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
DescribeProcessingJobResult & WithEnvironment(EnvironmentT &&value)
DescribeProcessingJobResult & WithStoppingCondition(StoppingConditionT &&value)
DescribeProcessingJobResult & WithAutoMLJobArn(AutoMLJobArnT &&value)
AWS_SAGEMAKER_API DescribeProcessingJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProcessingOutputConfig(ProcessingOutputConfigT &&value)
DescribeProcessingJobResult & AddProcessingInputs(ProcessingInputsT &&value)
DescribeProcessingJobResult & WithTrainingJobArn(TrainingJobArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
AWS_SAGEMAKER_API DescribeProcessingJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProcessingJobResult & WithProcessingInputs(ProcessingInputsT &&value)
AWS_SAGEMAKER_API DescribeProcessingJobResult()=default
DescribeProcessingJobResult & WithExperimentConfig(ExperimentConfigT &&value)
DescribeProcessingJobResult & WithProcessingStartTime(ProcessingStartTimeT &&value)
DescribeProcessingJobResult & WithCreationTime(CreationTimeT &&value)
DescribeProcessingJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeProcessingJobResult & WithAppSpecification(AppSpecificationT &&value)
const Aws::Vector< ProcessingInput > & GetProcessingInputs() const
const ProcessingOutputConfig & GetProcessingOutputConfig() const
DescribeProcessingJobResult & WithMonitoringScheduleArn(MonitoringScheduleArnT &&value)
DescribeProcessingJobResult & WithProcessingEndTime(ProcessingEndTimeT &&value)
DescribeProcessingJobResult & WithRoleArn(RoleArnT &&value)
DescribeProcessingJobResult & WithNetworkConfig(NetworkConfigT &&value)
DescribeProcessingJobResult & WithProcessingJobStatus(ProcessingJobStatus value)
DescribeProcessingJobResult & WithProcessingOutputConfig(ProcessingOutputConfigT &&value)
DescribeProcessingJobResult & WithProcessingResources(ProcessingResourcesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue