AWS SDK for C++  1.9.154
AWS SDK for C++
DescribeImageResult.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 
40  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
41 
45  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
46 
50  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
51 
55  inline DescribeImageResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
56 
60  inline DescribeImageResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
61 
62 
66  inline const Aws::String& GetDescription() const{ return m_description; }
67 
71  inline void SetDescription(const Aws::String& value) { m_description = value; }
72 
76  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
77 
81  inline void SetDescription(const char* value) { m_description.assign(value); }
82 
86  inline DescribeImageResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
87 
91  inline DescribeImageResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
92 
96  inline DescribeImageResult& WithDescription(const char* value) { SetDescription(value); return *this;}
97 
98 
102  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
103 
107  inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
108 
112  inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
113 
117  inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
118 
122  inline DescribeImageResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
123 
127  inline DescribeImageResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
128 
132  inline DescribeImageResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
133 
134 
139  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
140 
145  inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
146 
151  inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
152 
157  inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
158 
163  inline DescribeImageResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
164 
169  inline DescribeImageResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
170 
175  inline DescribeImageResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
176 
177 
181  inline const Aws::String& GetImageArn() const{ return m_imageArn; }
182 
186  inline void SetImageArn(const Aws::String& value) { m_imageArn = value; }
187 
191  inline void SetImageArn(Aws::String&& value) { m_imageArn = std::move(value); }
192 
196  inline void SetImageArn(const char* value) { m_imageArn.assign(value); }
197 
201  inline DescribeImageResult& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;}
202 
206  inline DescribeImageResult& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;}
207 
211  inline DescribeImageResult& WithImageArn(const char* value) { SetImageArn(value); return *this;}
212 
213 
217  inline const Aws::String& GetImageName() const{ return m_imageName; }
218 
222  inline void SetImageName(const Aws::String& value) { m_imageName = value; }
223 
227  inline void SetImageName(Aws::String&& value) { m_imageName = std::move(value); }
228 
232  inline void SetImageName(const char* value) { m_imageName.assign(value); }
233 
237  inline DescribeImageResult& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
238 
242  inline DescribeImageResult& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
243 
247  inline DescribeImageResult& WithImageName(const char* value) { SetImageName(value); return *this;}
248 
249 
253  inline const ImageStatus& GetImageStatus() const{ return m_imageStatus; }
254 
258  inline void SetImageStatus(const ImageStatus& value) { m_imageStatus = value; }
259 
263  inline void SetImageStatus(ImageStatus&& value) { m_imageStatus = std::move(value); }
264 
268  inline DescribeImageResult& WithImageStatus(const ImageStatus& value) { SetImageStatus(value); return *this;}
269 
273  inline DescribeImageResult& WithImageStatus(ImageStatus&& value) { SetImageStatus(std::move(value)); return *this;}
274 
275 
279  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
280 
284  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
285 
289  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
290 
294  inline DescribeImageResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
295 
299  inline DescribeImageResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
300 
301 
306  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
307 
312  inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
313 
318  inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
319 
324  inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
325 
330  inline DescribeImageResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
331 
336  inline DescribeImageResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
337 
342  inline DescribeImageResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
343 
344  private:
345 
346  Aws::Utils::DateTime m_creationTime;
347 
348  Aws::String m_description;
349 
350  Aws::String m_displayName;
351 
352  Aws::String m_failureReason;
353 
354  Aws::String m_imageArn;
355 
356  Aws::String m_imageName;
357 
358  ImageStatus m_imageStatus;
359 
360  Aws::Utils::DateTime m_lastModifiedTime;
361 
362  Aws::String m_roleArn;
363  };
364 
365 } // namespace Model
366 } // namespace SageMaker
367 } // namespace Aws
Aws::SageMaker::Model::DescribeImageResult::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: DescribeImageResult.h:112
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::DescribeImageResult::WithDescription
DescribeImageResult & WithDescription(Aws::String &&value)
Definition: DescribeImageResult.h:91
Aws::SageMaker::Model::DescribeImageResult::WithFailureReason
DescribeImageResult & WithFailureReason(const Aws::String &value)
Definition: DescribeImageResult.h:163
Aws::SageMaker::Model::DescribeImageResult::WithRoleArn
DescribeImageResult & WithRoleArn(const char *value)
Definition: DescribeImageResult.h:342
Aws::SageMaker::Model::DescribeImageResult::GetImageStatus
const ImageStatus & GetImageStatus() const
Definition: DescribeImageResult.h:253
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::DescribeImageResult::WithDisplayName
DescribeImageResult & WithDisplayName(const char *value)
Definition: DescribeImageResult.h:132
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeImageResult::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: DescribeImageResult.h:145
Aws::SageMaker::Model::DescribeImageResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeImageResult.h:289
Aws::SageMaker::Model::DescribeImageResult::WithFailureReason
DescribeImageResult & WithFailureReason(Aws::String &&value)
Definition: DescribeImageResult.h:169
Aws::SageMaker::Model::DescribeImageResult::WithCreationTime
DescribeImageResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeImageResult.h:55
Aws::SageMaker::Model::DescribeImageResult::WithFailureReason
DescribeImageResult & WithFailureReason(const char *value)
Definition: DescribeImageResult.h:175
Aws::SageMaker::Model::DescribeImageResult::SetImageStatus
void SetImageStatus(const ImageStatus &value)
Definition: DescribeImageResult.h:258
Aws::SageMaker::Model::DescribeImageResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: DescribeImageResult.h:71
Aws::SageMaker::Model::DescribeImageResult::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: DescribeImageResult.h:107
Aws::SageMaker::Model::DescribeImageResult::WithDisplayName
DescribeImageResult & WithDisplayName(Aws::String &&value)
Definition: DescribeImageResult.h:127
Aws::SageMaker::Model::ImageStatus
ImageStatus
Definition: ImageStatus.h:17
Aws::SageMaker::Model::DescribeImageResult::WithImageStatus
DescribeImageResult & WithImageStatus(ImageStatus &&value)
Definition: DescribeImageResult.h:273
Aws::SageMaker::Model::DescribeImageResult::SetRoleArn
void SetRoleArn(const char *value)
Definition: DescribeImageResult.h:324
Aws::SageMaker::Model::DescribeImageResult::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: DescribeImageResult.h:312
Aws::SageMaker::Model::DescribeImageResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: DescribeImageResult.h:76
DateTime.h
Aws::SageMaker::Model::DescribeImageResult::DescribeImageResult
DescribeImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeImageResult::WithImageStatus
DescribeImageResult & WithImageStatus(const ImageStatus &value)
Definition: DescribeImageResult.h:268
Aws::SageMaker::Model::DescribeImageResult::SetImageStatus
void SetImageStatus(ImageStatus &&value)
Definition: DescribeImageResult.h:263
Aws::SageMaker::Model::DescribeImageResult::WithDisplayName
DescribeImageResult & WithDisplayName(const Aws::String &value)
Definition: DescribeImageResult.h:122
Aws::SageMaker::Model::DescribeImageResult::WithLastModifiedTime
DescribeImageResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeImageResult.h:294
Aws::SageMaker::Model::DescribeImageResult::WithLastModifiedTime
DescribeImageResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeImageResult.h:299
Aws::SageMaker::Model::DescribeImageResult::SetDescription
void SetDescription(const char *value)
Definition: DescribeImageResult.h:81
Aws::SageMaker::Model::DescribeImageResult::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: DescribeImageResult.h:151
Aws::SageMaker::Model::DescribeImageResult::WithImageName
DescribeImageResult & WithImageName(const Aws::String &value)
Definition: DescribeImageResult.h:237
Aws::SageMaker::Model::DescribeImageResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeImageResult.h:50
Aws::SageMaker::Model::DescribeImageResult::SetImageArn
void SetImageArn(Aws::String &&value)
Definition: DescribeImageResult.h:191
Aws::SageMaker::Model::DescribeImageResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeImageResult.h:45
Aws::SageMaker::Model::DescribeImageResult::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: DescribeImageResult.h:139
Aws::SageMaker::Model::DescribeImageResult::WithRoleArn
DescribeImageResult & WithRoleArn(Aws::String &&value)
Definition: DescribeImageResult.h:336
Aws::SageMaker::Model::DescribeImageResult::WithImageArn
DescribeImageResult & WithImageArn(const char *value)
Definition: DescribeImageResult.h:211
Aws::SageMaker::Model::DescribeImageResult::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: DescribeImageResult.h:318
Aws::SageMaker::Model::DescribeImageResult::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: DescribeImageResult.h:102
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeImageResult::WithDescription
DescribeImageResult & WithDescription(const char *value)
Definition: DescribeImageResult.h:96
Aws::SageMaker::Model::DescribeImageResult::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: DescribeImageResult.h:306
Aws::SageMaker::Model::DescribeImageResult::WithImageName
DescribeImageResult & WithImageName(Aws::String &&value)
Definition: DescribeImageResult.h:242
AWSString.h
ImageStatus.h
Aws::SageMaker::Model::DescribeImageResult
Definition: DescribeImageResult.h:30
Aws::SageMaker::Model::DescribeImageResult::operator=
DescribeImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeImageResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeImageResult.h:40
Aws::SageMaker::Model::DescribeImageResult::DescribeImageResult
DescribeImageResult()
Aws::SageMaker::Model::DescribeImageResult::GetImageArn
const Aws::String & GetImageArn() const
Definition: DescribeImageResult.h:181
Aws::SageMaker::Model::DescribeImageResult::SetDisplayName
void SetDisplayName(const char *value)
Definition: DescribeImageResult.h:117
Aws::SageMaker::Model::DescribeImageResult::SetImageName
void SetImageName(const Aws::String &value)
Definition: DescribeImageResult.h:222
Aws::SageMaker::Model::DescribeImageResult::SetImageName
void SetImageName(const char *value)
Definition: DescribeImageResult.h:232
Aws::SageMaker::Model::DescribeImageResult::WithImageArn
DescribeImageResult & WithImageArn(const Aws::String &value)
Definition: DescribeImageResult.h:201
Aws::SageMaker::Model::DescribeImageResult::WithDescription
DescribeImageResult & WithDescription(const Aws::String &value)
Definition: DescribeImageResult.h:86
Aws::SageMaker::Model::DescribeImageResult::SetImageName
void SetImageName(Aws::String &&value)
Definition: DescribeImageResult.h:227
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeImageResult::GetDescription
const Aws::String & GetDescription() const
Definition: DescribeImageResult.h:66
Aws::SageMaker::Model::DescribeImageResult::WithRoleArn
DescribeImageResult & WithRoleArn(const Aws::String &value)
Definition: DescribeImageResult.h:330
Aws::SageMaker::Model::DescribeImageResult::SetImageArn
void SetImageArn(const Aws::String &value)
Definition: DescribeImageResult.h:186
Aws::SageMaker::Model::DescribeImageResult::WithImageName
DescribeImageResult & WithImageName(const char *value)
Definition: DescribeImageResult.h:247
Aws::SageMaker::Model::DescribeImageResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: DescribeImageResult.h:279
Aws::SageMaker::Model::DescribeImageResult::WithImageArn
DescribeImageResult & WithImageArn(Aws::String &&value)
Definition: DescribeImageResult.h:206
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeImageResult::GetImageName
const Aws::String & GetImageName() const
Definition: DescribeImageResult.h:217
Aws::SageMaker::Model::DescribeImageResult::SetImageArn
void SetImageArn(const char *value)
Definition: DescribeImageResult.h:196
Aws::SageMaker::Model::DescribeImageResult::WithCreationTime
DescribeImageResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeImageResult.h:60
Aws::SageMaker::Model::DescribeImageResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeImageResult.h:284
Aws::SageMaker::Model::DescribeImageResult::SetFailureReason
void SetFailureReason(const char *value)
Definition: DescribeImageResult.h:157