AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeCompilationJobResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/CompilationJobStatus.h>
11#include <aws/sagemaker/model/DerivedInformation.h>
12#include <aws/sagemaker/model/InputConfig.h>
13#include <aws/sagemaker/model/ModelArtifacts.h>
14#include <aws/sagemaker/model/ModelDigests.h>
15#include <aws/sagemaker/model/NeoVpcConfig.h>
16#include <aws/sagemaker/model/OutputConfig.h>
17#include <aws/sagemaker/model/StoppingCondition.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace SageMaker {
31namespace Model {
33 public:
34 AWS_SAGEMAKER_API DescribeCompilationJobResult() = default;
37
39
42 inline const Aws::String& GetCompilationJobName() const { return m_compilationJobName; }
43 template <typename CompilationJobNameT = Aws::String>
44 void SetCompilationJobName(CompilationJobNameT&& value) {
45 m_compilationJobNameHasBeenSet = true;
46 m_compilationJobName = std::forward<CompilationJobNameT>(value);
47 }
48 template <typename CompilationJobNameT = Aws::String>
50 SetCompilationJobName(std::forward<CompilationJobNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCompilationJobArn() const { return m_compilationJobArn; }
60 template <typename CompilationJobArnT = Aws::String>
61 void SetCompilationJobArn(CompilationJobArnT&& value) {
62 m_compilationJobArnHasBeenSet = true;
63 m_compilationJobArn = std::forward<CompilationJobArnT>(value);
64 }
65 template <typename CompilationJobArnT = Aws::String>
67 SetCompilationJobArn(std::forward<CompilationJobArnT>(value));
68 return *this;
69 }
71
73
76 inline CompilationJobStatus GetCompilationJobStatus() const { return m_compilationJobStatus; }
78 m_compilationJobStatusHasBeenSet = true;
79 m_compilationJobStatus = value;
80 }
83 return *this;
84 }
86
88
96 inline const Aws::Utils::DateTime& GetCompilationStartTime() const { return m_compilationStartTime; }
97 template <typename CompilationStartTimeT = Aws::Utils::DateTime>
98 void SetCompilationStartTime(CompilationStartTimeT&& value) {
99 m_compilationStartTimeHasBeenSet = true;
100 m_compilationStartTime = std::forward<CompilationStartTimeT>(value);
101 }
102 template <typename CompilationStartTimeT = Aws::Utils::DateTime>
104 SetCompilationStartTime(std::forward<CompilationStartTimeT>(value));
105 return *this;
106 }
108
110
116 inline const Aws::Utils::DateTime& GetCompilationEndTime() const { return m_compilationEndTime; }
117 template <typename CompilationEndTimeT = Aws::Utils::DateTime>
118 void SetCompilationEndTime(CompilationEndTimeT&& value) {
119 m_compilationEndTimeHasBeenSet = true;
120 m_compilationEndTime = std::forward<CompilationEndTimeT>(value);
121 }
122 template <typename CompilationEndTimeT = Aws::Utils::DateTime>
124 SetCompilationEndTime(std::forward<CompilationEndTimeT>(value));
125 return *this;
126 }
128
130
135 inline const StoppingCondition& GetStoppingCondition() const { return m_stoppingCondition; }
136 template <typename StoppingConditionT = StoppingCondition>
137 void SetStoppingCondition(StoppingConditionT&& value) {
138 m_stoppingConditionHasBeenSet = true;
139 m_stoppingCondition = std::forward<StoppingConditionT>(value);
140 }
141 template <typename StoppingConditionT = StoppingCondition>
143 SetStoppingCondition(std::forward<StoppingConditionT>(value));
144 return *this;
145 }
147
149
153 inline const Aws::String& GetInferenceImage() const { return m_inferenceImage; }
154 template <typename InferenceImageT = Aws::String>
155 void SetInferenceImage(InferenceImageT&& value) {
156 m_inferenceImageHasBeenSet = true;
157 m_inferenceImage = std::forward<InferenceImageT>(value);
158 }
159 template <typename InferenceImageT = Aws::String>
161 SetInferenceImage(std::forward<InferenceImageT>(value));
162 return *this;
163 }
165
167
171 inline const Aws::String& GetModelPackageVersionArn() const { return m_modelPackageVersionArn; }
172 template <typename ModelPackageVersionArnT = Aws::String>
173 void SetModelPackageVersionArn(ModelPackageVersionArnT&& value) {
174 m_modelPackageVersionArnHasBeenSet = true;
175 m_modelPackageVersionArn = std::forward<ModelPackageVersionArnT>(value);
176 }
177 template <typename ModelPackageVersionArnT = Aws::String>
179 SetModelPackageVersionArn(std::forward<ModelPackageVersionArnT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
189 template <typename CreationTimeT = Aws::Utils::DateTime>
190 void SetCreationTime(CreationTimeT&& value) {
191 m_creationTimeHasBeenSet = true;
192 m_creationTime = std::forward<CreationTimeT>(value);
193 }
194 template <typename CreationTimeT = Aws::Utils::DateTime>
196 SetCreationTime(std::forward<CreationTimeT>(value));
197 return *this;
198 }
200
202
205 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
206 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
207 void SetLastModifiedTime(LastModifiedTimeT&& value) {
208 m_lastModifiedTimeHasBeenSet = true;
209 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
210 }
211 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
213 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
214 return *this;
215 }
217
219
222 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
223 template <typename FailureReasonT = Aws::String>
224 void SetFailureReason(FailureReasonT&& value) {
225 m_failureReasonHasBeenSet = true;
226 m_failureReason = std::forward<FailureReasonT>(value);
227 }
228 template <typename FailureReasonT = Aws::String>
230 SetFailureReason(std::forward<FailureReasonT>(value));
231 return *this;
232 }
234
236
240 inline const ModelArtifacts& GetModelArtifacts() const { return m_modelArtifacts; }
241 template <typename ModelArtifactsT = ModelArtifacts>
242 void SetModelArtifacts(ModelArtifactsT&& value) {
243 m_modelArtifactsHasBeenSet = true;
244 m_modelArtifacts = std::forward<ModelArtifactsT>(value);
245 }
246 template <typename ModelArtifactsT = ModelArtifacts>
248 SetModelArtifacts(std::forward<ModelArtifactsT>(value));
249 return *this;
250 }
252
254
258 inline const ModelDigests& GetModelDigests() const { return m_modelDigests; }
259 template <typename ModelDigestsT = ModelDigests>
260 void SetModelDigests(ModelDigestsT&& value) {
261 m_modelDigestsHasBeenSet = true;
262 m_modelDigests = std::forward<ModelDigestsT>(value);
263 }
264 template <typename ModelDigestsT = ModelDigests>
266 SetModelDigests(std::forward<ModelDigestsT>(value));
267 return *this;
268 }
270
272
276 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
277 template <typename RoleArnT = Aws::String>
278 void SetRoleArn(RoleArnT&& value) {
279 m_roleArnHasBeenSet = true;
280 m_roleArn = std::forward<RoleArnT>(value);
281 }
282 template <typename RoleArnT = Aws::String>
284 SetRoleArn(std::forward<RoleArnT>(value));
285 return *this;
286 }
288
290
295 inline const InputConfig& GetInputConfig() const { return m_inputConfig; }
296 template <typename InputConfigT = InputConfig>
297 void SetInputConfig(InputConfigT&& value) {
298 m_inputConfigHasBeenSet = true;
299 m_inputConfig = std::forward<InputConfigT>(value);
300 }
301 template <typename InputConfigT = InputConfig>
303 SetInputConfig(std::forward<InputConfigT>(value));
304 return *this;
305 }
307
309
313 inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; }
314 template <typename OutputConfigT = OutputConfig>
315 void SetOutputConfig(OutputConfigT&& value) {
316 m_outputConfigHasBeenSet = true;
317 m_outputConfig = std::forward<OutputConfigT>(value);
318 }
319 template <typename OutputConfigT = OutputConfig>
321 SetOutputConfig(std::forward<OutputConfigT>(value));
322 return *this;
323 }
325
327
335 inline const NeoVpcConfig& GetVpcConfig() const { return m_vpcConfig; }
336 template <typename VpcConfigT = NeoVpcConfig>
337 void SetVpcConfig(VpcConfigT&& value) {
338 m_vpcConfigHasBeenSet = true;
339 m_vpcConfig = std::forward<VpcConfigT>(value);
340 }
341 template <typename VpcConfigT = NeoVpcConfig>
343 SetVpcConfig(std::forward<VpcConfigT>(value));
344 return *this;
345 }
347
349
352 inline const DerivedInformation& GetDerivedInformation() const { return m_derivedInformation; }
353 template <typename DerivedInformationT = DerivedInformation>
354 void SetDerivedInformation(DerivedInformationT&& value) {
355 m_derivedInformationHasBeenSet = true;
356 m_derivedInformation = std::forward<DerivedInformationT>(value);
357 }
358 template <typename DerivedInformationT = DerivedInformation>
360 SetDerivedInformation(std::forward<DerivedInformationT>(value));
361 return *this;
362 }
364
366
367 inline const Aws::String& GetRequestId() const { return m_requestId; }
368 template <typename RequestIdT = Aws::String>
369 void SetRequestId(RequestIdT&& value) {
370 m_requestIdHasBeenSet = true;
371 m_requestId = std::forward<RequestIdT>(value);
372 }
373 template <typename RequestIdT = Aws::String>
375 SetRequestId(std::forward<RequestIdT>(value));
376 return *this;
377 }
379 private:
380 Aws::String m_compilationJobName;
381
382 Aws::String m_compilationJobArn;
383
385
386 Aws::Utils::DateTime m_compilationStartTime{};
387
388 Aws::Utils::DateTime m_compilationEndTime{};
389
390 StoppingCondition m_stoppingCondition;
391
392 Aws::String m_inferenceImage;
393
394 Aws::String m_modelPackageVersionArn;
395
396 Aws::Utils::DateTime m_creationTime{};
397
398 Aws::Utils::DateTime m_lastModifiedTime{};
399
400 Aws::String m_failureReason;
401
402 ModelArtifacts m_modelArtifacts;
403
404 ModelDigests m_modelDigests;
405
406 Aws::String m_roleArn;
407
408 InputConfig m_inputConfig;
409
410 OutputConfig m_outputConfig;
411
412 NeoVpcConfig m_vpcConfig;
413
414 DerivedInformation m_derivedInformation;
415
416 Aws::String m_requestId;
417 bool m_compilationJobNameHasBeenSet = false;
418 bool m_compilationJobArnHasBeenSet = false;
419 bool m_compilationJobStatusHasBeenSet = false;
420 bool m_compilationStartTimeHasBeenSet = false;
421 bool m_compilationEndTimeHasBeenSet = false;
422 bool m_stoppingConditionHasBeenSet = false;
423 bool m_inferenceImageHasBeenSet = false;
424 bool m_modelPackageVersionArnHasBeenSet = false;
425 bool m_creationTimeHasBeenSet = false;
426 bool m_lastModifiedTimeHasBeenSet = false;
427 bool m_failureReasonHasBeenSet = false;
428 bool m_modelArtifactsHasBeenSet = false;
429 bool m_modelDigestsHasBeenSet = false;
430 bool m_roleArnHasBeenSet = false;
431 bool m_inputConfigHasBeenSet = false;
432 bool m_outputConfigHasBeenSet = false;
433 bool m_vpcConfigHasBeenSet = false;
434 bool m_derivedInformationHasBeenSet = false;
435 bool m_requestIdHasBeenSet = false;
436};
437
438} // namespace Model
439} // namespace SageMaker
440} // 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