7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/ModelCardSecurityConfig.h>
12#include <aws/sagemaker/model/ModelCardStatus.h>
13#include <aws/sagemaker/model/Tag.h>
14#include <aws/sagemaker/model/UserContext.h>
47 template <
typename ModelCardArnT = Aws::String>
49 m_modelCardArnHasBeenSet =
true;
50 m_modelCardArn = std::forward<ModelCardArnT>(value);
52 template <
typename ModelCardArnT = Aws::String>
65 template <
typename ModelCardNameT = Aws::String>
67 m_modelCardNameHasBeenSet =
true;
68 m_modelCardName = std::forward<ModelCardNameT>(value);
70 template <
typename ModelCardNameT = Aws::String>
84 m_modelCardVersionHasBeenSet =
true;
85 m_modelCardVersion = value;
100 m_modelCardStatusHasBeenSet =
true;
101 m_modelCardStatus = value;
116 template <
typename SecurityConfigT = ModelCardSecurityConfig>
118 m_securityConfigHasBeenSet =
true;
119 m_securityConfig = std::forward<SecurityConfigT>(value);
121 template <
typename SecurityConfigT = ModelCardSecurityConfig>
134 template <
typename CreationTimeT = Aws::Utils::DateTime>
136 m_creationTimeHasBeenSet =
true;
137 m_creationTime = std::forward<CreationTimeT>(value);
139 template <
typename CreationTimeT = Aws::Utils::DateTime>
150 template <
typename CreatedByT = UserContext>
152 m_createdByHasBeenSet =
true;
153 m_createdBy = std::forward<CreatedByT>(value);
155 template <
typename CreatedByT = UserContext>
168 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
170 m_lastModifiedTimeHasBeenSet =
true;
171 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
173 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
184 template <
typename LastModifiedByT = UserContext>
186 m_lastModifiedByHasBeenSet =
true;
187 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
189 template <
typename LastModifiedByT = UserContext>
202 template <
typename TagsT = Aws::Vector<Tag>>
204 m_tagsHasBeenSet =
true;
205 m_tags = std::forward<TagsT>(value);
207 template <
typename TagsT = Aws::Vector<Tag>>
209 SetTags(std::forward<TagsT>(value));
212 template <
typename TagsT = Tag>
214 m_tagsHasBeenSet =
true;
215 m_tags.emplace_back(std::forward<TagsT>(value));
227 template <
typename ModelIdT = Aws::String>
229 m_modelIdHasBeenSet =
true;
230 m_modelId = std::forward<ModelIdT>(value);
232 template <
typename ModelIdT = Aws::String>
245 template <
typename RiskRatingT = Aws::String>
247 m_riskRatingHasBeenSet =
true;
248 m_riskRating = std::forward<RiskRatingT>(value);
250 template <
typename RiskRatingT = Aws::String>
261 int m_modelCardVersion{0};
265 ModelCardSecurityConfig m_securityConfig;
269 UserContext m_createdBy;
273 UserContext m_lastModifiedBy;
280 bool m_modelCardArnHasBeenSet =
false;
281 bool m_modelCardNameHasBeenSet =
false;
282 bool m_modelCardVersionHasBeenSet =
false;
283 bool m_modelCardStatusHasBeenSet =
false;
284 bool m_securityConfigHasBeenSet =
false;
285 bool m_creationTimeHasBeenSet =
false;
286 bool m_createdByHasBeenSet =
false;
287 bool m_lastModifiedTimeHasBeenSet =
false;
288 bool m_lastModifiedByHasBeenSet =
false;
289 bool m_tagsHasBeenSet =
false;
290 bool m_modelIdHasBeenSet =
false;
291 bool m_riskRatingHasBeenSet =
false;
ModelDashboardModelCard & AddTags(TagsT &&value)
ModelDashboardModelCard & WithSecurityConfig(SecurityConfigT &&value)
const Aws::String & GetRiskRating() const
ModelDashboardModelCard & WithTags(TagsT &&value)
const ModelCardSecurityConfig & GetSecurityConfig() const
const Aws::String & GetModelCardArn() const
bool CreatedByHasBeenSet() const
bool ModelCardArnHasBeenSet() const
int GetModelCardVersion() const
void SetModelCardStatus(ModelCardStatus value)
AWS_SAGEMAKER_API ModelDashboardModelCard()=default
ModelDashboardModelCard & WithLastModifiedBy(LastModifiedByT &&value)
bool TagsHasBeenSet() const
void SetRiskRating(RiskRatingT &&value)
void SetSecurityConfig(SecurityConfigT &&value)
const UserContext & GetCreatedBy() const
const Aws::String & GetModelId() const
const Aws::String & GetModelCardName() const
void SetCreationTime(CreationTimeT &&value)
bool LastModifiedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool ModelCardVersionHasBeenSet() const
void SetModelCardName(ModelCardNameT &&value)
void SetModelCardVersion(int value)
void SetLastModifiedBy(LastModifiedByT &&value)
bool CreationTimeHasBeenSet() const
const UserContext & GetLastModifiedBy() const
ModelDashboardModelCard & WithModelCardArn(ModelCardArnT &&value)
ModelDashboardModelCard & WithModelCardStatus(ModelCardStatus value)
const Aws::Vector< Tag > & GetTags() const
bool LastModifiedByHasBeenSet() const
bool ModelCardNameHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetModelId(ModelIdT &&value)
ModelDashboardModelCard & WithRiskRating(RiskRatingT &&value)
ModelDashboardModelCard & WithLastModifiedTime(LastModifiedTimeT &&value)
bool ModelCardStatusHasBeenSet() const
ModelDashboardModelCard & WithCreationTime(CreationTimeT &&value)
ModelDashboardModelCard & WithModelCardVersion(int value)
AWS_SAGEMAKER_API ModelDashboardModelCard & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelDashboardModelCard & WithModelId(ModelIdT &&value)
AWS_SAGEMAKER_API ModelDashboardModelCard(Aws::Utils::Json::JsonView jsonValue)
bool SecurityConfigHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedBy(CreatedByT &&value)
ModelDashboardModelCard & WithCreatedBy(CreatedByT &&value)
bool ModelIdHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetModelCardArn(ModelCardArnT &&value)
ModelCardStatus GetModelCardStatus() const
void SetTags(TagsT &&value)
ModelDashboardModelCard & WithModelCardName(ModelCardNameT &&value)
bool RiskRatingHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue