AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeImageVersionResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/ImageVersionStatus.h>
11#include <aws/sagemaker/model/VendorGuidance.h>
12#include <aws/sagemaker/model/JobType.h>
13#include <aws/sagemaker/model/Processor.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SAGEMAKER_API DescribeImageVersionResult();
38
39
41
45 inline const Aws::String& GetBaseImage() const{ return m_baseImage; }
46 inline void SetBaseImage(const Aws::String& value) { m_baseImage = value; }
47 inline void SetBaseImage(Aws::String&& value) { m_baseImage = std::move(value); }
48 inline void SetBaseImage(const char* value) { m_baseImage.assign(value); }
49 inline DescribeImageVersionResult& WithBaseImage(const Aws::String& value) { SetBaseImage(value); return *this;}
50 inline DescribeImageVersionResult& WithBaseImage(Aws::String&& value) { SetBaseImage(std::move(value)); return *this;}
51 inline DescribeImageVersionResult& WithBaseImage(const char* value) { SetBaseImage(value); return *this;}
53
55
59 inline const Aws::String& GetContainerImage() const{ return m_containerImage; }
60 inline void SetContainerImage(const Aws::String& value) { m_containerImage = value; }
61 inline void SetContainerImage(Aws::String&& value) { m_containerImage = std::move(value); }
62 inline void SetContainerImage(const char* value) { m_containerImage.assign(value); }
63 inline DescribeImageVersionResult& WithContainerImage(const Aws::String& value) { SetContainerImage(value); return *this;}
64 inline DescribeImageVersionResult& WithContainerImage(Aws::String&& value) { SetContainerImage(std::move(value)); return *this;}
65 inline DescribeImageVersionResult& WithContainerImage(const char* value) { SetContainerImage(value); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
73 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
74 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
76 inline DescribeImageVersionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
78
80
83 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
84 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
85 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
86 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
87 inline DescribeImageVersionResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
88 inline DescribeImageVersionResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
89 inline DescribeImageVersionResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
91
93
96 inline const Aws::String& GetImageArn() const{ return m_imageArn; }
97 inline void SetImageArn(const Aws::String& value) { m_imageArn = value; }
98 inline void SetImageArn(Aws::String&& value) { m_imageArn = std::move(value); }
99 inline void SetImageArn(const char* value) { m_imageArn.assign(value); }
100 inline DescribeImageVersionResult& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;}
101 inline DescribeImageVersionResult& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;}
102 inline DescribeImageVersionResult& WithImageArn(const char* value) { SetImageArn(value); return *this;}
104
106
109 inline const Aws::String& GetImageVersionArn() const{ return m_imageVersionArn; }
110 inline void SetImageVersionArn(const Aws::String& value) { m_imageVersionArn = value; }
111 inline void SetImageVersionArn(Aws::String&& value) { m_imageVersionArn = std::move(value); }
112 inline void SetImageVersionArn(const char* value) { m_imageVersionArn.assign(value); }
114 inline DescribeImageVersionResult& WithImageVersionArn(Aws::String&& value) { SetImageVersionArn(std::move(value)); return *this;}
115 inline DescribeImageVersionResult& WithImageVersionArn(const char* value) { SetImageVersionArn(value); return *this;}
117
119
122 inline const ImageVersionStatus& GetImageVersionStatus() const{ return m_imageVersionStatus; }
123 inline void SetImageVersionStatus(const ImageVersionStatus& value) { m_imageVersionStatus = value; }
124 inline void SetImageVersionStatus(ImageVersionStatus&& value) { m_imageVersionStatus = std::move(value); }
128
130
133 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
134 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
135 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
139
141
144 inline int GetVersion() const{ return m_version; }
145 inline void SetVersion(int value) { m_version = value; }
146 inline DescribeImageVersionResult& WithVersion(int value) { SetVersion(value); return *this;}
148
150
160 inline const VendorGuidance& GetVendorGuidance() const{ return m_vendorGuidance; }
161 inline void SetVendorGuidance(const VendorGuidance& value) { m_vendorGuidance = value; }
162 inline void SetVendorGuidance(VendorGuidance&& value) { m_vendorGuidance = std::move(value); }
164 inline DescribeImageVersionResult& WithVendorGuidance(VendorGuidance&& value) { SetVendorGuidance(std::move(value)); return *this;}
166
168
175 inline const JobType& GetJobType() const{ return m_jobType; }
176 inline void SetJobType(const JobType& value) { m_jobType = value; }
177 inline void SetJobType(JobType&& value) { m_jobType = std::move(value); }
178 inline DescribeImageVersionResult& WithJobType(const JobType& value) { SetJobType(value); return *this;}
179 inline DescribeImageVersionResult& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;}
181
183
186 inline const Aws::String& GetMLFramework() const{ return m_mLFramework; }
187 inline void SetMLFramework(const Aws::String& value) { m_mLFramework = value; }
188 inline void SetMLFramework(Aws::String&& value) { m_mLFramework = std::move(value); }
189 inline void SetMLFramework(const char* value) { m_mLFramework.assign(value); }
190 inline DescribeImageVersionResult& WithMLFramework(const Aws::String& value) { SetMLFramework(value); return *this;}
191 inline DescribeImageVersionResult& WithMLFramework(Aws::String&& value) { SetMLFramework(std::move(value)); return *this;}
192 inline DescribeImageVersionResult& WithMLFramework(const char* value) { SetMLFramework(value); return *this;}
194
196
199 inline const Aws::String& GetProgrammingLang() const{ return m_programmingLang; }
200 inline void SetProgrammingLang(const Aws::String& value) { m_programmingLang = value; }
201 inline void SetProgrammingLang(Aws::String&& value) { m_programmingLang = std::move(value); }
202 inline void SetProgrammingLang(const char* value) { m_programmingLang.assign(value); }
204 inline DescribeImageVersionResult& WithProgrammingLang(Aws::String&& value) { SetProgrammingLang(std::move(value)); return *this;}
205 inline DescribeImageVersionResult& WithProgrammingLang(const char* value) { SetProgrammingLang(value); return *this;}
207
209
214 inline const Processor& GetProcessor() const{ return m_processor; }
215 inline void SetProcessor(const Processor& value) { m_processor = value; }
216 inline void SetProcessor(Processor&& value) { m_processor = std::move(value); }
217 inline DescribeImageVersionResult& WithProcessor(const Processor& value) { SetProcessor(value); return *this;}
218 inline DescribeImageVersionResult& WithProcessor(Processor&& value) { SetProcessor(std::move(value)); return *this;}
220
222
225 inline bool GetHorovod() const{ return m_horovod; }
226 inline void SetHorovod(bool value) { m_horovod = value; }
227 inline DescribeImageVersionResult& WithHorovod(bool value) { SetHorovod(value); return *this;}
229
231
234 inline const Aws::String& GetReleaseNotes() const{ return m_releaseNotes; }
235 inline void SetReleaseNotes(const Aws::String& value) { m_releaseNotes = value; }
236 inline void SetReleaseNotes(Aws::String&& value) { m_releaseNotes = std::move(value); }
237 inline void SetReleaseNotes(const char* value) { m_releaseNotes.assign(value); }
238 inline DescribeImageVersionResult& WithReleaseNotes(const Aws::String& value) { SetReleaseNotes(value); return *this;}
239 inline DescribeImageVersionResult& WithReleaseNotes(Aws::String&& value) { SetReleaseNotes(std::move(value)); return *this;}
240 inline DescribeImageVersionResult& WithReleaseNotes(const char* value) { SetReleaseNotes(value); return *this;}
242
244
245 inline const Aws::String& GetRequestId() const{ return m_requestId; }
246 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
247 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
248 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
249 inline DescribeImageVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
250 inline DescribeImageVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
251 inline DescribeImageVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
253 private:
254
255 Aws::String m_baseImage;
256
257 Aws::String m_containerImage;
258
259 Aws::Utils::DateTime m_creationTime;
260
261 Aws::String m_failureReason;
262
263 Aws::String m_imageArn;
264
265 Aws::String m_imageVersionArn;
266
267 ImageVersionStatus m_imageVersionStatus;
268
269 Aws::Utils::DateTime m_lastModifiedTime;
270
271 int m_version;
272
273 VendorGuidance m_vendorGuidance;
274
275 JobType m_jobType;
276
277 Aws::String m_mLFramework;
278
279 Aws::String m_programmingLang;
280
281 Processor m_processor;
282
283 bool m_horovod;
284
285 Aws::String m_releaseNotes;
286
287 Aws::String m_requestId;
288 };
289
290} // namespace Model
291} // namespace SageMaker
292} // namespace Aws
AWS_SAGEMAKER_API DescribeImageVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeImageVersionResult & WithReleaseNotes(const Aws::String &value)
void SetImageVersionStatus(const ImageVersionStatus &value)
DescribeImageVersionResult & WithImageArn(const char *value)
DescribeImageVersionResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeImageVersionResult & WithBaseImage(Aws::String &&value)
DescribeImageVersionResult & WithFailureReason(const char *value)
DescribeImageVersionResult & WithImageVersionArn(Aws::String &&value)
DescribeImageVersionResult & WithContainerImage(const char *value)
DescribeImageVersionResult & WithProgrammingLang(const Aws::String &value)
DescribeImageVersionResult & WithMLFramework(Aws::String &&value)
DescribeImageVersionResult & WithRequestId(Aws::String &&value)
DescribeImageVersionResult & WithProcessor(const Processor &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeImageVersionResult & WithFailureReason(Aws::String &&value)
DescribeImageVersionResult & WithJobType(JobType &&value)
DescribeImageVersionResult & WithJobType(const JobType &value)
DescribeImageVersionResult & WithBaseImage(const char *value)
DescribeImageVersionResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeImageVersionResult & WithRequestId(const char *value)
DescribeImageVersionResult & WithFailureReason(const Aws::String &value)
DescribeImageVersionResult & WithVendorGuidance(VendorGuidance &&value)
DescribeImageVersionResult & WithImageVersionStatus(ImageVersionStatus &&value)
AWS_SAGEMAKER_API DescribeImageVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImageVersionResult & WithImageArn(Aws::String &&value)
DescribeImageVersionResult & WithHorovod(bool value)
DescribeImageVersionResult & WithVendorGuidance(const VendorGuidance &value)
DescribeImageVersionResult & WithBaseImage(const Aws::String &value)
DescribeImageVersionResult & WithImageVersionArn(const Aws::String &value)
DescribeImageVersionResult & WithImageVersionStatus(const ImageVersionStatus &value)
DescribeImageVersionResult & WithReleaseNotes(Aws::String &&value)
DescribeImageVersionResult & WithMLFramework(const char *value)
DescribeImageVersionResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeImageVersionResult & WithRequestId(const Aws::String &value)
DescribeImageVersionResult & WithReleaseNotes(const char *value)
DescribeImageVersionResult & WithProcessor(Processor &&value)
DescribeImageVersionResult & WithContainerImage(const Aws::String &value)
DescribeImageVersionResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeImageVersionResult & WithProgrammingLang(const char *value)
DescribeImageVersionResult & WithProgrammingLang(Aws::String &&value)
DescribeImageVersionResult & WithImageArn(const Aws::String &value)
DescribeImageVersionResult & WithMLFramework(const Aws::String &value)
DescribeImageVersionResult & WithContainerImage(Aws::String &&value)
DescribeImageVersionResult & WithImageVersionArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue