AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelDashboardModelCard.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/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_SAGEMAKER_API ModelDashboardModelCard();
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetModelCardArn() const{ return m_modelCardArn; }
52 inline bool ModelCardArnHasBeenSet() const { return m_modelCardArnHasBeenSet; }
53 inline void SetModelCardArn(const Aws::String& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = value; }
54 inline void SetModelCardArn(Aws::String&& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = std::move(value); }
55 inline void SetModelCardArn(const char* value) { m_modelCardArnHasBeenSet = true; m_modelCardArn.assign(value); }
56 inline ModelDashboardModelCard& WithModelCardArn(const Aws::String& value) { SetModelCardArn(value); return *this;}
57 inline ModelDashboardModelCard& WithModelCardArn(Aws::String&& value) { SetModelCardArn(std::move(value)); return *this;}
58 inline ModelDashboardModelCard& WithModelCardArn(const char* value) { SetModelCardArn(value); return *this;}
60
62
65 inline const Aws::String& GetModelCardName() const{ return m_modelCardName; }
66 inline bool ModelCardNameHasBeenSet() const { return m_modelCardNameHasBeenSet; }
67 inline void SetModelCardName(const Aws::String& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = value; }
68 inline void SetModelCardName(Aws::String&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::move(value); }
69 inline void SetModelCardName(const char* value) { m_modelCardNameHasBeenSet = true; m_modelCardName.assign(value); }
70 inline ModelDashboardModelCard& WithModelCardName(const Aws::String& value) { SetModelCardName(value); return *this;}
71 inline ModelDashboardModelCard& WithModelCardName(Aws::String&& value) { SetModelCardName(std::move(value)); return *this;}
72 inline ModelDashboardModelCard& WithModelCardName(const char* value) { SetModelCardName(value); return *this;}
74
76
79 inline int GetModelCardVersion() const{ return m_modelCardVersion; }
80 inline bool ModelCardVersionHasBeenSet() const { return m_modelCardVersionHasBeenSet; }
81 inline void SetModelCardVersion(int value) { m_modelCardVersionHasBeenSet = true; m_modelCardVersion = value; }
82 inline ModelDashboardModelCard& WithModelCardVersion(int value) { SetModelCardVersion(value); return *this;}
84
86
89 inline const ModelCardStatus& GetModelCardStatus() const{ return m_modelCardStatus; }
90 inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; }
91 inline void SetModelCardStatus(const ModelCardStatus& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; }
92 inline void SetModelCardStatus(ModelCardStatus&& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = std::move(value); }
94 inline ModelDashboardModelCard& WithModelCardStatus(ModelCardStatus&& value) { SetModelCardStatus(std::move(value)); return *this;}
96
98
102 inline const ModelCardSecurityConfig& GetSecurityConfig() const{ return m_securityConfig; }
103 inline bool SecurityConfigHasBeenSet() const { return m_securityConfigHasBeenSet; }
104 inline void SetSecurityConfig(const ModelCardSecurityConfig& value) { m_securityConfigHasBeenSet = true; m_securityConfig = value; }
105 inline void SetSecurityConfig(ModelCardSecurityConfig&& value) { m_securityConfigHasBeenSet = true; m_securityConfig = std::move(value); }
107 inline ModelDashboardModelCard& WithSecurityConfig(ModelCardSecurityConfig&& value) { SetSecurityConfig(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
115 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
116 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
117 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
119 inline ModelDashboardModelCard& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
121
123
124 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
125 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
126 inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
127 inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
128 inline ModelDashboardModelCard& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
129 inline ModelDashboardModelCard& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
131
133
136 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
137 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
138 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
139 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
143
145
146 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
147 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
148 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
149 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
150 inline ModelDashboardModelCard& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
151 inline ModelDashboardModelCard& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
153
155
158 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
159 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
160 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
161 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
162 inline ModelDashboardModelCard& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
163 inline ModelDashboardModelCard& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
164 inline ModelDashboardModelCard& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
165 inline ModelDashboardModelCard& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
167
169
173 inline const Aws::String& GetModelId() const{ return m_modelId; }
174 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
175 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
176 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
177 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
178 inline ModelDashboardModelCard& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
179 inline ModelDashboardModelCard& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
180 inline ModelDashboardModelCard& WithModelId(const char* value) { SetModelId(value); return *this;}
182
184
187 inline const Aws::String& GetRiskRating() const{ return m_riskRating; }
188 inline bool RiskRatingHasBeenSet() const { return m_riskRatingHasBeenSet; }
189 inline void SetRiskRating(const Aws::String& value) { m_riskRatingHasBeenSet = true; m_riskRating = value; }
190 inline void SetRiskRating(Aws::String&& value) { m_riskRatingHasBeenSet = true; m_riskRating = std::move(value); }
191 inline void SetRiskRating(const char* value) { m_riskRatingHasBeenSet = true; m_riskRating.assign(value); }
192 inline ModelDashboardModelCard& WithRiskRating(const Aws::String& value) { SetRiskRating(value); return *this;}
193 inline ModelDashboardModelCard& WithRiskRating(Aws::String&& value) { SetRiskRating(std::move(value)); return *this;}
194 inline ModelDashboardModelCard& WithRiskRating(const char* value) { SetRiskRating(value); return *this;}
196 private:
197
198 Aws::String m_modelCardArn;
199 bool m_modelCardArnHasBeenSet = false;
200
201 Aws::String m_modelCardName;
202 bool m_modelCardNameHasBeenSet = false;
203
204 int m_modelCardVersion;
205 bool m_modelCardVersionHasBeenSet = false;
206
207 ModelCardStatus m_modelCardStatus;
208 bool m_modelCardStatusHasBeenSet = false;
209
210 ModelCardSecurityConfig m_securityConfig;
211 bool m_securityConfigHasBeenSet = false;
212
213 Aws::Utils::DateTime m_creationTime;
214 bool m_creationTimeHasBeenSet = false;
215
216 UserContext m_createdBy;
217 bool m_createdByHasBeenSet = false;
218
219 Aws::Utils::DateTime m_lastModifiedTime;
220 bool m_lastModifiedTimeHasBeenSet = false;
221
222 UserContext m_lastModifiedBy;
223 bool m_lastModifiedByHasBeenSet = false;
224
225 Aws::Vector<Tag> m_tags;
226 bool m_tagsHasBeenSet = false;
227
228 Aws::String m_modelId;
229 bool m_modelIdHasBeenSet = false;
230
231 Aws::String m_riskRating;
232 bool m_riskRatingHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace SageMaker
237} // namespace Aws
ModelDashboardModelCard & WithRiskRating(Aws::String &&value)
ModelDashboardModelCard & WithCreationTime(const Aws::Utils::DateTime &value)
ModelDashboardModelCard & WithCreatedBy(UserContext &&value)
ModelDashboardModelCard & WithLastModifiedBy(UserContext &&value)
ModelDashboardModelCard & AddTags(Tag &&value)
void SetModelCardStatus(const ModelCardStatus &value)
const ModelCardSecurityConfig & GetSecurityConfig() const
ModelDashboardModelCard & AddTags(const Tag &value)
ModelDashboardModelCard & WithCreatedBy(const UserContext &value)
ModelDashboardModelCard & WithCreationTime(Aws::Utils::DateTime &&value)
ModelDashboardModelCard & WithModelCardArn(const Aws::String &value)
ModelDashboardModelCard & WithModelId(const char *value)
ModelDashboardModelCard & WithModelCardStatus(ModelCardStatus &&value)
ModelDashboardModelCard & WithModelCardName(const char *value)
void SetSecurityConfig(ModelCardSecurityConfig &&value)
ModelDashboardModelCard & WithSecurityConfig(ModelCardSecurityConfig &&value)
ModelDashboardModelCard & WithRiskRating(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ModelDashboardModelCard & WithModelCardName(const Aws::String &value)
ModelDashboardModelCard & WithModelCardArn(const char *value)
ModelDashboardModelCard & WithModelCardStatus(const ModelCardStatus &value)
ModelDashboardModelCard & WithLastModifiedTime(const Aws::Utils::DateTime &value)
ModelDashboardModelCard & WithModelCardName(Aws::String &&value)
ModelDashboardModelCard & WithModelId(const Aws::String &value)
void SetSecurityConfig(const ModelCardSecurityConfig &value)
ModelDashboardModelCard & WithTags(Aws::Vector< Tag > &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelDashboardModelCard & WithSecurityConfig(const ModelCardSecurityConfig &value)
ModelDashboardModelCard & WithModelCardVersion(int value)
AWS_SAGEMAKER_API ModelDashboardModelCard & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelDashboardModelCard & WithTags(const Aws::Vector< Tag > &value)
ModelDashboardModelCard & WithLastModifiedBy(const UserContext &value)
ModelDashboardModelCard & WithModelCardArn(Aws::String &&value)
AWS_SAGEMAKER_API ModelDashboardModelCard(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelDashboardModelCard & WithLastModifiedTime(Aws::Utils::DateTime &&value)
ModelDashboardModelCard & WithModelId(Aws::String &&value)
ModelDashboardModelCard & WithRiskRating(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Vector< Tag > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue