AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeProcessingJobResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/ProcessingOutputConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/ProcessingResources.h>
12#include <aws/sagemaker/model/ProcessingStoppingCondition.h>
13#include <aws/sagemaker/model/AppSpecification.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/sagemaker/model/NetworkConfig.h>
16#include <aws/sagemaker/model/ExperimentConfig.h>
17#include <aws/sagemaker/model/ProcessingJobStatus.h>
18#include <aws/core/utils/DateTime.h>
19#include <aws/sagemaker/model/ProcessingInput.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace SageMaker
35{
36namespace Model
37{
39 {
40 public:
41 AWS_SAGEMAKER_API DescribeProcessingJobResult() = default;
44
45
47
50 inline const Aws::Vector<ProcessingInput>& GetProcessingInputs() const { return m_processingInputs; }
51 template<typename ProcessingInputsT = Aws::Vector<ProcessingInput>>
52 void SetProcessingInputs(ProcessingInputsT&& value) { m_processingInputsHasBeenSet = true; m_processingInputs = std::forward<ProcessingInputsT>(value); }
53 template<typename ProcessingInputsT = Aws::Vector<ProcessingInput>>
54 DescribeProcessingJobResult& WithProcessingInputs(ProcessingInputsT&& value) { SetProcessingInputs(std::forward<ProcessingInputsT>(value)); return *this;}
55 template<typename ProcessingInputsT = ProcessingInput>
56 DescribeProcessingJobResult& AddProcessingInputs(ProcessingInputsT&& value) { m_processingInputsHasBeenSet = true; m_processingInputs.emplace_back(std::forward<ProcessingInputsT>(value)); return *this; }
58
60
63 inline const ProcessingOutputConfig& GetProcessingOutputConfig() const { return m_processingOutputConfig; }
64 template<typename ProcessingOutputConfigT = ProcessingOutputConfig>
65 void SetProcessingOutputConfig(ProcessingOutputConfigT&& value) { m_processingOutputConfigHasBeenSet = true; m_processingOutputConfig = std::forward<ProcessingOutputConfigT>(value); }
66 template<typename ProcessingOutputConfigT = ProcessingOutputConfig>
67 DescribeProcessingJobResult& WithProcessingOutputConfig(ProcessingOutputConfigT&& value) { SetProcessingOutputConfig(std::forward<ProcessingOutputConfigT>(value)); return *this;}
69
71
75 inline const Aws::String& GetProcessingJobName() const { return m_processingJobName; }
76 template<typename ProcessingJobNameT = Aws::String>
77 void SetProcessingJobName(ProcessingJobNameT&& value) { m_processingJobNameHasBeenSet = true; m_processingJobName = std::forward<ProcessingJobNameT>(value); }
78 template<typename ProcessingJobNameT = Aws::String>
79 DescribeProcessingJobResult& WithProcessingJobName(ProcessingJobNameT&& value) { SetProcessingJobName(std::forward<ProcessingJobNameT>(value)); return *this;}
81
83
88 inline const ProcessingResources& GetProcessingResources() const { return m_processingResources; }
89 template<typename ProcessingResourcesT = ProcessingResources>
90 void SetProcessingResources(ProcessingResourcesT&& value) { m_processingResourcesHasBeenSet = true; m_processingResources = std::forward<ProcessingResourcesT>(value); }
91 template<typename ProcessingResourcesT = ProcessingResources>
92 DescribeProcessingJobResult& WithProcessingResources(ProcessingResourcesT&& value) { SetProcessingResources(std::forward<ProcessingResourcesT>(value)); return *this;}
94
96
99 inline const ProcessingStoppingCondition& GetStoppingCondition() const { return m_stoppingCondition; }
100 template<typename StoppingConditionT = ProcessingStoppingCondition>
101 void SetStoppingCondition(StoppingConditionT&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::forward<StoppingConditionT>(value); }
102 template<typename StoppingConditionT = ProcessingStoppingCondition>
103 DescribeProcessingJobResult& WithStoppingCondition(StoppingConditionT&& value) { SetStoppingCondition(std::forward<StoppingConditionT>(value)); return *this;}
105
107
110 inline const AppSpecification& GetAppSpecification() const { return m_appSpecification; }
111 template<typename AppSpecificationT = AppSpecification>
112 void SetAppSpecification(AppSpecificationT&& value) { m_appSpecificationHasBeenSet = true; m_appSpecification = std::forward<AppSpecificationT>(value); }
113 template<typename AppSpecificationT = AppSpecification>
114 DescribeProcessingJobResult& WithAppSpecification(AppSpecificationT&& value) { SetAppSpecification(std::forward<AppSpecificationT>(value)); return *this;}
116
118
121 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
122 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
123 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
124 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
125 DescribeProcessingJobResult& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
126 template<typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
127 DescribeProcessingJobResult& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
128 m_environmentHasBeenSet = true; m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value)); return *this;
129 }
131
133
136 inline const NetworkConfig& GetNetworkConfig() const { return m_networkConfig; }
137 template<typename NetworkConfigT = NetworkConfig>
138 void SetNetworkConfig(NetworkConfigT&& value) { m_networkConfigHasBeenSet = true; m_networkConfig = std::forward<NetworkConfigT>(value); }
139 template<typename NetworkConfigT = NetworkConfig>
140 DescribeProcessingJobResult& WithNetworkConfig(NetworkConfigT&& value) { SetNetworkConfig(std::forward<NetworkConfigT>(value)); return *this;}
142
144
148 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
149 template<typename RoleArnT = Aws::String>
150 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
151 template<typename RoleArnT = Aws::String>
152 DescribeProcessingJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
154
156
159 inline const ExperimentConfig& GetExperimentConfig() const { return m_experimentConfig; }
160 template<typename ExperimentConfigT = ExperimentConfig>
161 void SetExperimentConfig(ExperimentConfigT&& value) { m_experimentConfigHasBeenSet = true; m_experimentConfig = std::forward<ExperimentConfigT>(value); }
162 template<typename ExperimentConfigT = ExperimentConfig>
163 DescribeProcessingJobResult& WithExperimentConfig(ExperimentConfigT&& value) { SetExperimentConfig(std::forward<ExperimentConfigT>(value)); return *this;}
165
167
170 inline const Aws::String& GetProcessingJobArn() const { return m_processingJobArn; }
171 template<typename ProcessingJobArnT = Aws::String>
172 void SetProcessingJobArn(ProcessingJobArnT&& value) { m_processingJobArnHasBeenSet = true; m_processingJobArn = std::forward<ProcessingJobArnT>(value); }
173 template<typename ProcessingJobArnT = Aws::String>
174 DescribeProcessingJobResult& WithProcessingJobArn(ProcessingJobArnT&& value) { SetProcessingJobArn(std::forward<ProcessingJobArnT>(value)); return *this;}
176
178
181 inline ProcessingJobStatus GetProcessingJobStatus() const { return m_processingJobStatus; }
182 inline void SetProcessingJobStatus(ProcessingJobStatus value) { m_processingJobStatusHasBeenSet = true; m_processingJobStatus = value; }
185
187
191 inline const Aws::String& GetExitMessage() const { return m_exitMessage; }
192 template<typename ExitMessageT = Aws::String>
193 void SetExitMessage(ExitMessageT&& value) { m_exitMessageHasBeenSet = true; m_exitMessage = std::forward<ExitMessageT>(value); }
194 template<typename ExitMessageT = Aws::String>
195 DescribeProcessingJobResult& WithExitMessage(ExitMessageT&& value) { SetExitMessage(std::forward<ExitMessageT>(value)); return *this;}
197
199
203 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
204 template<typename FailureReasonT = Aws::String>
205 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
206 template<typename FailureReasonT = Aws::String>
207 DescribeProcessingJobResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
209
211
214 inline const Aws::Utils::DateTime& GetProcessingEndTime() const { return m_processingEndTime; }
215 template<typename ProcessingEndTimeT = Aws::Utils::DateTime>
216 void SetProcessingEndTime(ProcessingEndTimeT&& value) { m_processingEndTimeHasBeenSet = true; m_processingEndTime = std::forward<ProcessingEndTimeT>(value); }
217 template<typename ProcessingEndTimeT = Aws::Utils::DateTime>
218 DescribeProcessingJobResult& WithProcessingEndTime(ProcessingEndTimeT&& value) { SetProcessingEndTime(std::forward<ProcessingEndTimeT>(value)); return *this;}
220
222
225 inline const Aws::Utils::DateTime& GetProcessingStartTime() const { return m_processingStartTime; }
226 template<typename ProcessingStartTimeT = Aws::Utils::DateTime>
227 void SetProcessingStartTime(ProcessingStartTimeT&& value) { m_processingStartTimeHasBeenSet = true; m_processingStartTime = std::forward<ProcessingStartTimeT>(value); }
228 template<typename ProcessingStartTimeT = Aws::Utils::DateTime>
229 DescribeProcessingJobResult& WithProcessingStartTime(ProcessingStartTimeT&& value) { SetProcessingStartTime(std::forward<ProcessingStartTimeT>(value)); return *this;}
231
233
236 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
237 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
238 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
239 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
240 DescribeProcessingJobResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
242
244
247 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
248 template<typename CreationTimeT = Aws::Utils::DateTime>
249 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
250 template<typename CreationTimeT = Aws::Utils::DateTime>
251 DescribeProcessingJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
253
255
259 inline const Aws::String& GetMonitoringScheduleArn() const { return m_monitoringScheduleArn; }
260 template<typename MonitoringScheduleArnT = Aws::String>
261 void SetMonitoringScheduleArn(MonitoringScheduleArnT&& value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn = std::forward<MonitoringScheduleArnT>(value); }
262 template<typename MonitoringScheduleArnT = Aws::String>
263 DescribeProcessingJobResult& WithMonitoringScheduleArn(MonitoringScheduleArnT&& value) { SetMonitoringScheduleArn(std::forward<MonitoringScheduleArnT>(value)); return *this;}
265
267
270 inline const Aws::String& GetAutoMLJobArn() const { return m_autoMLJobArn; }
271 template<typename AutoMLJobArnT = Aws::String>
272 void SetAutoMLJobArn(AutoMLJobArnT&& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = std::forward<AutoMLJobArnT>(value); }
273 template<typename AutoMLJobArnT = Aws::String>
274 DescribeProcessingJobResult& WithAutoMLJobArn(AutoMLJobArnT&& value) { SetAutoMLJobArn(std::forward<AutoMLJobArnT>(value)); return *this;}
276
278
281 inline const Aws::String& GetTrainingJobArn() const { return m_trainingJobArn; }
282 template<typename TrainingJobArnT = Aws::String>
283 void SetTrainingJobArn(TrainingJobArnT&& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = std::forward<TrainingJobArnT>(value); }
284 template<typename TrainingJobArnT = Aws::String>
285 DescribeProcessingJobResult& WithTrainingJobArn(TrainingJobArnT&& value) { SetTrainingJobArn(std::forward<TrainingJobArnT>(value)); return *this;}
287
289
290 inline const Aws::String& GetRequestId() const { return m_requestId; }
291 template<typename RequestIdT = Aws::String>
292 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
293 template<typename RequestIdT = Aws::String>
294 DescribeProcessingJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
296 private:
297
298 Aws::Vector<ProcessingInput> m_processingInputs;
299 bool m_processingInputsHasBeenSet = false;
300
301 ProcessingOutputConfig m_processingOutputConfig;
302 bool m_processingOutputConfigHasBeenSet = false;
303
304 Aws::String m_processingJobName;
305 bool m_processingJobNameHasBeenSet = false;
306
307 ProcessingResources m_processingResources;
308 bool m_processingResourcesHasBeenSet = false;
309
310 ProcessingStoppingCondition m_stoppingCondition;
311 bool m_stoppingConditionHasBeenSet = false;
312
313 AppSpecification m_appSpecification;
314 bool m_appSpecificationHasBeenSet = false;
315
317 bool m_environmentHasBeenSet = false;
318
319 NetworkConfig m_networkConfig;
320 bool m_networkConfigHasBeenSet = false;
321
322 Aws::String m_roleArn;
323 bool m_roleArnHasBeenSet = false;
324
325 ExperimentConfig m_experimentConfig;
326 bool m_experimentConfigHasBeenSet = false;
327
328 Aws::String m_processingJobArn;
329 bool m_processingJobArnHasBeenSet = false;
330
332 bool m_processingJobStatusHasBeenSet = false;
333
334 Aws::String m_exitMessage;
335 bool m_exitMessageHasBeenSet = false;
336
337 Aws::String m_failureReason;
338 bool m_failureReasonHasBeenSet = false;
339
340 Aws::Utils::DateTime m_processingEndTime{};
341 bool m_processingEndTimeHasBeenSet = false;
342
343 Aws::Utils::DateTime m_processingStartTime{};
344 bool m_processingStartTimeHasBeenSet = false;
345
346 Aws::Utils::DateTime m_lastModifiedTime{};
347 bool m_lastModifiedTimeHasBeenSet = false;
348
349 Aws::Utils::DateTime m_creationTime{};
350 bool m_creationTimeHasBeenSet = false;
351
352 Aws::String m_monitoringScheduleArn;
353 bool m_monitoringScheduleArnHasBeenSet = false;
354
355 Aws::String m_autoMLJobArn;
356 bool m_autoMLJobArnHasBeenSet = false;
357
358 Aws::String m_trainingJobArn;
359 bool m_trainingJobArnHasBeenSet = false;
360
361 Aws::String m_requestId;
362 bool m_requestIdHasBeenSet = false;
363 };
364
365} // namespace Model
366} // namespace SageMaker
367} // 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