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>
46 template <
typename ModelCardArnT = Aws::String>
48 m_modelCardArnHasBeenSet =
true;
49 m_modelCardArn = std::forward<ModelCardArnT>(value);
51 template <
typename ModelCardArnT = Aws::String>
64 template <
typename ModelCardNameT = Aws::String>
66 m_modelCardNameHasBeenSet =
true;
67 m_modelCardName = std::forward<ModelCardNameT>(value);
69 template <
typename ModelCardNameT = Aws::String>
83 m_modelCardVersionHasBeenSet =
true;
84 m_modelCardVersion = value;
100 template <
typename ContentT = Aws::String>
102 m_contentHasBeenSet =
true;
103 m_content = std::forward<ContentT>(value);
105 template <
typename ContentT = Aws::String>
126 m_modelCardStatusHasBeenSet =
true;
127 m_modelCardStatus = value;
141 template <
typename SecurityConfigT = ModelCardSecurityConfig>
143 m_securityConfigHasBeenSet =
true;
144 m_securityConfig = std::forward<SecurityConfigT>(value);
146 template <
typename SecurityConfigT = ModelCardSecurityConfig>
159 template <
typename CreationTimeT = Aws::Utils::DateTime>
161 m_creationTimeHasBeenSet =
true;
162 m_creationTime = std::forward<CreationTimeT>(value);
164 template <
typename CreationTimeT = Aws::Utils::DateTime>
175 template <
typename CreatedByT = UserContext>
177 m_createdByHasBeenSet =
true;
178 m_createdBy = std::forward<CreatedByT>(value);
180 template <
typename CreatedByT = UserContext>
193 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
195 m_lastModifiedTimeHasBeenSet =
true;
196 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
198 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
209 template <
typename LastModifiedByT = UserContext>
211 m_lastModifiedByHasBeenSet =
true;
212 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
214 template <
typename LastModifiedByT = UserContext>
227 template <
typename TagsT = Aws::Vector<Tag>>
229 m_tagsHasBeenSet =
true;
230 m_tags = std::forward<TagsT>(value);
232 template <
typename TagsT = Aws::Vector<Tag>>
234 SetTags(std::forward<TagsT>(value));
237 template <
typename TagsT = Tag>
239 m_tagsHasBeenSet =
true;
240 m_tags.emplace_back(std::forward<TagsT>(value));
251 template <
typename ModelIdT = Aws::String>
253 m_modelIdHasBeenSet =
true;
254 m_modelId = std::forward<ModelIdT>(value);
256 template <
typename ModelIdT = Aws::String>
272 template <
typename RiskRatingT = Aws::String>
274 m_riskRatingHasBeenSet =
true;
275 m_riskRating = std::forward<RiskRatingT>(value);
277 template <
typename RiskRatingT = Aws::String>
292 template <
typename ModelPackageGroupNameT = Aws::String>
294 m_modelPackageGroupNameHasBeenSet =
true;
295 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
297 template <
typename ModelPackageGroupNameT = Aws::String>
308 int m_modelCardVersion{0};
314 ModelCardSecurityConfig m_securityConfig;
318 UserContext m_createdBy;
322 UserContext m_lastModifiedBy;
331 bool m_modelCardArnHasBeenSet =
false;
332 bool m_modelCardNameHasBeenSet =
false;
333 bool m_modelCardVersionHasBeenSet =
false;
334 bool m_contentHasBeenSet =
false;
335 bool m_modelCardStatusHasBeenSet =
false;
336 bool m_securityConfigHasBeenSet =
false;
337 bool m_creationTimeHasBeenSet =
false;
338 bool m_createdByHasBeenSet =
false;
339 bool m_lastModifiedTimeHasBeenSet =
false;
340 bool m_lastModifiedByHasBeenSet =
false;
341 bool m_tagsHasBeenSet =
false;
342 bool m_modelIdHasBeenSet =
false;
343 bool m_riskRatingHasBeenSet =
false;
344 bool m_modelPackageGroupNameHasBeenSet =
false;
AWS_SAGEMAKER_API ModelCard & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRiskRating() const
void SetLastModifiedBy(LastModifiedByT &&value)
void SetTags(TagsT &&value)
const ModelCardSecurityConfig & GetSecurityConfig() const
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetContent() const
bool ModelPackageGroupNameHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetModelId() const
bool TagsHasBeenSet() const
bool LastModifiedByHasBeenSet() const
void SetSecurityConfig(SecurityConfigT &&value)
void SetRiskRating(RiskRatingT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetModelCardName() const
bool ModelCardStatusHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool ModelCardVersionHasBeenSet() const
ModelCard & WithModelCardArn(ModelCardArnT &&value)
const Aws::String & GetModelCardArn() const
const UserContext & GetCreatedBy() const
void SetModelId(ModelIdT &&value)
ModelCardStatus GetModelCardStatus() const
ModelCard & WithModelCardVersion(int value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetModelCardVersion(int value)
ModelCard & WithContent(ContentT &&value)
AWS_SAGEMAKER_API ModelCard(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetModelPackageGroupName() const
bool CreationTimeHasBeenSet() const
const UserContext & GetLastModifiedBy() const
bool ModelIdHasBeenSet() const
ModelCard & WithCreationTime(CreationTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
ModelCard & WithLastModifiedBy(LastModifiedByT &&value)
bool CreatedByHasBeenSet() const
ModelCard & AddTags(TagsT &&value)
void SetContent(ContentT &&value)
void SetModelCardArn(ModelCardArnT &&value)
bool ContentHasBeenSet() const
ModelCard & WithModelCardStatus(ModelCardStatus value)
ModelCard & WithModelId(ModelIdT &&value)
bool SecurityConfigHasBeenSet() const
ModelCard & WithModelCardName(ModelCardNameT &&value)
ModelCard & WithRiskRating(RiskRatingT &&value)
ModelCard & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
ModelCard & WithLastModifiedTime(LastModifiedTimeT &&value)
bool ModelCardNameHasBeenSet() const
int GetModelCardVersion() const
ModelCard & WithCreatedBy(CreatedByT &&value)
bool LastModifiedTimeHasBeenSet() const
ModelCard & WithSecurityConfig(SecurityConfigT &&value)
bool RiskRatingHasBeenSet() const
void SetModelPackageGroupName(ModelPackageGroupNameT &&value)
bool ModelCardArnHasBeenSet() const
ModelCard & WithTags(TagsT &&value)
void SetModelCardStatus(ModelCardStatus value)
AWS_SAGEMAKER_API ModelCard()=default
void SetModelCardName(ModelCardNameT &&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