AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeImageVersionResult.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/ImageVersionStatus.h>
11#include <aws/sagemaker/model/JobType.h>
12#include <aws/sagemaker/model/Processor.h>
13#include <aws/sagemaker/model/VendorGuidance.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker {
27namespace Model {
29 public:
30 AWS_SAGEMAKER_API DescribeImageVersionResult() = default;
33
35
39 inline const Aws::String& GetBaseImage() const { return m_baseImage; }
40 template <typename BaseImageT = Aws::String>
41 void SetBaseImage(BaseImageT&& value) {
42 m_baseImageHasBeenSet = true;
43 m_baseImage = std::forward<BaseImageT>(value);
44 }
45 template <typename BaseImageT = Aws::String>
47 SetBaseImage(std::forward<BaseImageT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetContainerImage() const { return m_containerImage; }
58 template <typename ContainerImageT = Aws::String>
59 void SetContainerImage(ContainerImageT&& value) {
60 m_containerImageHasBeenSet = true;
61 m_containerImage = std::forward<ContainerImageT>(value);
62 }
63 template <typename ContainerImageT = Aws::String>
65 SetContainerImage(std::forward<ContainerImageT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
75 template <typename CreationTimeT = Aws::Utils::DateTime>
76 void SetCreationTime(CreationTimeT&& value) {
77 m_creationTimeHasBeenSet = true;
78 m_creationTime = std::forward<CreationTimeT>(value);
79 }
80 template <typename CreationTimeT = Aws::Utils::DateTime>
82 SetCreationTime(std::forward<CreationTimeT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
92 template <typename FailureReasonT = Aws::String>
93 void SetFailureReason(FailureReasonT&& value) {
94 m_failureReasonHasBeenSet = true;
95 m_failureReason = std::forward<FailureReasonT>(value);
96 }
97 template <typename FailureReasonT = Aws::String>
99 SetFailureReason(std::forward<FailureReasonT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetImageArn() const { return m_imageArn; }
109 template <typename ImageArnT = Aws::String>
110 void SetImageArn(ImageArnT&& value) {
111 m_imageArnHasBeenSet = true;
112 m_imageArn = std::forward<ImageArnT>(value);
113 }
114 template <typename ImageArnT = Aws::String>
116 SetImageArn(std::forward<ImageArnT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::String& GetImageVersionArn() const { return m_imageVersionArn; }
126 template <typename ImageVersionArnT = Aws::String>
127 void SetImageVersionArn(ImageVersionArnT&& value) {
128 m_imageVersionArnHasBeenSet = true;
129 m_imageVersionArn = std::forward<ImageVersionArnT>(value);
130 }
131 template <typename ImageVersionArnT = Aws::String>
133 SetImageVersionArn(std::forward<ImageVersionArnT>(value));
134 return *this;
135 }
137
139
142 inline ImageVersionStatus GetImageVersionStatus() const { return m_imageVersionStatus; }
144 m_imageVersionStatusHasBeenSet = true;
145 m_imageVersionStatus = value;
146 }
149 return *this;
150 }
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) {
160 m_lastModifiedTimeHasBeenSet = true;
161 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
162 }
163 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
165 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
166 return *this;
167 }
169
171
174 inline int GetVersion() const { return m_version; }
175 inline void SetVersion(int value) {
176 m_versionHasBeenSet = true;
177 m_version = value;
178 }
180 SetVersion(value);
181 return *this;
182 }
184
186
196 inline VendorGuidance GetVendorGuidance() const { return m_vendorGuidance; }
198 m_vendorGuidanceHasBeenSet = true;
199 m_vendorGuidance = value;
200 }
202 SetVendorGuidance(value);
203 return *this;
204 }
206
208
216 inline JobType GetJobType() const { return m_jobType; }
217 inline void SetJobType(JobType value) {
218 m_jobTypeHasBeenSet = true;
219 m_jobType = value;
220 }
222 SetJobType(value);
223 return *this;
224 }
226
228
231 inline const Aws::String& GetMLFramework() const { return m_mLFramework; }
232 template <typename MLFrameworkT = Aws::String>
233 void SetMLFramework(MLFrameworkT&& value) {
234 m_mLFrameworkHasBeenSet = true;
235 m_mLFramework = std::forward<MLFrameworkT>(value);
236 }
237 template <typename MLFrameworkT = Aws::String>
239 SetMLFramework(std::forward<MLFrameworkT>(value));
240 return *this;
241 }
243
245
248 inline const Aws::String& GetProgrammingLang() const { return m_programmingLang; }
249 template <typename ProgrammingLangT = Aws::String>
250 void SetProgrammingLang(ProgrammingLangT&& value) {
251 m_programmingLangHasBeenSet = true;
252 m_programmingLang = std::forward<ProgrammingLangT>(value);
253 }
254 template <typename ProgrammingLangT = Aws::String>
256 SetProgrammingLang(std::forward<ProgrammingLangT>(value));
257 return *this;
258 }
260
262
267 inline Processor GetProcessor() const { return m_processor; }
268 inline void SetProcessor(Processor value) {
269 m_processorHasBeenSet = true;
270 m_processor = value;
271 }
273 SetProcessor(value);
274 return *this;
275 }
277
279
282 inline bool GetHorovod() const { return m_horovod; }
283 inline void SetHorovod(bool value) {
284 m_horovodHasBeenSet = true;
285 m_horovod = value;
286 }
288 SetHorovod(value);
289 return *this;
290 }
292
294
297 inline const Aws::String& GetReleaseNotes() const { return m_releaseNotes; }
298 template <typename ReleaseNotesT = Aws::String>
299 void SetReleaseNotes(ReleaseNotesT&& value) {
300 m_releaseNotesHasBeenSet = true;
301 m_releaseNotes = std::forward<ReleaseNotesT>(value);
302 }
303 template <typename ReleaseNotesT = Aws::String>
305 SetReleaseNotes(std::forward<ReleaseNotesT>(value));
306 return *this;
307 }
309
311
312 inline const Aws::String& GetRequestId() const { return m_requestId; }
313 template <typename RequestIdT = Aws::String>
314 void SetRequestId(RequestIdT&& value) {
315 m_requestIdHasBeenSet = true;
316 m_requestId = std::forward<RequestIdT>(value);
317 }
318 template <typename RequestIdT = Aws::String>
320 SetRequestId(std::forward<RequestIdT>(value));
321 return *this;
322 }
324 private:
325 Aws::String m_baseImage;
326
327 Aws::String m_containerImage;
328
329 Aws::Utils::DateTime m_creationTime{};
330
331 Aws::String m_failureReason;
332
333 Aws::String m_imageArn;
334
335 Aws::String m_imageVersionArn;
336
338
339 Aws::Utils::DateTime m_lastModifiedTime{};
340
341 int m_version{0};
342
343 VendorGuidance m_vendorGuidance{VendorGuidance::NOT_SET};
344
345 JobType m_jobType{JobType::NOT_SET};
346
347 Aws::String m_mLFramework;
348
349 Aws::String m_programmingLang;
350
351 Processor m_processor{Processor::NOT_SET};
352
353 bool m_horovod{false};
354
355 Aws::String m_releaseNotes;
356
357 Aws::String m_requestId;
358 bool m_baseImageHasBeenSet = false;
359 bool m_containerImageHasBeenSet = false;
360 bool m_creationTimeHasBeenSet = false;
361 bool m_failureReasonHasBeenSet = false;
362 bool m_imageArnHasBeenSet = false;
363 bool m_imageVersionArnHasBeenSet = false;
364 bool m_imageVersionStatusHasBeenSet = false;
365 bool m_lastModifiedTimeHasBeenSet = false;
366 bool m_versionHasBeenSet = false;
367 bool m_vendorGuidanceHasBeenSet = false;
368 bool m_jobTypeHasBeenSet = false;
369 bool m_mLFrameworkHasBeenSet = false;
370 bool m_programmingLangHasBeenSet = false;
371 bool m_processorHasBeenSet = false;
372 bool m_horovodHasBeenSet = false;
373 bool m_releaseNotesHasBeenSet = false;
374 bool m_requestIdHasBeenSet = false;
375};
376
377} // namespace Model
378} // namespace SageMaker
379} // namespace Aws
DescribeImageVersionResult & WithFailureReason(FailureReasonT &&value)
AWS_SAGEMAKER_API DescribeImageVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImageVersionResult & WithContainerImage(ContainerImageT &&value)
DescribeImageVersionResult & WithProcessor(Processor value)
DescribeImageVersionResult & WithRequestId(RequestIdT &&value)
DescribeImageVersionResult & WithBaseImage(BaseImageT &&value)
DescribeImageVersionResult & WithImageVersionArn(ImageVersionArnT &&value)
DescribeImageVersionResult & WithImageArn(ImageArnT &&value)
DescribeImageVersionResult & WithCreationTime(CreationTimeT &&value)
DescribeImageVersionResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeImageVersionResult & WithImageVersionStatus(ImageVersionStatus value)
DescribeImageVersionResult & WithProgrammingLang(ProgrammingLangT &&value)
AWS_SAGEMAKER_API DescribeImageVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImageVersionResult & WithVendorGuidance(VendorGuidance value)
DescribeImageVersionResult & WithHorovod(bool value)
DescribeImageVersionResult & WithReleaseNotes(ReleaseNotesT &&value)
AWS_SAGEMAKER_API DescribeImageVersionResult()=default
DescribeImageVersionResult & WithJobType(JobType value)
DescribeImageVersionResult & WithMLFramework(MLFrameworkT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue