AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeModelCardResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ModelCardStatus.h>
10#include <aws/sagemaker/model/ModelCardSecurityConfig.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/UserContext.h>
13#include <aws/sagemaker/model/ModelCardProcessingStatus.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SAGEMAKER_API DescribeModelCardResult() = default;
38
39
41
44 inline const Aws::String& GetModelCardArn() const { return m_modelCardArn; }
45 template<typename ModelCardArnT = Aws::String>
46 void SetModelCardArn(ModelCardArnT&& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = std::forward<ModelCardArnT>(value); }
47 template<typename ModelCardArnT = Aws::String>
48 DescribeModelCardResult& WithModelCardArn(ModelCardArnT&& value) { SetModelCardArn(std::forward<ModelCardArnT>(value)); return *this;}
50
52
55 inline const Aws::String& GetModelCardName() const { return m_modelCardName; }
56 template<typename ModelCardNameT = Aws::String>
57 void SetModelCardName(ModelCardNameT&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::forward<ModelCardNameT>(value); }
58 template<typename ModelCardNameT = Aws::String>
59 DescribeModelCardResult& WithModelCardName(ModelCardNameT&& value) { SetModelCardName(std::forward<ModelCardNameT>(value)); return *this;}
61
63
66 inline int GetModelCardVersion() const { return m_modelCardVersion; }
67 inline void SetModelCardVersion(int value) { m_modelCardVersionHasBeenSet = true; m_modelCardVersion = value; }
68 inline DescribeModelCardResult& WithModelCardVersion(int value) { SetModelCardVersion(value); return *this;}
70
72
75 inline const Aws::String& GetContent() const { return m_content; }
76 template<typename ContentT = Aws::String>
77 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
78 template<typename ContentT = Aws::String>
79 DescribeModelCardResult& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
81
83
93 inline ModelCardStatus GetModelCardStatus() const { return m_modelCardStatus; }
94 inline void SetModelCardStatus(ModelCardStatus value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; }
97
99
102 inline const ModelCardSecurityConfig& GetSecurityConfig() const { return m_securityConfig; }
103 template<typename SecurityConfigT = ModelCardSecurityConfig>
104 void SetSecurityConfig(SecurityConfigT&& value) { m_securityConfigHasBeenSet = true; m_securityConfig = std::forward<SecurityConfigT>(value); }
105 template<typename SecurityConfigT = ModelCardSecurityConfig>
106 DescribeModelCardResult& WithSecurityConfig(SecurityConfigT&& value) { SetSecurityConfig(std::forward<SecurityConfigT>(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
114 template<typename CreationTimeT = Aws::Utils::DateTime>
115 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
116 template<typename CreationTimeT = Aws::Utils::DateTime>
117 DescribeModelCardResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
119
121
122 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
123 template<typename CreatedByT = UserContext>
124 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
125 template<typename CreatedByT = UserContext>
126 DescribeModelCardResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
134 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
135 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
136 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
137 DescribeModelCardResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
139
141
142 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
143 template<typename LastModifiedByT = UserContext>
144 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
145 template<typename LastModifiedByT = UserContext>
146 DescribeModelCardResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
148
150
162 inline ModelCardProcessingStatus GetModelCardProcessingStatus() const { return m_modelCardProcessingStatus; }
163 inline void SetModelCardProcessingStatus(ModelCardProcessingStatus value) { m_modelCardProcessingStatusHasBeenSet = true; m_modelCardProcessingStatus = value; }
166
168
169 inline const Aws::String& GetRequestId() const { return m_requestId; }
170 template<typename RequestIdT = Aws::String>
171 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
172 template<typename RequestIdT = Aws::String>
173 DescribeModelCardResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
175 private:
176
177 Aws::String m_modelCardArn;
178 bool m_modelCardArnHasBeenSet = false;
179
180 Aws::String m_modelCardName;
181 bool m_modelCardNameHasBeenSet = false;
182
183 int m_modelCardVersion{0};
184 bool m_modelCardVersionHasBeenSet = false;
185
186 Aws::String m_content;
187 bool m_contentHasBeenSet = false;
188
189 ModelCardStatus m_modelCardStatus{ModelCardStatus::NOT_SET};
190 bool m_modelCardStatusHasBeenSet = false;
191
192 ModelCardSecurityConfig m_securityConfig;
193 bool m_securityConfigHasBeenSet = false;
194
195 Aws::Utils::DateTime m_creationTime{};
196 bool m_creationTimeHasBeenSet = false;
197
198 UserContext m_createdBy;
199 bool m_createdByHasBeenSet = false;
200
201 Aws::Utils::DateTime m_lastModifiedTime{};
202 bool m_lastModifiedTimeHasBeenSet = false;
203
204 UserContext m_lastModifiedBy;
205 bool m_lastModifiedByHasBeenSet = false;
206
208 bool m_modelCardProcessingStatusHasBeenSet = false;
209
210 Aws::String m_requestId;
211 bool m_requestIdHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace SageMaker
216} // 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