AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeModelCardResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ModelCardProcessingStatus.h>
11#include <aws/sagemaker/model/ModelCardSecurityConfig.h>
12#include <aws/sagemaker/model/ModelCardStatus.h>
13#include <aws/sagemaker/model/UserContext.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker {
27namespace Model {
29 public:
30 AWS_SAGEMAKER_API DescribeModelCardResult() = default;
33
35
38 inline const Aws::String& GetModelCardArn() const { return m_modelCardArn; }
39 template <typename ModelCardArnT = Aws::String>
40 void SetModelCardArn(ModelCardArnT&& value) {
41 m_modelCardArnHasBeenSet = true;
42 m_modelCardArn = std::forward<ModelCardArnT>(value);
43 }
44 template <typename ModelCardArnT = Aws::String>
45 DescribeModelCardResult& WithModelCardArn(ModelCardArnT&& value) {
46 SetModelCardArn(std::forward<ModelCardArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetModelCardName() const { return m_modelCardName; }
56 template <typename ModelCardNameT = Aws::String>
57 void SetModelCardName(ModelCardNameT&& value) {
58 m_modelCardNameHasBeenSet = true;
59 m_modelCardName = std::forward<ModelCardNameT>(value);
60 }
61 template <typename ModelCardNameT = Aws::String>
62 DescribeModelCardResult& WithModelCardName(ModelCardNameT&& value) {
63 SetModelCardName(std::forward<ModelCardNameT>(value));
64 return *this;
65 }
67
69
72 inline int GetModelCardVersion() const { return m_modelCardVersion; }
73 inline void SetModelCardVersion(int value) {
74 m_modelCardVersionHasBeenSet = true;
75 m_modelCardVersion = value;
76 }
79 return *this;
80 }
82
84
87 inline const Aws::String& GetContent() const { return m_content; }
88 template <typename ContentT = Aws::String>
89 void SetContent(ContentT&& value) {
90 m_contentHasBeenSet = true;
91 m_content = std::forward<ContentT>(value);
92 }
93 template <typename ContentT = Aws::String>
95 SetContent(std::forward<ContentT>(value));
96 return *this;
97 }
99
101
111 inline ModelCardStatus GetModelCardStatus() const { return m_modelCardStatus; }
113 m_modelCardStatusHasBeenSet = true;
114 m_modelCardStatus = value;
115 }
117 SetModelCardStatus(value);
118 return *this;
119 }
121
123
126 inline const ModelCardSecurityConfig& GetSecurityConfig() const { return m_securityConfig; }
127 template <typename SecurityConfigT = ModelCardSecurityConfig>
128 void SetSecurityConfig(SecurityConfigT&& value) {
129 m_securityConfigHasBeenSet = true;
130 m_securityConfig = std::forward<SecurityConfigT>(value);
131 }
132 template <typename SecurityConfigT = ModelCardSecurityConfig>
133 DescribeModelCardResult& WithSecurityConfig(SecurityConfigT&& value) {
134 SetSecurityConfig(std::forward<SecurityConfigT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
144 template <typename CreationTimeT = Aws::Utils::DateTime>
145 void SetCreationTime(CreationTimeT&& value) {
146 m_creationTimeHasBeenSet = true;
147 m_creationTime = std::forward<CreationTimeT>(value);
148 }
149 template <typename CreationTimeT = Aws::Utils::DateTime>
151 SetCreationTime(std::forward<CreationTimeT>(value));
152 return *this;
153 }
155
157
158 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
159 template <typename CreatedByT = UserContext>
160 void SetCreatedBy(CreatedByT&& value) {
161 m_createdByHasBeenSet = true;
162 m_createdBy = std::forward<CreatedByT>(value);
163 }
164 template <typename CreatedByT = UserContext>
166 SetCreatedBy(std::forward<CreatedByT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
176 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
177 void SetLastModifiedTime(LastModifiedTimeT&& value) {
178 m_lastModifiedTimeHasBeenSet = true;
179 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
180 }
181 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
182 DescribeModelCardResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
183 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
184 return *this;
185 }
187
189
190 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
191 template <typename LastModifiedByT = UserContext>
192 void SetLastModifiedBy(LastModifiedByT&& value) {
193 m_lastModifiedByHasBeenSet = true;
194 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
195 }
196 template <typename LastModifiedByT = UserContext>
197 DescribeModelCardResult& WithLastModifiedBy(LastModifiedByT&& value) {
198 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
199 return *this;
200 }
202
204
216 inline ModelCardProcessingStatus GetModelCardProcessingStatus() const { return m_modelCardProcessingStatus; }
218 m_modelCardProcessingStatusHasBeenSet = true;
219 m_modelCardProcessingStatus = value;
220 }
223 return *this;
224 }
226
228
229 inline const Aws::String& GetRequestId() const { return m_requestId; }
230 template <typename RequestIdT = Aws::String>
231 void SetRequestId(RequestIdT&& value) {
232 m_requestIdHasBeenSet = true;
233 m_requestId = std::forward<RequestIdT>(value);
234 }
235 template <typename RequestIdT = Aws::String>
237 SetRequestId(std::forward<RequestIdT>(value));
238 return *this;
239 }
241 private:
242 Aws::String m_modelCardArn;
243
244 Aws::String m_modelCardName;
245
246 int m_modelCardVersion{0};
247
248 Aws::String m_content;
249
250 ModelCardStatus m_modelCardStatus{ModelCardStatus::NOT_SET};
251
252 ModelCardSecurityConfig m_securityConfig;
253
254 Aws::Utils::DateTime m_creationTime{};
255
256 UserContext m_createdBy;
257
258 Aws::Utils::DateTime m_lastModifiedTime{};
259
260 UserContext m_lastModifiedBy;
261
263
264 Aws::String m_requestId;
265 bool m_modelCardArnHasBeenSet = false;
266 bool m_modelCardNameHasBeenSet = false;
267 bool m_modelCardVersionHasBeenSet = false;
268 bool m_contentHasBeenSet = false;
269 bool m_modelCardStatusHasBeenSet = false;
270 bool m_securityConfigHasBeenSet = false;
271 bool m_creationTimeHasBeenSet = false;
272 bool m_createdByHasBeenSet = false;
273 bool m_lastModifiedTimeHasBeenSet = false;
274 bool m_lastModifiedByHasBeenSet = false;
275 bool m_modelCardProcessingStatusHasBeenSet = false;
276 bool m_requestIdHasBeenSet = false;
277};
278
279} // namespace Model
280} // namespace SageMaker
281} // namespace Aws
DescribeModelCardResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeModelCardResult & WithModelCardStatus(ModelCardStatus value)
DescribeModelCardResult & WithModelCardArn(ModelCardArnT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API DescribeModelCardResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeModelCardResult & WithSecurityConfig(SecurityConfigT &&value)
DescribeModelCardResult & WithContent(ContentT &&value)
DescribeModelCardResult & WithCreationTime(CreationTimeT &&value)
void SetModelCardProcessingStatus(ModelCardProcessingStatus value)
AWS_SAGEMAKER_API DescribeModelCardResult()=default
AWS_SAGEMAKER_API DescribeModelCardResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeModelCardResult & WithModelCardVersion(int value)
DescribeModelCardResult & WithCreatedBy(CreatedByT &&value)
DescribeModelCardResult & WithLastModifiedBy(LastModifiedByT &&value)
ModelCardProcessingStatus GetModelCardProcessingStatus() const
DescribeModelCardResult & WithModelCardProcessingStatus(ModelCardProcessingStatus value)
const ModelCardSecurityConfig & GetSecurityConfig() const
DescribeModelCardResult & WithModelCardName(ModelCardNameT &&value)
DescribeModelCardResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue