AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetModelCardArn() const{ return m_modelCardArn; }
45 inline void SetModelCardArn(const Aws::String& value) { m_modelCardArn = value; }
46 inline void SetModelCardArn(Aws::String&& value) { m_modelCardArn = std::move(value); }
47 inline void SetModelCardArn(const char* value) { m_modelCardArn.assign(value); }
48 inline DescribeModelCardResult& WithModelCardArn(const Aws::String& value) { SetModelCardArn(value); return *this;}
49 inline DescribeModelCardResult& WithModelCardArn(Aws::String&& value) { SetModelCardArn(std::move(value)); return *this;}
50 inline DescribeModelCardResult& WithModelCardArn(const char* value) { SetModelCardArn(value); return *this;}
52
54
57 inline const Aws::String& GetModelCardName() const{ return m_modelCardName; }
58 inline void SetModelCardName(const Aws::String& value) { m_modelCardName = value; }
59 inline void SetModelCardName(Aws::String&& value) { m_modelCardName = std::move(value); }
60 inline void SetModelCardName(const char* value) { m_modelCardName.assign(value); }
61 inline DescribeModelCardResult& WithModelCardName(const Aws::String& value) { SetModelCardName(value); return *this;}
62 inline DescribeModelCardResult& WithModelCardName(Aws::String&& value) { SetModelCardName(std::move(value)); return *this;}
63 inline DescribeModelCardResult& WithModelCardName(const char* value) { SetModelCardName(value); return *this;}
65
67
70 inline int GetModelCardVersion() const{ return m_modelCardVersion; }
71 inline void SetModelCardVersion(int value) { m_modelCardVersion = value; }
72 inline DescribeModelCardResult& WithModelCardVersion(int value) { SetModelCardVersion(value); return *this;}
74
76
79 inline const Aws::String& GetContent() const{ return m_content; }
80 inline void SetContent(const Aws::String& value) { m_content = value; }
81 inline void SetContent(Aws::String&& value) { m_content = std::move(value); }
82 inline void SetContent(const char* value) { m_content.assign(value); }
83 inline DescribeModelCardResult& WithContent(const Aws::String& value) { SetContent(value); return *this;}
84 inline DescribeModelCardResult& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
85 inline DescribeModelCardResult& WithContent(const char* value) { SetContent(value); return *this;}
87
89
99 inline const ModelCardStatus& GetModelCardStatus() const{ return m_modelCardStatus; }
100 inline void SetModelCardStatus(const ModelCardStatus& value) { m_modelCardStatus = value; }
101 inline void SetModelCardStatus(ModelCardStatus&& value) { m_modelCardStatus = std::move(value); }
103 inline DescribeModelCardResult& WithModelCardStatus(ModelCardStatus&& value) { SetModelCardStatus(std::move(value)); return *this;}
105
107
110 inline const ModelCardSecurityConfig& GetSecurityConfig() const{ return m_securityConfig; }
111 inline void SetSecurityConfig(const ModelCardSecurityConfig& value) { m_securityConfig = value; }
112 inline void SetSecurityConfig(ModelCardSecurityConfig&& value) { m_securityConfig = std::move(value); }
114 inline DescribeModelCardResult& WithSecurityConfig(ModelCardSecurityConfig&& value) { SetSecurityConfig(std::move(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
122 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
123 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
125 inline DescribeModelCardResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
127
129
130 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
131 inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; }
132 inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); }
133 inline DescribeModelCardResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
134 inline DescribeModelCardResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
142 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
143 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
147
149
150 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
151 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; }
152 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); }
153 inline DescribeModelCardResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
154 inline DescribeModelCardResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
156
158
170 inline const ModelCardProcessingStatus& GetModelCardProcessingStatus() const{ return m_modelCardProcessingStatus; }
171 inline void SetModelCardProcessingStatus(const ModelCardProcessingStatus& value) { m_modelCardProcessingStatus = value; }
172 inline void SetModelCardProcessingStatus(ModelCardProcessingStatus&& value) { m_modelCardProcessingStatus = std::move(value); }
176
178
179 inline const Aws::String& GetRequestId() const{ return m_requestId; }
180 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
181 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
182 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
183 inline DescribeModelCardResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
184 inline DescribeModelCardResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
185 inline DescribeModelCardResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
187 private:
188
189 Aws::String m_modelCardArn;
190
191 Aws::String m_modelCardName;
192
193 int m_modelCardVersion;
194
195 Aws::String m_content;
196
197 ModelCardStatus m_modelCardStatus;
198
199 ModelCardSecurityConfig m_securityConfig;
200
201 Aws::Utils::DateTime m_creationTime;
202
203 UserContext m_createdBy;
204
205 Aws::Utils::DateTime m_lastModifiedTime;
206
207 UserContext m_lastModifiedBy;
208
209 ModelCardProcessingStatus m_modelCardProcessingStatus;
210
211 Aws::String m_requestId;
212 };
213
214} // namespace Model
215} // namespace SageMaker
216} // namespace Aws
void SetModelCardProcessingStatus(const ModelCardProcessingStatus &value)
DescribeModelCardResult & WithModelCardArn(Aws::String &&value)
DescribeModelCardResult & WithLastModifiedBy(const UserContext &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeModelCardResult & WithRequestId(const Aws::String &value)
DescribeModelCardResult & WithModelCardName(Aws::String &&value)
DescribeModelCardResult & WithCreatedBy(const UserContext &value)
DescribeModelCardResult & WithModelCardName(const Aws::String &value)
AWS_SAGEMAKER_API DescribeModelCardResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeModelCardResult & WithCreatedBy(UserContext &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeModelCardResult & WithModelCardStatus(const ModelCardStatus &value)
DescribeModelCardResult & WithModelCardName(const char *value)
AWS_SAGEMAKER_API DescribeModelCardResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeModelCardResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeModelCardResult & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeModelCardResult & WithModelCardVersion(int value)
DescribeModelCardResult & WithContent(const Aws::String &value)
DescribeModelCardResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetSecurityConfig(const ModelCardSecurityConfig &value)
DescribeModelCardResult & WithRequestId(Aws::String &&value)
DescribeModelCardResult & WithContent(const char *value)
DescribeModelCardResult & WithModelCardProcessingStatus(ModelCardProcessingStatus &&value)
DescribeModelCardResult & WithModelCardProcessingStatus(const ModelCardProcessingStatus &value)
DescribeModelCardResult & WithSecurityConfig(const ModelCardSecurityConfig &value)
void SetSecurityConfig(ModelCardSecurityConfig &&value)
DescribeModelCardResult & WithModelCardStatus(ModelCardStatus &&value)
DescribeModelCardResult & WithContent(Aws::String &&value)
DescribeModelCardResult & WithModelCardArn(const char *value)
DescribeModelCardResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeModelCardResult & WithLastModifiedBy(UserContext &&value)
const ModelCardSecurityConfig & GetSecurityConfig() const
void SetModelCardStatus(const ModelCardStatus &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const ModelCardProcessingStatus & GetModelCardProcessingStatus() const
void SetModelCardProcessingStatus(ModelCardProcessingStatus &&value)
DescribeModelCardResult & WithSecurityConfig(ModelCardSecurityConfig &&value)
DescribeModelCardResult & WithModelCardArn(const Aws::String &value)
DescribeModelCardResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue