AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeCompilationJobResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/CompilationJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/StoppingCondition.h>
12#include <aws/sagemaker/model/ModelArtifacts.h>
13#include <aws/sagemaker/model/ModelDigests.h>
14#include <aws/sagemaker/model/InputConfig.h>
15#include <aws/sagemaker/model/OutputConfig.h>
16#include <aws/sagemaker/model/NeoVpcConfig.h>
17#include <aws/sagemaker/model/DerivedInformation.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace SageMaker
33{
34namespace Model
35{
37 {
38 public:
39 AWS_SAGEMAKER_API DescribeCompilationJobResult() = default;
42
43
45
48 inline const Aws::String& GetCompilationJobName() const { return m_compilationJobName; }
49 template<typename CompilationJobNameT = Aws::String>
50 void SetCompilationJobName(CompilationJobNameT&& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = std::forward<CompilationJobNameT>(value); }
51 template<typename CompilationJobNameT = Aws::String>
52 DescribeCompilationJobResult& WithCompilationJobName(CompilationJobNameT&& value) { SetCompilationJobName(std::forward<CompilationJobNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetCompilationJobArn() const { return m_compilationJobArn; }
60 template<typename CompilationJobArnT = Aws::String>
61 void SetCompilationJobArn(CompilationJobArnT&& value) { m_compilationJobArnHasBeenSet = true; m_compilationJobArn = std::forward<CompilationJobArnT>(value); }
62 template<typename CompilationJobArnT = Aws::String>
63 DescribeCompilationJobResult& WithCompilationJobArn(CompilationJobArnT&& value) { SetCompilationJobArn(std::forward<CompilationJobArnT>(value)); return *this;}
65
67
70 inline CompilationJobStatus GetCompilationJobStatus() const { return m_compilationJobStatus; }
71 inline void SetCompilationJobStatus(CompilationJobStatus value) { m_compilationJobStatusHasBeenSet = true; m_compilationJobStatus = value; }
74
76
84 inline const Aws::Utils::DateTime& GetCompilationStartTime() const { return m_compilationStartTime; }
85 template<typename CompilationStartTimeT = Aws::Utils::DateTime>
86 void SetCompilationStartTime(CompilationStartTimeT&& value) { m_compilationStartTimeHasBeenSet = true; m_compilationStartTime = std::forward<CompilationStartTimeT>(value); }
87 template<typename CompilationStartTimeT = Aws::Utils::DateTime>
88 DescribeCompilationJobResult& WithCompilationStartTime(CompilationStartTimeT&& value) { SetCompilationStartTime(std::forward<CompilationStartTimeT>(value)); return *this;}
90
92
98 inline const Aws::Utils::DateTime& GetCompilationEndTime() const { return m_compilationEndTime; }
99 template<typename CompilationEndTimeT = Aws::Utils::DateTime>
100 void SetCompilationEndTime(CompilationEndTimeT&& value) { m_compilationEndTimeHasBeenSet = true; m_compilationEndTime = std::forward<CompilationEndTimeT>(value); }
101 template<typename CompilationEndTimeT = Aws::Utils::DateTime>
102 DescribeCompilationJobResult& WithCompilationEndTime(CompilationEndTimeT&& value) { SetCompilationEndTime(std::forward<CompilationEndTimeT>(value)); return *this;}
104
106
111 inline const StoppingCondition& GetStoppingCondition() const { return m_stoppingCondition; }
112 template<typename StoppingConditionT = StoppingCondition>
113 void SetStoppingCondition(StoppingConditionT&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::forward<StoppingConditionT>(value); }
114 template<typename StoppingConditionT = StoppingCondition>
115 DescribeCompilationJobResult& WithStoppingCondition(StoppingConditionT&& value) { SetStoppingCondition(std::forward<StoppingConditionT>(value)); return *this;}
117
119
123 inline const Aws::String& GetInferenceImage() const { return m_inferenceImage; }
124 template<typename InferenceImageT = Aws::String>
125 void SetInferenceImage(InferenceImageT&& value) { m_inferenceImageHasBeenSet = true; m_inferenceImage = std::forward<InferenceImageT>(value); }
126 template<typename InferenceImageT = Aws::String>
127 DescribeCompilationJobResult& WithInferenceImage(InferenceImageT&& value) { SetInferenceImage(std::forward<InferenceImageT>(value)); return *this;}
129
131
135 inline const Aws::String& GetModelPackageVersionArn() const { return m_modelPackageVersionArn; }
136 template<typename ModelPackageVersionArnT = Aws::String>
137 void SetModelPackageVersionArn(ModelPackageVersionArnT&& value) { m_modelPackageVersionArnHasBeenSet = true; m_modelPackageVersionArn = std::forward<ModelPackageVersionArnT>(value); }
138 template<typename ModelPackageVersionArnT = Aws::String>
139 DescribeCompilationJobResult& WithModelPackageVersionArn(ModelPackageVersionArnT&& value) { SetModelPackageVersionArn(std::forward<ModelPackageVersionArnT>(value)); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
147 template<typename CreationTimeT = Aws::Utils::DateTime>
148 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
149 template<typename CreationTimeT = Aws::Utils::DateTime>
150 DescribeCompilationJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
158 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
159 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
160 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
161 DescribeCompilationJobResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
163
165
168 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
169 template<typename FailureReasonT = Aws::String>
170 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
171 template<typename FailureReasonT = Aws::String>
172 DescribeCompilationJobResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
174
176
180 inline const ModelArtifacts& GetModelArtifacts() const { return m_modelArtifacts; }
181 template<typename ModelArtifactsT = ModelArtifacts>
182 void SetModelArtifacts(ModelArtifactsT&& value) { m_modelArtifactsHasBeenSet = true; m_modelArtifacts = std::forward<ModelArtifactsT>(value); }
183 template<typename ModelArtifactsT = ModelArtifacts>
184 DescribeCompilationJobResult& WithModelArtifacts(ModelArtifactsT&& value) { SetModelArtifacts(std::forward<ModelArtifactsT>(value)); return *this;}
186
188
192 inline const ModelDigests& GetModelDigests() const { return m_modelDigests; }
193 template<typename ModelDigestsT = ModelDigests>
194 void SetModelDigests(ModelDigestsT&& value) { m_modelDigestsHasBeenSet = true; m_modelDigests = std::forward<ModelDigestsT>(value); }
195 template<typename ModelDigestsT = ModelDigests>
196 DescribeCompilationJobResult& WithModelDigests(ModelDigestsT&& value) { SetModelDigests(std::forward<ModelDigestsT>(value)); return *this;}
198
200
204 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
205 template<typename RoleArnT = Aws::String>
206 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
207 template<typename RoleArnT = Aws::String>
208 DescribeCompilationJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
210
212
217 inline const InputConfig& GetInputConfig() const { return m_inputConfig; }
218 template<typename InputConfigT = InputConfig>
219 void SetInputConfig(InputConfigT&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::forward<InputConfigT>(value); }
220 template<typename InputConfigT = InputConfig>
221 DescribeCompilationJobResult& WithInputConfig(InputConfigT&& value) { SetInputConfig(std::forward<InputConfigT>(value)); return *this;}
223
225
229 inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; }
230 template<typename OutputConfigT = OutputConfig>
231 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
232 template<typename OutputConfigT = OutputConfig>
233 DescribeCompilationJobResult& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
235
237
245 inline const NeoVpcConfig& GetVpcConfig() const { return m_vpcConfig; }
246 template<typename VpcConfigT = NeoVpcConfig>
247 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
248 template<typename VpcConfigT = NeoVpcConfig>
249 DescribeCompilationJobResult& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
251
253
256 inline const DerivedInformation& GetDerivedInformation() const { return m_derivedInformation; }
257 template<typename DerivedInformationT = DerivedInformation>
258 void SetDerivedInformation(DerivedInformationT&& value) { m_derivedInformationHasBeenSet = true; m_derivedInformation = std::forward<DerivedInformationT>(value); }
259 template<typename DerivedInformationT = DerivedInformation>
260 DescribeCompilationJobResult& WithDerivedInformation(DerivedInformationT&& value) { SetDerivedInformation(std::forward<DerivedInformationT>(value)); return *this;}
262
264
265 inline const Aws::String& GetRequestId() const { return m_requestId; }
266 template<typename RequestIdT = Aws::String>
267 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
268 template<typename RequestIdT = Aws::String>
269 DescribeCompilationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
271 private:
272
273 Aws::String m_compilationJobName;
274 bool m_compilationJobNameHasBeenSet = false;
275
276 Aws::String m_compilationJobArn;
277 bool m_compilationJobArnHasBeenSet = false;
278
280 bool m_compilationJobStatusHasBeenSet = false;
281
282 Aws::Utils::DateTime m_compilationStartTime{};
283 bool m_compilationStartTimeHasBeenSet = false;
284
285 Aws::Utils::DateTime m_compilationEndTime{};
286 bool m_compilationEndTimeHasBeenSet = false;
287
288 StoppingCondition m_stoppingCondition;
289 bool m_stoppingConditionHasBeenSet = false;
290
291 Aws::String m_inferenceImage;
292 bool m_inferenceImageHasBeenSet = false;
293
294 Aws::String m_modelPackageVersionArn;
295 bool m_modelPackageVersionArnHasBeenSet = false;
296
297 Aws::Utils::DateTime m_creationTime{};
298 bool m_creationTimeHasBeenSet = false;
299
300 Aws::Utils::DateTime m_lastModifiedTime{};
301 bool m_lastModifiedTimeHasBeenSet = false;
302
303 Aws::String m_failureReason;
304 bool m_failureReasonHasBeenSet = false;
305
306 ModelArtifacts m_modelArtifacts;
307 bool m_modelArtifactsHasBeenSet = false;
308
309 ModelDigests m_modelDigests;
310 bool m_modelDigestsHasBeenSet = false;
311
312 Aws::String m_roleArn;
313 bool m_roleArnHasBeenSet = false;
314
315 InputConfig m_inputConfig;
316 bool m_inputConfigHasBeenSet = false;
317
318 OutputConfig m_outputConfig;
319 bool m_outputConfigHasBeenSet = false;
320
321 NeoVpcConfig m_vpcConfig;
322 bool m_vpcConfigHasBeenSet = false;
323
324 DerivedInformation m_derivedInformation;
325 bool m_derivedInformationHasBeenSet = false;
326
327 Aws::String m_requestId;
328 bool m_requestIdHasBeenSet = false;
329 };
330
331} // namespace Model
332} // namespace SageMaker
333} // 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