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>
52 template<
typename ModelCardArnT = Aws::String>
53 void SetModelCardArn(ModelCardArnT&& value) { m_modelCardArnHasBeenSet =
true; m_modelCardArn = std::forward<ModelCardArnT>(value); }
54 template<
typename ModelCardArnT = Aws::String>
64 template<
typename ModelCardNameT = Aws::String>
65 void SetModelCardName(ModelCardNameT&& value) { m_modelCardNameHasBeenSet =
true; m_modelCardName = std::forward<ModelCardNameT>(value); }
66 template<
typename ModelCardNameT = Aws::String>
76 inline void SetModelCardVersion(
int value) { m_modelCardVersionHasBeenSet =
true; m_modelCardVersion = value; }
88 template<
typename ContentT = Aws::String>
89 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
90 template<
typename ContentT = Aws::String>
117 template<
typename SecurityConfigT = ModelCardSecurityConfig>
118 void SetSecurityConfig(SecurityConfigT&& value) { m_securityConfigHasBeenSet =
true; m_securityConfig = std::forward<SecurityConfigT>(value); }
119 template<
typename SecurityConfigT = ModelCardSecurityConfig>
129 template<
typename CreationTimeT = Aws::Utils::DateTime>
130 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
131 template<
typename CreationTimeT = Aws::Utils::DateTime>
139 template<
typename CreatedByT = UserContext>
140 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
141 template<
typename CreatedByT = UserContext>
151 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
152 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
153 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
161 template<
typename LastModifiedByT = UserContext>
162 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
163 template<
typename LastModifiedByT = UserContext>
173 template<
typename TagsT = Aws::Vector<Tag>>
174 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
175 template<
typename TagsT = Aws::Vector<Tag>>
177 template<
typename TagsT = Tag>
178 ModelCard&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
187 template<
typename ModelIdT = Aws::String>
188 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet =
true; m_modelId = std::forward<ModelIdT>(value); }
189 template<
typename ModelIdT = Aws::String>
202 template<
typename RiskRatingT = Aws::String>
203 void SetRiskRating(RiskRatingT&& value) { m_riskRatingHasBeenSet =
true; m_riskRating = std::forward<RiskRatingT>(value); }
204 template<
typename RiskRatingT = Aws::String>
216 template<
typename ModelPackageGroupNameT = Aws::String>
217 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) { m_modelPackageGroupNameHasBeenSet =
true; m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value); }
218 template<
typename ModelPackageGroupNameT = Aws::String>
224 bool m_modelCardArnHasBeenSet =
false;
227 bool m_modelCardNameHasBeenSet =
false;
229 int m_modelCardVersion{0};
230 bool m_modelCardVersionHasBeenSet =
false;
233 bool m_contentHasBeenSet =
false;
236 bool m_modelCardStatusHasBeenSet =
false;
238 ModelCardSecurityConfig m_securityConfig;
239 bool m_securityConfigHasBeenSet =
false;
242 bool m_creationTimeHasBeenSet =
false;
244 UserContext m_createdBy;
245 bool m_createdByHasBeenSet =
false;
248 bool m_lastModifiedTimeHasBeenSet =
false;
250 UserContext m_lastModifiedBy;
251 bool m_lastModifiedByHasBeenSet =
false;
254 bool m_tagsHasBeenSet =
false;
257 bool m_modelIdHasBeenSet =
false;
260 bool m_riskRatingHasBeenSet =
false;
263 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