AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
DescribeCompilationJobResult.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/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/CompilationJobStatus.h>
12#include <aws/sagemaker/model/DerivedInformation.h>
13#include <aws/sagemaker/model/InputConfig.h>
14#include <aws/sagemaker/model/ModelArtifacts.h>
15#include <aws/sagemaker/model/ModelDigests.h>
16#include <aws/sagemaker/model/NeoVpcConfig.h>
17#include <aws/sagemaker/model/OutputConfig.h>
18#include <aws/sagemaker/model/StoppingCondition.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace SageMaker {
32namespace Model {
34 public:
35 AWS_SAGEMAKER_API DescribeCompilationJobResult() = default;
38
40
43 inline const Aws::String& GetCompilationJobName() const { return m_compilationJobName; }
44 template <typename CompilationJobNameT = Aws::String>
45 void SetCompilationJobName(CompilationJobNameT&& value) {
46 m_compilationJobNameHasBeenSet = true;
47 m_compilationJobName = std::forward<CompilationJobNameT>(value);
48 }
49 template <typename CompilationJobNameT = Aws::String>
51 SetCompilationJobName(std::forward<CompilationJobNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetCompilationJobArn() const { return m_compilationJobArn; }
61 template <typename CompilationJobArnT = Aws::String>
62 void SetCompilationJobArn(CompilationJobArnT&& value) {
63 m_compilationJobArnHasBeenSet = true;
64 m_compilationJobArn = std::forward<CompilationJobArnT>(value);
65 }
66 template <typename CompilationJobArnT = Aws::String>
68 SetCompilationJobArn(std::forward<CompilationJobArnT>(value));
69 return *this;
70 }
72
74
77 inline CompilationJobStatus GetCompilationJobStatus() const { return m_compilationJobStatus; }
79 m_compilationJobStatusHasBeenSet = true;
80 m_compilationJobStatus = value;
81 }
84 return *this;
85 }
87
89
97 inline const Aws::Utils::DateTime& GetCompilationStartTime() const { return m_compilationStartTime; }
98 template <typename CompilationStartTimeT = Aws::Utils::DateTime>
99 void SetCompilationStartTime(CompilationStartTimeT&& value) {
100 m_compilationStartTimeHasBeenSet = true;
101 m_compilationStartTime = std::forward<CompilationStartTimeT>(value);
102 }
103 template <typename CompilationStartTimeT = Aws::Utils::DateTime>
105 SetCompilationStartTime(std::forward<CompilationStartTimeT>(value));
106 return *this;
107 }
109
111
117 inline const Aws::Utils::DateTime& GetCompilationEndTime() const { return m_compilationEndTime; }
118 template <typename CompilationEndTimeT = Aws::Utils::DateTime>
119 void SetCompilationEndTime(CompilationEndTimeT&& value) {
120 m_compilationEndTimeHasBeenSet = true;
121 m_compilationEndTime = std::forward<CompilationEndTimeT>(value);
122 }
123 template <typename CompilationEndTimeT = Aws::Utils::DateTime>
125 SetCompilationEndTime(std::forward<CompilationEndTimeT>(value));
126 return *this;
127 }
129
131
136 inline const StoppingCondition& GetStoppingCondition() const { return m_stoppingCondition; }
137 template <typename StoppingConditionT = StoppingCondition>
138 void SetStoppingCondition(StoppingConditionT&& value) {
139 m_stoppingConditionHasBeenSet = true;
140 m_stoppingCondition = std::forward<StoppingConditionT>(value);
141 }
142 template <typename StoppingConditionT = StoppingCondition>
144 SetStoppingCondition(std::forward<StoppingConditionT>(value));
145 return *this;
146 }
148
150
154 inline const Aws::String& GetInferenceImage() const { return m_inferenceImage; }
155 template <typename InferenceImageT = Aws::String>
156 void SetInferenceImage(InferenceImageT&& value) {
157 m_inferenceImageHasBeenSet = true;
158 m_inferenceImage = std::forward<InferenceImageT>(value);
159 }
160 template <typename InferenceImageT = Aws::String>
162 SetInferenceImage(std::forward<InferenceImageT>(value));
163 return *this;
164 }
166
168
172 inline const Aws::String& GetModelPackageVersionArn() const { return m_modelPackageVersionArn; }
173 template <typename ModelPackageVersionArnT = Aws::String>
174 void SetModelPackageVersionArn(ModelPackageVersionArnT&& value) {
175 m_modelPackageVersionArnHasBeenSet = true;
176 m_modelPackageVersionArn = std::forward<ModelPackageVersionArnT>(value);
177 }
178 template <typename ModelPackageVersionArnT = Aws::String>
180 SetModelPackageVersionArn(std::forward<ModelPackageVersionArnT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
190 template <typename CreationTimeT = Aws::Utils::DateTime>
191 void SetCreationTime(CreationTimeT&& value) {
192 m_creationTimeHasBeenSet = true;
193 m_creationTime = std::forward<CreationTimeT>(value);
194 }
195 template <typename CreationTimeT = Aws::Utils::DateTime>
197 SetCreationTime(std::forward<CreationTimeT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
207 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
208 void SetLastModifiedTime(LastModifiedTimeT&& value) {
209 m_lastModifiedTimeHasBeenSet = true;
210 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
211 }
212 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
214 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
224 template <typename FailureReasonT = Aws::String>
225 void SetFailureReason(FailureReasonT&& value) {
226 m_failureReasonHasBeenSet = true;
227 m_failureReason = std::forward<FailureReasonT>(value);
228 }
229 template <typename FailureReasonT = Aws::String>
231 SetFailureReason(std::forward<FailureReasonT>(value));
232 return *this;
233 }
235
237
241 inline const ModelArtifacts& GetModelArtifacts() const { return m_modelArtifacts; }
242 template <typename ModelArtifactsT = ModelArtifacts>
243 void SetModelArtifacts(ModelArtifactsT&& value) {
244 m_modelArtifactsHasBeenSet = true;
245 m_modelArtifacts = std::forward<ModelArtifactsT>(value);
246 }
247 template <typename ModelArtifactsT = ModelArtifacts>
249 SetModelArtifacts(std::forward<ModelArtifactsT>(value));
250 return *this;
251 }
253
255
259 inline const ModelDigests& GetModelDigests() const { return m_modelDigests; }
260 template <typename ModelDigestsT = ModelDigests>
261 void SetModelDigests(ModelDigestsT&& value) {
262 m_modelDigestsHasBeenSet = true;
263 m_modelDigests = std::forward<ModelDigestsT>(value);
264 }
265 template <typename ModelDigestsT = ModelDigests>
267 SetModelDigests(std::forward<ModelDigestsT>(value));
268 return *this;
269 }
271
273
277 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
278 template <typename RoleArnT = Aws::String>
279 void SetRoleArn(RoleArnT&& value) {
280 m_roleArnHasBeenSet = true;
281 m_roleArn = std::forward<RoleArnT>(value);
282 }
283 template <typename RoleArnT = Aws::String>
285 SetRoleArn(std::forward<RoleArnT>(value));
286 return *this;
287 }
289
291
296 inline const InputConfig& GetInputConfig() const { return m_inputConfig; }
297 template <typename InputConfigT = InputConfig>
298 void SetInputConfig(InputConfigT&& value) {
299 m_inputConfigHasBeenSet = true;
300 m_inputConfig = std::forward<InputConfigT>(value);
301 }
302 template <typename InputConfigT = InputConfig>
304 SetInputConfig(std::forward<InputConfigT>(value));
305 return *this;
306 }
308
310
314 inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; }
315 template <typename OutputConfigT = OutputConfig>
316 void SetOutputConfig(OutputConfigT&& value) {
317 m_outputConfigHasBeenSet = true;
318 m_outputConfig = std::forward<OutputConfigT>(value);
319 }
320 template <typename OutputConfigT = OutputConfig>
322 SetOutputConfig(std::forward<OutputConfigT>(value));
323 return *this;
324 }
326
328
336 inline const NeoVpcConfig& GetVpcConfig() const { return m_vpcConfig; }
337 template <typename VpcConfigT = NeoVpcConfig>
338 void SetVpcConfig(VpcConfigT&& value) {
339 m_vpcConfigHasBeenSet = true;
340 m_vpcConfig = std::forward<VpcConfigT>(value);
341 }
342 template <typename VpcConfigT = NeoVpcConfig>
344 SetVpcConfig(std::forward<VpcConfigT>(value));
345 return *this;
346 }
348
350
353 inline const DerivedInformation& GetDerivedInformation() const { return m_derivedInformation; }
354 template <typename DerivedInformationT = DerivedInformation>
355 void SetDerivedInformation(DerivedInformationT&& value) {
356 m_derivedInformationHasBeenSet = true;
357 m_derivedInformation = std::forward<DerivedInformationT>(value);
358 }
359 template <typename DerivedInformationT = DerivedInformation>
361 SetDerivedInformation(std::forward<DerivedInformationT>(value));
362 return *this;
363 }
365
367
368 inline const Aws::String& GetRequestId() const { return m_requestId; }
369 template <typename RequestIdT = Aws::String>
370 void SetRequestId(RequestIdT&& value) {
371 m_requestIdHasBeenSet = true;
372 m_requestId = std::forward<RequestIdT>(value);
373 }
374 template <typename RequestIdT = Aws::String>
376 SetRequestId(std::forward<RequestIdT>(value));
377 return *this;
378 }
380 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
381
382 private:
383 Aws::String m_compilationJobName;
384
385 Aws::String m_compilationJobArn;
386
388
389 Aws::Utils::DateTime m_compilationStartTime{};
390
391 Aws::Utils::DateTime m_compilationEndTime{};
392
393 StoppingCondition m_stoppingCondition;
394
395 Aws::String m_inferenceImage;
396
397 Aws::String m_modelPackageVersionArn;
398
399 Aws::Utils::DateTime m_creationTime{};
400
401 Aws::Utils::DateTime m_lastModifiedTime{};
402
403 Aws::String m_failureReason;
404
405 ModelArtifacts m_modelArtifacts;
406
407 ModelDigests m_modelDigests;
408
409 Aws::String m_roleArn;
410
411 InputConfig m_inputConfig;
412
413 OutputConfig m_outputConfig;
414
415 NeoVpcConfig m_vpcConfig;
416
417 DerivedInformation m_derivedInformation;
418
419 Aws::String m_requestId;
420 Aws::Http::HttpResponseCode m_HttpResponseCode;
421 bool m_compilationJobNameHasBeenSet = false;
422 bool m_compilationJobArnHasBeenSet = false;
423 bool m_compilationJobStatusHasBeenSet = false;
424 bool m_compilationStartTimeHasBeenSet = false;
425 bool m_compilationEndTimeHasBeenSet = false;
426 bool m_stoppingConditionHasBeenSet = false;
427 bool m_inferenceImageHasBeenSet = false;
428 bool m_modelPackageVersionArnHasBeenSet = false;
429 bool m_creationTimeHasBeenSet = false;
430 bool m_lastModifiedTimeHasBeenSet = false;
431 bool m_failureReasonHasBeenSet = false;
432 bool m_modelArtifactsHasBeenSet = false;
433 bool m_modelDigestsHasBeenSet = false;
434 bool m_roleArnHasBeenSet = false;
435 bool m_inputConfigHasBeenSet = false;
436 bool m_outputConfigHasBeenSet = false;
437 bool m_vpcConfigHasBeenSet = false;
438 bool m_derivedInformationHasBeenSet = false;
439 bool m_requestIdHasBeenSet = false;
440};
441
442} // namespace Model
443} // namespace SageMaker
444} // namespace Aws
DescribeCompilationJobResult & WithCompilationJobArn(CompilationJobArnT &&value)
DescribeCompilationJobResult & WithOutputConfig(OutputConfigT &&value)
DescribeCompilationJobResult & WithCompilationJobStatus(CompilationJobStatus value)
DescribeCompilationJobResult & WithRoleArn(RoleArnT &&value)
DescribeCompilationJobResult & WithDerivedInformation(DerivedInformationT &&value)
DescribeCompilationJobResult & WithCompilationEndTime(CompilationEndTimeT &&value)
DescribeCompilationJobResult & WithCompilationJobName(CompilationJobNameT &&value)
DescribeCompilationJobResult & WithModelDigests(ModelDigestsT &&value)
DescribeCompilationJobResult & WithStoppingCondition(StoppingConditionT &&value)
DescribeCompilationJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeCompilationJobResult & WithCompilationStartTime(CompilationStartTimeT &&value)
DescribeCompilationJobResult & WithCreationTime(CreationTimeT &&value)
DescribeCompilationJobResult & WithFailureReason(FailureReasonT &&value)
DescribeCompilationJobResult & WithInferenceImage(InferenceImageT &&value)
AWS_SAGEMAKER_API DescribeCompilationJobResult()=default
DescribeCompilationJobResult & WithModelPackageVersionArn(ModelPackageVersionArnT &&value)
DescribeCompilationJobResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API DescribeCompilationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCompilationJobResult & WithModelArtifacts(ModelArtifactsT &&value)
AWS_SAGEMAKER_API DescribeCompilationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCompilationJobResult & WithVpcConfig(VpcConfigT &&value)
DescribeCompilationJobResult & WithInputConfig(InputConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue