AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeProcessingJobResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/AppSpecification.h>
13#include <aws/sagemaker/model/ExperimentConfig.h>
14#include <aws/sagemaker/model/NetworkConfig.h>
15#include <aws/sagemaker/model/ProcessingInput.h>
16#include <aws/sagemaker/model/ProcessingJobStatus.h>
17#include <aws/sagemaker/model/ProcessingOutputConfig.h>
18#include <aws/sagemaker/model/ProcessingResources.h>
19#include <aws/sagemaker/model/ProcessingStoppingCondition.h>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace SageMaker {
33namespace Model {
35 public:
36 AWS_SAGEMAKER_API DescribeProcessingJobResult() = default;
39
41
44 inline const Aws::Vector<ProcessingInput>& GetProcessingInputs() const { return m_processingInputs; }
45 template <typename ProcessingInputsT = Aws::Vector<ProcessingInput>>
46 void SetProcessingInputs(ProcessingInputsT&& value) {
47 m_processingInputsHasBeenSet = true;
48 m_processingInputs = std::forward<ProcessingInputsT>(value);
49 }
50 template <typename ProcessingInputsT = Aws::Vector<ProcessingInput>>
52 SetProcessingInputs(std::forward<ProcessingInputsT>(value));
53 return *this;
54 }
55 template <typename ProcessingInputsT = ProcessingInput>
57 m_processingInputsHasBeenSet = true;
58 m_processingInputs.emplace_back(std::forward<ProcessingInputsT>(value));
59 return *this;
60 }
62
64
67 inline const ProcessingOutputConfig& GetProcessingOutputConfig() const { return m_processingOutputConfig; }
68 template <typename ProcessingOutputConfigT = ProcessingOutputConfig>
69 void SetProcessingOutputConfig(ProcessingOutputConfigT&& value) {
70 m_processingOutputConfigHasBeenSet = true;
71 m_processingOutputConfig = std::forward<ProcessingOutputConfigT>(value);
72 }
73 template <typename ProcessingOutputConfigT = ProcessingOutputConfig>
74 DescribeProcessingJobResult& WithProcessingOutputConfig(ProcessingOutputConfigT&& value) {
75 SetProcessingOutputConfig(std::forward<ProcessingOutputConfigT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::String& GetProcessingJobName() const { return m_processingJobName; }
86 template <typename ProcessingJobNameT = Aws::String>
87 void SetProcessingJobName(ProcessingJobNameT&& value) {
88 m_processingJobNameHasBeenSet = true;
89 m_processingJobName = std::forward<ProcessingJobNameT>(value);
90 }
91 template <typename ProcessingJobNameT = Aws::String>
93 SetProcessingJobName(std::forward<ProcessingJobNameT>(value));
94 return *this;
95 }
97
99
104 inline const ProcessingResources& GetProcessingResources() const { return m_processingResources; }
105 template <typename ProcessingResourcesT = ProcessingResources>
106 void SetProcessingResources(ProcessingResourcesT&& value) {
107 m_processingResourcesHasBeenSet = true;
108 m_processingResources = std::forward<ProcessingResourcesT>(value);
109 }
110 template <typename ProcessingResourcesT = ProcessingResources>
112 SetProcessingResources(std::forward<ProcessingResourcesT>(value));
113 return *this;
114 }
116
118
121 inline const ProcessingStoppingCondition& GetStoppingCondition() const { return m_stoppingCondition; }
122 template <typename StoppingConditionT = ProcessingStoppingCondition>
123 void SetStoppingCondition(StoppingConditionT&& value) {
124 m_stoppingConditionHasBeenSet = true;
125 m_stoppingCondition = std::forward<StoppingConditionT>(value);
126 }
127 template <typename StoppingConditionT = ProcessingStoppingCondition>
129 SetStoppingCondition(std::forward<StoppingConditionT>(value));
130 return *this;
131 }
133
135
138 inline const AppSpecification& GetAppSpecification() const { return m_appSpecification; }
139 template <typename AppSpecificationT = AppSpecification>
140 void SetAppSpecification(AppSpecificationT&& value) {
141 m_appSpecificationHasBeenSet = true;
142 m_appSpecification = std::forward<AppSpecificationT>(value);
143 }
144 template <typename AppSpecificationT = AppSpecification>
146 SetAppSpecification(std::forward<AppSpecificationT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
156 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
157 void SetEnvironment(EnvironmentT&& value) {
158 m_environmentHasBeenSet = true;
159 m_environment = std::forward<EnvironmentT>(value);
160 }
161 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
163 SetEnvironment(std::forward<EnvironmentT>(value));
164 return *this;
165 }
166 template <typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
167 DescribeProcessingJobResult& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
168 m_environmentHasBeenSet = true;
169 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
170 return *this;
171 }
173
175
178 inline const NetworkConfig& GetNetworkConfig() const { return m_networkConfig; }
179 template <typename NetworkConfigT = NetworkConfig>
180 void SetNetworkConfig(NetworkConfigT&& value) {
181 m_networkConfigHasBeenSet = true;
182 m_networkConfig = std::forward<NetworkConfigT>(value);
183 }
184 template <typename NetworkConfigT = NetworkConfig>
186 SetNetworkConfig(std::forward<NetworkConfigT>(value));
187 return *this;
188 }
190
192
196 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
197 template <typename RoleArnT = Aws::String>
198 void SetRoleArn(RoleArnT&& value) {
199 m_roleArnHasBeenSet = true;
200 m_roleArn = std::forward<RoleArnT>(value);
201 }
202 template <typename RoleArnT = Aws::String>
204 SetRoleArn(std::forward<RoleArnT>(value));
205 return *this;
206 }
208
210
213 inline const ExperimentConfig& GetExperimentConfig() const { return m_experimentConfig; }
214 template <typename ExperimentConfigT = ExperimentConfig>
215 void SetExperimentConfig(ExperimentConfigT&& value) {
216 m_experimentConfigHasBeenSet = true;
217 m_experimentConfig = std::forward<ExperimentConfigT>(value);
218 }
219 template <typename ExperimentConfigT = ExperimentConfig>
221 SetExperimentConfig(std::forward<ExperimentConfigT>(value));
222 return *this;
223 }
225
227
230 inline const Aws::String& GetProcessingJobArn() const { return m_processingJobArn; }
231 template <typename ProcessingJobArnT = Aws::String>
232 void SetProcessingJobArn(ProcessingJobArnT&& value) {
233 m_processingJobArnHasBeenSet = true;
234 m_processingJobArn = std::forward<ProcessingJobArnT>(value);
235 }
236 template <typename ProcessingJobArnT = Aws::String>
238 SetProcessingJobArn(std::forward<ProcessingJobArnT>(value));
239 return *this;
240 }
242
244
247 inline ProcessingJobStatus GetProcessingJobStatus() const { return m_processingJobStatus; }
249 m_processingJobStatusHasBeenSet = true;
250 m_processingJobStatus = value;
251 }
254 return *this;
255 }
257
259
263 inline const Aws::String& GetExitMessage() const { return m_exitMessage; }
264 template <typename ExitMessageT = Aws::String>
265 void SetExitMessage(ExitMessageT&& value) {
266 m_exitMessageHasBeenSet = true;
267 m_exitMessage = std::forward<ExitMessageT>(value);
268 }
269 template <typename ExitMessageT = Aws::String>
271 SetExitMessage(std::forward<ExitMessageT>(value));
272 return *this;
273 }
275
277
281 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
282 template <typename FailureReasonT = Aws::String>
283 void SetFailureReason(FailureReasonT&& value) {
284 m_failureReasonHasBeenSet = true;
285 m_failureReason = std::forward<FailureReasonT>(value);
286 }
287 template <typename FailureReasonT = Aws::String>
289 SetFailureReason(std::forward<FailureReasonT>(value));
290 return *this;
291 }
293
295
298 inline const Aws::Utils::DateTime& GetProcessingEndTime() const { return m_processingEndTime; }
299 template <typename ProcessingEndTimeT = Aws::Utils::DateTime>
300 void SetProcessingEndTime(ProcessingEndTimeT&& value) {
301 m_processingEndTimeHasBeenSet = true;
302 m_processingEndTime = std::forward<ProcessingEndTimeT>(value);
303 }
304 template <typename ProcessingEndTimeT = Aws::Utils::DateTime>
306 SetProcessingEndTime(std::forward<ProcessingEndTimeT>(value));
307 return *this;
308 }
310
312
315 inline const Aws::Utils::DateTime& GetProcessingStartTime() const { return m_processingStartTime; }
316 template <typename ProcessingStartTimeT = Aws::Utils::DateTime>
317 void SetProcessingStartTime(ProcessingStartTimeT&& value) {
318 m_processingStartTimeHasBeenSet = true;
319 m_processingStartTime = std::forward<ProcessingStartTimeT>(value);
320 }
321 template <typename ProcessingStartTimeT = Aws::Utils::DateTime>
323 SetProcessingStartTime(std::forward<ProcessingStartTimeT>(value));
324 return *this;
325 }
327
329
332 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
333 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
334 void SetLastModifiedTime(LastModifiedTimeT&& value) {
335 m_lastModifiedTimeHasBeenSet = true;
336 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
337 }
338 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
340 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
341 return *this;
342 }
344
346
349 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
350 template <typename CreationTimeT = Aws::Utils::DateTime>
351 void SetCreationTime(CreationTimeT&& value) {
352 m_creationTimeHasBeenSet = true;
353 m_creationTime = std::forward<CreationTimeT>(value);
354 }
355 template <typename CreationTimeT = Aws::Utils::DateTime>
357 SetCreationTime(std::forward<CreationTimeT>(value));
358 return *this;
359 }
361
363
367 inline const Aws::String& GetMonitoringScheduleArn() const { return m_monitoringScheduleArn; }
368 template <typename MonitoringScheduleArnT = Aws::String>
369 void SetMonitoringScheduleArn(MonitoringScheduleArnT&& value) {
370 m_monitoringScheduleArnHasBeenSet = true;
371 m_monitoringScheduleArn = std::forward<MonitoringScheduleArnT>(value);
372 }
373 template <typename MonitoringScheduleArnT = Aws::String>
375 SetMonitoringScheduleArn(std::forward<MonitoringScheduleArnT>(value));
376 return *this;
377 }
379
381
384 inline const Aws::String& GetAutoMLJobArn() const { return m_autoMLJobArn; }
385 template <typename AutoMLJobArnT = Aws::String>
386 void SetAutoMLJobArn(AutoMLJobArnT&& value) {
387 m_autoMLJobArnHasBeenSet = true;
388 m_autoMLJobArn = std::forward<AutoMLJobArnT>(value);
389 }
390 template <typename AutoMLJobArnT = Aws::String>
392 SetAutoMLJobArn(std::forward<AutoMLJobArnT>(value));
393 return *this;
394 }
396
398
401 inline const Aws::String& GetTrainingJobArn() const { return m_trainingJobArn; }
402 template <typename TrainingJobArnT = Aws::String>
403 void SetTrainingJobArn(TrainingJobArnT&& value) {
404 m_trainingJobArnHasBeenSet = true;
405 m_trainingJobArn = std::forward<TrainingJobArnT>(value);
406 }
407 template <typename TrainingJobArnT = Aws::String>
409 SetTrainingJobArn(std::forward<TrainingJobArnT>(value));
410 return *this;
411 }
413
415
416 inline const Aws::String& GetRequestId() const { return m_requestId; }
417 template <typename RequestIdT = Aws::String>
418 void SetRequestId(RequestIdT&& value) {
419 m_requestIdHasBeenSet = true;
420 m_requestId = std::forward<RequestIdT>(value);
421 }
422 template <typename RequestIdT = Aws::String>
424 SetRequestId(std::forward<RequestIdT>(value));
425 return *this;
426 }
428 private:
429 Aws::Vector<ProcessingInput> m_processingInputs;
430
431 ProcessingOutputConfig m_processingOutputConfig;
432
433 Aws::String m_processingJobName;
434
435 ProcessingResources m_processingResources;
436
437 ProcessingStoppingCondition m_stoppingCondition;
438
439 AppSpecification m_appSpecification;
440
442
443 NetworkConfig m_networkConfig;
444
445 Aws::String m_roleArn;
446
447 ExperimentConfig m_experimentConfig;
448
449 Aws::String m_processingJobArn;
450
452
453 Aws::String m_exitMessage;
454
455 Aws::String m_failureReason;
456
457 Aws::Utils::DateTime m_processingEndTime{};
458
459 Aws::Utils::DateTime m_processingStartTime{};
460
461 Aws::Utils::DateTime m_lastModifiedTime{};
462
463 Aws::Utils::DateTime m_creationTime{};
464
465 Aws::String m_monitoringScheduleArn;
466
467 Aws::String m_autoMLJobArn;
468
469 Aws::String m_trainingJobArn;
470
471 Aws::String m_requestId;
472 bool m_processingInputsHasBeenSet = false;
473 bool m_processingOutputConfigHasBeenSet = false;
474 bool m_processingJobNameHasBeenSet = false;
475 bool m_processingResourcesHasBeenSet = false;
476 bool m_stoppingConditionHasBeenSet = false;
477 bool m_appSpecificationHasBeenSet = false;
478 bool m_environmentHasBeenSet = false;
479 bool m_networkConfigHasBeenSet = false;
480 bool m_roleArnHasBeenSet = false;
481 bool m_experimentConfigHasBeenSet = false;
482 bool m_processingJobArnHasBeenSet = false;
483 bool m_processingJobStatusHasBeenSet = false;
484 bool m_exitMessageHasBeenSet = false;
485 bool m_failureReasonHasBeenSet = false;
486 bool m_processingEndTimeHasBeenSet = false;
487 bool m_processingStartTimeHasBeenSet = false;
488 bool m_lastModifiedTimeHasBeenSet = false;
489 bool m_creationTimeHasBeenSet = false;
490 bool m_monitoringScheduleArnHasBeenSet = false;
491 bool m_autoMLJobArnHasBeenSet = false;
492 bool m_trainingJobArnHasBeenSet = false;
493 bool m_requestIdHasBeenSet = false;
494};
495
496} // namespace Model
497} // namespace SageMaker
498} // 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