AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeImageVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SageMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::String& GetBaseImage() const{ return m_baseImage; }
42 
47  inline void SetBaseImage(const Aws::String& value) { m_baseImage = value; }
48 
53  inline void SetBaseImage(Aws::String&& value) { m_baseImage = std::move(value); }
54 
59  inline void SetBaseImage(const char* value) { m_baseImage.assign(value); }
60 
65  inline DescribeImageVersionResult& WithBaseImage(const Aws::String& value) { SetBaseImage(value); return *this;}
66 
71  inline DescribeImageVersionResult& WithBaseImage(Aws::String&& value) { SetBaseImage(std::move(value)); return *this;}
72 
77  inline DescribeImageVersionResult& WithBaseImage(const char* value) { SetBaseImage(value); return *this;}
78 
79 
84  inline const Aws::String& GetContainerImage() const{ return m_containerImage; }
85 
90  inline void SetContainerImage(const Aws::String& value) { m_containerImage = value; }
91 
96  inline void SetContainerImage(Aws::String&& value) { m_containerImage = std::move(value); }
97 
102  inline void SetContainerImage(const char* value) { m_containerImage.assign(value); }
103 
108  inline DescribeImageVersionResult& WithContainerImage(const Aws::String& value) { SetContainerImage(value); return *this;}
109 
114  inline DescribeImageVersionResult& WithContainerImage(Aws::String&& value) { SetContainerImage(std::move(value)); return *this;}
115 
120  inline DescribeImageVersionResult& WithContainerImage(const char* value) { SetContainerImage(value); return *this;}
121 
122 
126  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
127 
131  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
132 
136  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
137 
141  inline DescribeImageVersionResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
142 
146  inline DescribeImageVersionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
147 
148 
152  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
153 
157  inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
158 
162  inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
163 
167  inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
168 
172  inline DescribeImageVersionResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
173 
177  inline DescribeImageVersionResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
178 
182  inline DescribeImageVersionResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
183 
184 
188  inline const Aws::String& GetImageArn() const{ return m_imageArn; }
189 
193  inline void SetImageArn(const Aws::String& value) { m_imageArn = value; }
194 
198  inline void SetImageArn(Aws::String&& value) { m_imageArn = std::move(value); }
199 
203  inline void SetImageArn(const char* value) { m_imageArn.assign(value); }
204 
208  inline DescribeImageVersionResult& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;}
209 
213  inline DescribeImageVersionResult& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;}
214 
218  inline DescribeImageVersionResult& WithImageArn(const char* value) { SetImageArn(value); return *this;}
219 
220 
224  inline const Aws::String& GetImageVersionArn() const{ return m_imageVersionArn; }
225 
229  inline void SetImageVersionArn(const Aws::String& value) { m_imageVersionArn = value; }
230 
234  inline void SetImageVersionArn(Aws::String&& value) { m_imageVersionArn = std::move(value); }
235 
239  inline void SetImageVersionArn(const char* value) { m_imageVersionArn.assign(value); }
240 
244  inline DescribeImageVersionResult& WithImageVersionArn(const Aws::String& value) { SetImageVersionArn(value); return *this;}
245 
249  inline DescribeImageVersionResult& WithImageVersionArn(Aws::String&& value) { SetImageVersionArn(std::move(value)); return *this;}
250 
254  inline DescribeImageVersionResult& WithImageVersionArn(const char* value) { SetImageVersionArn(value); return *this;}
255 
256 
260  inline const ImageVersionStatus& GetImageVersionStatus() const{ return m_imageVersionStatus; }
261 
265  inline void SetImageVersionStatus(const ImageVersionStatus& value) { m_imageVersionStatus = value; }
266 
270  inline void SetImageVersionStatus(ImageVersionStatus&& value) { m_imageVersionStatus = std::move(value); }
271 
275  inline DescribeImageVersionResult& WithImageVersionStatus(const ImageVersionStatus& value) { SetImageVersionStatus(value); return *this;}
276 
280  inline DescribeImageVersionResult& WithImageVersionStatus(ImageVersionStatus&& value) { SetImageVersionStatus(std::move(value)); return *this;}
281 
282 
286  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
287 
291  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
292 
296  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
297 
301  inline DescribeImageVersionResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
302 
306  inline DescribeImageVersionResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
307 
308 
312  inline int GetVersion() const{ return m_version; }
313 
317  inline void SetVersion(int value) { m_version = value; }
318 
322  inline DescribeImageVersionResult& WithVersion(int value) { SetVersion(value); return *this;}
323 
324  private:
325 
326  Aws::String m_baseImage;
327 
328  Aws::String m_containerImage;
329 
330  Aws::Utils::DateTime m_creationTime;
331 
332  Aws::String m_failureReason;
333 
334  Aws::String m_imageArn;
335 
336  Aws::String m_imageVersionArn;
337 
338  ImageVersionStatus m_imageVersionStatus;
339 
340  Aws::Utils::DateTime m_lastModifiedTime;
341 
342  int m_version;
343  };
344 
345 } // namespace Model
346 } // namespace SageMaker
347 } // namespace Aws
Aws::SageMaker::Model::DescribeImageVersionResult::DescribeImageVersionResult
DescribeImageVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::DescribeImageVersionResult::GetImageVersionArn
const Aws::String & GetImageVersionArn() const
Definition: DescribeImageVersionResult.h:224
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::DescribeImageVersionResult::WithCreationTime
DescribeImageVersionResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeImageVersionResult.h:146
Aws::SageMaker::Model::DescribeImageVersionResult::GetContainerImage
const Aws::String & GetContainerImage() const
Definition: DescribeImageVersionResult.h:84
Aws::SageMaker::Model::DescribeImageVersionResult::WithLastModifiedTime
DescribeImageVersionResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeImageVersionResult.h:301
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeImageVersionResult::WithBaseImage
DescribeImageVersionResult & WithBaseImage(const Aws::String &value)
Definition: DescribeImageVersionResult.h:65
Aws::SageMaker::Model::DescribeImageVersionResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeImageVersionResult.h:126
Aws::SageMaker::Model::DescribeImageVersionResult::GetVersion
int GetVersion() const
Definition: DescribeImageVersionResult.h:312
DateTime.h
Aws::SageMaker::Model::DescribeImageVersionResult::WithImageVersionArn
DescribeImageVersionResult & WithImageVersionArn(const char *value)
Definition: DescribeImageVersionResult.h:254
Aws::SageMaker::Model::DescribeImageVersionResult::SetImageArn
void SetImageArn(Aws::String &&value)
Definition: DescribeImageVersionResult.h:198
Aws::SageMaker::Model::DescribeImageVersionResult::SetImageVersionArn
void SetImageVersionArn(const char *value)
Definition: DescribeImageVersionResult.h:239
Aws::SageMaker::Model::DescribeImageVersionResult::GetImageArn
const Aws::String & GetImageArn() const
Definition: DescribeImageVersionResult.h:188
Aws::SageMaker::Model::DescribeImageVersionResult::SetBaseImage
void SetBaseImage(Aws::String &&value)
Definition: DescribeImageVersionResult.h:53
Aws::SageMaker::Model::DescribeImageVersionResult::SetImageVersionStatus
void SetImageVersionStatus(ImageVersionStatus &&value)
Definition: DescribeImageVersionResult.h:270
Aws::SageMaker::Model::DescribeImageVersionResult::GetBaseImage
const Aws::String & GetBaseImage() const
Definition: DescribeImageVersionResult.h:41
Aws::SageMaker::Model::DescribeImageVersionResult::SetImageVersionArn
void SetImageVersionArn(Aws::String &&value)
Definition: DescribeImageVersionResult.h:234
Aws::SageMaker::Model::DescribeImageVersionResult::WithFailureReason
DescribeImageVersionResult & WithFailureReason(const char *value)
Definition: DescribeImageVersionResult.h:182
Aws::SageMaker::Model::DescribeImageVersionResult::WithContainerImage
DescribeImageVersionResult & WithContainerImage(Aws::String &&value)
Definition: DescribeImageVersionResult.h:114
Aws::SageMaker::Model::DescribeImageVersionResult::SetImageVersionStatus
void SetImageVersionStatus(const ImageVersionStatus &value)
Definition: DescribeImageVersionResult.h:265
Aws::SageMaker::Model::DescribeImageVersionResult::GetImageVersionStatus
const ImageVersionStatus & GetImageVersionStatus() const
Definition: DescribeImageVersionResult.h:260
Aws::SageMaker::Model::DescribeImageVersionResult::WithContainerImage
DescribeImageVersionResult & WithContainerImage(const Aws::String &value)
Definition: DescribeImageVersionResult.h:108
Aws::SageMaker::Model::DescribeImageVersionResult::SetFailureReason
void SetFailureReason(const char *value)
Definition: DescribeImageVersionResult.h:167
Aws::SageMaker::Model::DescribeImageVersionResult::WithContainerImage
DescribeImageVersionResult & WithContainerImage(const char *value)
Definition: DescribeImageVersionResult.h:120
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeImageVersionResult::WithBaseImage
DescribeImageVersionResult & WithBaseImage(Aws::String &&value)
Definition: DescribeImageVersionResult.h:71
Aws::SageMaker::Model::DescribeImageVersionResult::SetBaseImage
void SetBaseImage(const Aws::String &value)
Definition: DescribeImageVersionResult.h:47
Aws::SageMaker::Model::DescribeImageVersionResult::WithImageVersionArn
DescribeImageVersionResult & WithImageVersionArn(const Aws::String &value)
Definition: DescribeImageVersionResult.h:244
Aws::SageMaker::Model::DescribeImageVersionResult::WithBaseImage
DescribeImageVersionResult & WithBaseImage(const char *value)
Definition: DescribeImageVersionResult.h:77
Aws::SageMaker::Model::ImageVersionStatus
ImageVersionStatus
Definition: ImageVersionStatus.h:17
Aws::SageMaker::Model::DescribeImageVersionResult::SetImageArn
void SetImageArn(const Aws::String &value)
Definition: DescribeImageVersionResult.h:193
Aws::SageMaker::Model::DescribeImageVersionResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeImageVersionResult.h:296
Aws::SageMaker::Model::DescribeImageVersionResult::WithImageArn
DescribeImageVersionResult & WithImageArn(const char *value)
Definition: DescribeImageVersionResult.h:218
Aws::SageMaker::Model::DescribeImageVersionResult::SetBaseImage
void SetBaseImage(const char *value)
Definition: DescribeImageVersionResult.h:59
Aws::SageMaker::Model::DescribeImageVersionResult::WithFailureReason
DescribeImageVersionResult & WithFailureReason(const Aws::String &value)
Definition: DescribeImageVersionResult.h:172
Aws::SageMaker::Model::DescribeImageVersionResult::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: DescribeImageVersionResult.h:157
Aws::SageMaker::Model::DescribeImageVersionResult::WithFailureReason
DescribeImageVersionResult & WithFailureReason(Aws::String &&value)
Definition: DescribeImageVersionResult.h:177
AWSString.h
Aws::SageMaker::Model::DescribeImageVersionResult
Definition: DescribeImageVersionResult.h:30
Aws::SageMaker::Model::DescribeImageVersionResult::SetImageArn
void SetImageArn(const char *value)
Definition: DescribeImageVersionResult.h:203
Aws::SageMaker::Model::DescribeImageVersionResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeImageVersionResult.h:131
Aws::SageMaker::Model::DescribeImageVersionResult::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: DescribeImageVersionResult.h:152
Aws::SageMaker::Model::DescribeImageVersionResult::WithImageVersionStatus
DescribeImageVersionResult & WithImageVersionStatus(const ImageVersionStatus &value)
Definition: DescribeImageVersionResult.h:275
Aws::SageMaker::Model::DescribeImageVersionResult::WithLastModifiedTime
DescribeImageVersionResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeImageVersionResult.h:306
Aws::SageMaker::Model::DescribeImageVersionResult::WithCreationTime
DescribeImageVersionResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeImageVersionResult.h:141
Aws::SageMaker::Model::DescribeImageVersionResult::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: DescribeImageVersionResult.h:162
Aws::SageMaker::Model::DescribeImageVersionResult::SetContainerImage
void SetContainerImage(Aws::String &&value)
Definition: DescribeImageVersionResult.h:96
Aws::SageMaker::Model::DescribeImageVersionResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: DescribeImageVersionResult.h:286
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeImageVersionResult::WithImageArn
DescribeImageVersionResult & WithImageArn(Aws::String &&value)
Definition: DescribeImageVersionResult.h:213
Aws::SageMaker::Model::DescribeImageVersionResult::DescribeImageVersionResult
DescribeImageVersionResult()
Aws::SageMaker::Model::DescribeImageVersionResult::WithVersion
DescribeImageVersionResult & WithVersion(int value)
Definition: DescribeImageVersionResult.h:322
Aws::SageMaker::Model::DescribeImageVersionResult::SetContainerImage
void SetContainerImage(const char *value)
Definition: DescribeImageVersionResult.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeImageVersionResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeImageVersionResult.h:136
Aws::SageMaker::Model::DescribeImageVersionResult::WithImageVersionArn
DescribeImageVersionResult & WithImageVersionArn(Aws::String &&value)
Definition: DescribeImageVersionResult.h:249
Aws::SageMaker::Model::DescribeImageVersionResult::WithImageArn
DescribeImageVersionResult & WithImageArn(const Aws::String &value)
Definition: DescribeImageVersionResult.h:208
Aws::SageMaker::Model::DescribeImageVersionResult::SetVersion
void SetVersion(int value)
Definition: DescribeImageVersionResult.h:317
Aws::SageMaker::Model::DescribeImageVersionResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeImageVersionResult.h:291
Aws::SageMaker::Model::DescribeImageVersionResult::operator=
DescribeImageVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeImageVersionResult::WithImageVersionStatus
DescribeImageVersionResult & WithImageVersionStatus(ImageVersionStatus &&value)
Definition: DescribeImageVersionResult.h:280
Aws::SageMaker::Model::DescribeImageVersionResult::SetImageVersionArn
void SetImageVersionArn(const Aws::String &value)
Definition: DescribeImageVersionResult.h:229
ImageVersionStatus.h
Aws::SageMaker::Model::DescribeImageVersionResult::SetContainerImage
void SetContainerImage(const Aws::String &value)
Definition: DescribeImageVersionResult.h:90