AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Image.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/ImageStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
36 class Image
37 {
38 public:
39 AWS_SAGEMAKER_API Image();
40 AWS_SAGEMAKER_API Image(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Image& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
50 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
51 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
52 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
53 inline Image& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
54 inline Image& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline Image& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline Image& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline Image& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
76 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
77 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
78 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
79 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
80 inline Image& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
81 inline Image& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
82 inline Image& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
84
86
90 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
91 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
92 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
93 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
94 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
95 inline Image& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
96 inline Image& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
97 inline Image& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
99
101
104 inline const Aws::String& GetImageArn() const{ return m_imageArn; }
105 inline bool ImageArnHasBeenSet() const { return m_imageArnHasBeenSet; }
106 inline void SetImageArn(const Aws::String& value) { m_imageArnHasBeenSet = true; m_imageArn = value; }
107 inline void SetImageArn(Aws::String&& value) { m_imageArnHasBeenSet = true; m_imageArn = std::move(value); }
108 inline void SetImageArn(const char* value) { m_imageArnHasBeenSet = true; m_imageArn.assign(value); }
109 inline Image& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;}
110 inline Image& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;}
111 inline Image& WithImageArn(const char* value) { SetImageArn(value); return *this;}
113
115
118 inline const Aws::String& GetImageName() const{ return m_imageName; }
119 inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
120 inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
121 inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
122 inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
123 inline Image& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
124 inline Image& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
125 inline Image& WithImageName(const char* value) { SetImageName(value); return *this;}
127
129
132 inline const ImageStatus& GetImageStatus() const{ return m_imageStatus; }
133 inline bool ImageStatusHasBeenSet() const { return m_imageStatusHasBeenSet; }
134 inline void SetImageStatus(const ImageStatus& value) { m_imageStatusHasBeenSet = true; m_imageStatus = value; }
135 inline void SetImageStatus(ImageStatus&& value) { m_imageStatusHasBeenSet = true; m_imageStatus = std::move(value); }
136 inline Image& WithImageStatus(const ImageStatus& value) { SetImageStatus(value); return *this;}
137 inline Image& WithImageStatus(ImageStatus&& value) { SetImageStatus(std::move(value)); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
145 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
146 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
147 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
148 inline Image& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
149 inline Image& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
151 private:
152
153 Aws::Utils::DateTime m_creationTime;
154 bool m_creationTimeHasBeenSet = false;
155
156 Aws::String m_description;
157 bool m_descriptionHasBeenSet = false;
158
159 Aws::String m_displayName;
160 bool m_displayNameHasBeenSet = false;
161
162 Aws::String m_failureReason;
163 bool m_failureReasonHasBeenSet = false;
164
165 Aws::String m_imageArn;
166 bool m_imageArnHasBeenSet = false;
167
168 Aws::String m_imageName;
169 bool m_imageNameHasBeenSet = false;
170
171 ImageStatus m_imageStatus;
172 bool m_imageStatusHasBeenSet = false;
173
174 Aws::Utils::DateTime m_lastModifiedTime;
175 bool m_lastModifiedTimeHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace SageMaker
180} // namespace Aws
void SetImageStatus(ImageStatus &&value)
Definition Image.h:135
void SetImageArn(const Aws::String &value)
Definition Image.h:106
Image & WithImageName(const Aws::String &value)
Definition Image.h:123
void SetDisplayName(const Aws::String &value)
Definition Image.h:77
Image & WithDescription(Aws::String &&value)
Definition Image.h:67
const Aws::String & GetDescription() const
Definition Image.h:61
const ImageStatus & GetImageStatus() const
Definition Image.h:132
Image & WithImageName(const char *value)
Definition Image.h:125
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Image.h:51
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Image.h:146
Image & WithFailureReason(Aws::String &&value)
Definition Image.h:96
Image & WithDescription(const char *value)
Definition Image.h:68
const Aws::String & GetFailureReason() const
Definition Image.h:90
Image & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Image.h:54
void SetFailureReason(const char *value)
Definition Image.h:94
bool ImageNameHasBeenSet() const
Definition Image.h:119
Image & WithFailureReason(const char *value)
Definition Image.h:97
bool LastModifiedTimeHasBeenSet() const
Definition Image.h:145
void SetDescription(const Aws::String &value)
Definition Image.h:63
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool FailureReasonHasBeenSet() const
Definition Image.h:91
Image & WithImageName(Aws::String &&value)
Definition Image.h:124
Image & WithDisplayName(Aws::String &&value)
Definition Image.h:81
AWS_SAGEMAKER_API Image(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetImageArn() const
Definition Image.h:104
Image & WithFailureReason(const Aws::String &value)
Definition Image.h:95
AWS_SAGEMAKER_API Image()
Image & WithDescription(const Aws::String &value)
Definition Image.h:66
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Image.h:144
Image & WithImageArn(const Aws::String &value)
Definition Image.h:109
void SetDisplayName(const char *value)
Definition Image.h:79
const Aws::Utils::DateTime & GetCreationTime() const
Definition Image.h:49
void SetImageName(const char *value)
Definition Image.h:122
bool ImageStatusHasBeenSet() const
Definition Image.h:133
void SetDescription(const char *value)
Definition Image.h:65
void SetImageName(const Aws::String &value)
Definition Image.h:120
Image & WithImageStatus(const ImageStatus &value)
Definition Image.h:136
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Image.h:52
Image & WithImageArn(const char *value)
Definition Image.h:111
void SetImageArn(Aws::String &&value)
Definition Image.h:107
Image & WithImageArn(Aws::String &&value)
Definition Image.h:110
Image & WithImageStatus(ImageStatus &&value)
Definition Image.h:137
const Aws::String & GetDisplayName() const
Definition Image.h:75
bool DisplayNameHasBeenSet() const
Definition Image.h:76
void SetFailureReason(const Aws::String &value)
Definition Image.h:92
void SetDisplayName(Aws::String &&value)
Definition Image.h:78
Image & WithDisplayName(const char *value)
Definition Image.h:82
AWS_SAGEMAKER_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
Image & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Image.h:148
void SetImageName(Aws::String &&value)
Definition Image.h:121
void SetImageStatus(const ImageStatus &value)
Definition Image.h:134
Image & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Image.h:149
void SetImageArn(const char *value)
Definition Image.h:108
bool DescriptionHasBeenSet() const
Definition Image.h:62
void SetDescription(Aws::String &&value)
Definition Image.h:64
void SetFailureReason(Aws::String &&value)
Definition Image.h:93
const Aws::String & GetImageName() const
Definition Image.h:118
Image & WithDisplayName(const Aws::String &value)
Definition Image.h:80
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Image.h:147
Image & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Image.h:53
bool CreationTimeHasBeenSet() const
Definition Image.h:50
bool ImageArnHasBeenSet() const
Definition Image.h:105
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue