AWS SDK for C++  1.9.159
AWS SDK for C++
Image.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
37  {
38  public:
39  Image();
43 
44 
48  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
49 
53  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
54 
58  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
59 
63  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
64 
68  inline Image& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
69 
73  inline Image& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
74 
75 
79  inline const Aws::String& GetDescription() const{ return m_description; }
80 
84  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 
89  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 
94  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
95 
99  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
100 
104  inline Image& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
105 
109  inline Image& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
110 
114  inline Image& WithDescription(const char* value) { SetDescription(value); return *this;}
115 
116 
120  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
121 
125  inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
126 
130  inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
131 
135  inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
136 
140  inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
141 
145  inline Image& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
146 
150  inline Image& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
151 
155  inline Image& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
156 
157 
162  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
163 
168  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
169 
174  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
175 
180  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
181 
186  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
187 
192  inline Image& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
193 
198  inline Image& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
199 
204  inline Image& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
205 
206 
210  inline const Aws::String& GetImageArn() const{ return m_imageArn; }
211 
215  inline bool ImageArnHasBeenSet() const { return m_imageArnHasBeenSet; }
216 
220  inline void SetImageArn(const Aws::String& value) { m_imageArnHasBeenSet = true; m_imageArn = value; }
221 
225  inline void SetImageArn(Aws::String&& value) { m_imageArnHasBeenSet = true; m_imageArn = std::move(value); }
226 
230  inline void SetImageArn(const char* value) { m_imageArnHasBeenSet = true; m_imageArn.assign(value); }
231 
235  inline Image& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;}
236 
240  inline Image& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;}
241 
245  inline Image& WithImageArn(const char* value) { SetImageArn(value); return *this;}
246 
247 
251  inline const Aws::String& GetImageName() const{ return m_imageName; }
252 
256  inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
257 
261  inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
262 
266  inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
267 
271  inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
272 
276  inline Image& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
277 
281  inline Image& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
282 
286  inline Image& WithImageName(const char* value) { SetImageName(value); return *this;}
287 
288 
292  inline const ImageStatus& GetImageStatus() const{ return m_imageStatus; }
293 
297  inline bool ImageStatusHasBeenSet() const { return m_imageStatusHasBeenSet; }
298 
302  inline void SetImageStatus(const ImageStatus& value) { m_imageStatusHasBeenSet = true; m_imageStatus = value; }
303 
307  inline void SetImageStatus(ImageStatus&& value) { m_imageStatusHasBeenSet = true; m_imageStatus = std::move(value); }
308 
312  inline Image& WithImageStatus(const ImageStatus& value) { SetImageStatus(value); return *this;}
313 
317  inline Image& WithImageStatus(ImageStatus&& value) { SetImageStatus(std::move(value)); return *this;}
318 
319 
323  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
324 
328  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
329 
333  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
334 
338  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
339 
343  inline Image& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
344 
348  inline Image& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
349 
350  private:
351 
352  Aws::Utils::DateTime m_creationTime;
353  bool m_creationTimeHasBeenSet;
354 
355  Aws::String m_description;
356  bool m_descriptionHasBeenSet;
357 
358  Aws::String m_displayName;
359  bool m_displayNameHasBeenSet;
360 
361  Aws::String m_failureReason;
362  bool m_failureReasonHasBeenSet;
363 
364  Aws::String m_imageArn;
365  bool m_imageArnHasBeenSet;
366 
367  Aws::String m_imageName;
368  bool m_imageNameHasBeenSet;
369 
370  ImageStatus m_imageStatus;
371  bool m_imageStatusHasBeenSet;
372 
373  Aws::Utils::DateTime m_lastModifiedTime;
374  bool m_lastModifiedTimeHasBeenSet;
375  };
376 
377 } // namespace Model
378 } // namespace SageMaker
379 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::Image::WithCreationTime
Image & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: Image.h:68
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Image::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: Image.h:130
Aws::SageMaker::Model::Image::WithFailureReason
Image & WithFailureReason(Aws::String &&value)
Definition: Image.h:198
Aws::SageMaker::Model::Image::SetImageArn
void SetImageArn(const char *value)
Definition: Image.h:230
SageMaker_EXPORTS.h
Aws::SageMaker::Model::Image::WithImageArn
Image & WithImageArn(Aws::String &&value)
Definition: Image.h:240
Aws::SageMaker::Model::Image::WithLastModifiedTime
Image & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: Image.h:348
Aws::SageMaker::Model::Image::ImageNameHasBeenSet
bool ImageNameHasBeenSet() const
Definition: Image.h:256
Aws::SageMaker::Model::Image::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: Image.h:120
Aws::SageMaker::Model::Image::Image
Image(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ImageStatus
ImageStatus
Definition: ImageStatus.h:17
Aws::SageMaker::Model::Image::SetDescription
void SetDescription(const Aws::String &value)
Definition: Image.h:89
Aws::SageMaker::Model::Image::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: Image.h:162
DateTime.h
Aws::SageMaker::Model::Image::WithDescription
Image & WithDescription(Aws::String &&value)
Definition: Image.h:109
Aws::SageMaker::Model::Image::SetImageArn
void SetImageArn(Aws::String &&value)
Definition: Image.h:225
Aws::SageMaker::Model::Image::SetDescription
void SetDescription(const char *value)
Definition: Image.h:99
Aws::SageMaker::Model::Image::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: Image.h:338
Aws::SageMaker::Model::Image::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: Image.h:48
Aws::SageMaker::Model::Image::WithFailureReason
Image & WithFailureReason(const char *value)
Definition: Image.h:204
Aws::SageMaker::Model::Image::GetImageStatus
const ImageStatus & GetImageStatus() const
Definition: Image.h:292
Aws::SageMaker::Model::Image::WithImageName
Image & WithImageName(const Aws::String &value)
Definition: Image.h:276
Aws::SageMaker::Model::Image::SetImageStatus
void SetImageStatus(ImageStatus &&value)
Definition: Image.h:307
Aws::SageMaker::Model::Image::GetImageName
const Aws::String & GetImageName() const
Definition: Image.h:251
Aws::SageMaker::Model::Image::SetDescription
void SetDescription(Aws::String &&value)
Definition: Image.h:94
Aws::SageMaker::Model::Image::GetImageArn
const Aws::String & GetImageArn() const
Definition: Image.h:210
Aws::SageMaker::Model::Image::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: Image.h:168
Aws::SageMaker::Model::Image::DisplayNameHasBeenSet
bool DisplayNameHasBeenSet() const
Definition: Image.h:125
Aws::SageMaker::Model::Image::WithDisplayName
Image & WithDisplayName(const Aws::String &value)
Definition: Image.h:145
Aws::SageMaker::Model::Image::WithImageArn
Image & WithImageArn(const char *value)
Definition: Image.h:245
Aws::SageMaker::Model::Image::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: Image.h:174
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::Image::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: Image.h:63
Aws::SageMaker::Model::Image::SetImageStatus
void SetImageStatus(const ImageStatus &value)
Definition: Image.h:302
Aws::SageMaker::Model::Image::WithDisplayName
Image & WithDisplayName(Aws::String &&value)
Definition: Image.h:150
Aws::SageMaker::Model::Image::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: Image.h:333
Aws::SageMaker::Model::Image::SetImageName
void SetImageName(const Aws::String &value)
Definition: Image.h:261
Aws::SageMaker::Model::Image::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: Image.h:135
Aws::SageMaker::Model::Image::WithDescription
Image & WithDescription(const char *value)
Definition: Image.h:114
Aws::SageMaker::Model::Image::WithDisplayName
Image & WithDisplayName(const char *value)
Definition: Image.h:155
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::Image::SetFailureReason
void SetFailureReason(const char *value)
Definition: Image.h:186
Aws::SageMaker::Model::Image::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Image.h:84
ImageStatus.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::Image::GetDescription
const Aws::String & GetDescription() const
Definition: Image.h:79
Aws::SageMaker::Model::Image::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: Image.h:53
Aws::SageMaker::Model::Image::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: Image.h:323
Aws::SageMaker::Model::Image::WithFailureReason
Image & WithFailureReason(const Aws::String &value)
Definition: Image.h:192
Aws::SageMaker::Model::Image::WithImageStatus
Image & WithImageStatus(ImageStatus &&value)
Definition: Image.h:317
Aws::SageMaker::Model::Image::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: Image.h:180
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::Image::WithLastModifiedTime
Image & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: Image.h:343
Aws::SageMaker::Model::Image::WithDescription
Image & WithDescription(const Aws::String &value)
Definition: Image.h:104
Aws::SageMaker::Model::Image::operator=
Image & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::Image::ImageArnHasBeenSet
bool ImageArnHasBeenSet() const
Definition: Image.h:215
Aws::SageMaker::Model::Image::SetDisplayName
void SetDisplayName(const char *value)
Definition: Image.h:140
Aws::SageMaker::Model::Image::WithImageArn
Image & WithImageArn(const Aws::String &value)
Definition: Image.h:235
Aws::SageMaker::Model::Image::WithImageName
Image & WithImageName(const char *value)
Definition: Image.h:286
Aws::SageMaker::Model::Image::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::Image::SetImageArn
void SetImageArn(const Aws::String &value)
Definition: Image.h:220
Aws::SageMaker::Model::Image::WithImageStatus
Image & WithImageStatus(const ImageStatus &value)
Definition: Image.h:312
Aws::SageMaker::Model::Image::SetImageName
void SetImageName(const char *value)
Definition: Image.h:271
Aws::SageMaker::Model::Image
Definition: Image.h:37
Aws::SageMaker::Model::Image::WithImageName
Image & WithImageName(Aws::String &&value)
Definition: Image.h:281
Aws::SageMaker::Model::Image::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: Image.h:58
Aws::SageMaker::Model::Image::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: Image.h:328
Aws::SageMaker::Model::Image::Image
Image()
Aws::SageMaker::Model::Image::WithCreationTime
Image & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: Image.h:73
Aws::SageMaker::Model::Image::SetImageName
void SetImageName(Aws::String &&value)
Definition: Image.h:266
Aws::SageMaker::Model::Image::ImageStatusHasBeenSet
bool ImageStatusHasBeenSet() const
Definition: Image.h:297