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>
54 inline void SetModelCardArn(
const char* value) { m_modelCardArnHasBeenSet =
true; m_modelCardArn.assign(value); }
68 inline void SetModelCardName(
const char* value) { m_modelCardNameHasBeenSet =
true; m_modelCardName.assign(value); }
80 inline void SetModelCardVersion(
int value) { m_modelCardVersionHasBeenSet =
true; m_modelCardVersion = value; }
94 inline void SetContent(
const char* value) { m_contentHasBeenSet =
true; m_content.assign(value); }
185 inline ModelCard&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
186 inline ModelCard&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
197 inline void SetModelId(
const char* value) { m_modelIdHasBeenSet =
true; m_modelId.assign(value); }
214 inline void SetRiskRating(
const char* value) { m_riskRatingHasBeenSet =
true; m_riskRating.assign(value); }
230 inline void SetModelPackageGroupName(
const char* value) { m_modelPackageGroupNameHasBeenSet =
true; m_modelPackageGroupName.assign(value); }
238 bool m_modelCardArnHasBeenSet =
false;
241 bool m_modelCardNameHasBeenSet =
false;
243 int m_modelCardVersion;
244 bool m_modelCardVersionHasBeenSet =
false;
247 bool m_contentHasBeenSet =
false;
250 bool m_modelCardStatusHasBeenSet =
false;
253 bool m_securityConfigHasBeenSet =
false;
256 bool m_creationTimeHasBeenSet =
false;
259 bool m_createdByHasBeenSet =
false;
262 bool m_lastModifiedTimeHasBeenSet =
false;
265 bool m_lastModifiedByHasBeenSet =
false;
268 bool m_tagsHasBeenSet =
false;
271 bool m_modelIdHasBeenSet =
false;
274 bool m_riskRatingHasBeenSet =
false;
277 bool m_modelPackageGroupNameHasBeenSet =
false;
void SetModelCardStatus(const ModelCardStatus &value)
AWS_SAGEMAKER_API ModelCard & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRiskRating() const
ModelCard & AddTags(Tag &&value)
void SetModelCardArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ModelCard & WithCreatedBy(UserContext &&value)
ModelCard & WithModelCardArn(Aws::String &&value)
void SetModelCardArn(const char *value)
void SetRiskRating(const char *value)
ModelCard & AddTags(const Tag &value)
const ModelCardSecurityConfig & GetSecurityConfig() const
ModelCard & WithModelPackageGroupName(const Aws::String &value)
ModelCard & WithTags(Aws::Vector< Tag > &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetContent() const
bool ModelPackageGroupNameHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelCard & WithContent(const Aws::String &value)
const Aws::String & GetModelId() const
bool TagsHasBeenSet() const
bool LastModifiedByHasBeenSet() const
ModelCard & WithModelPackageGroupName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetModelCardName() const
bool ModelCardStatusHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
ModelCard & WithModelPackageGroupName(const char *value)
bool ModelCardVersionHasBeenSet() const
ModelCard & WithLastModifiedBy(const UserContext &value)
const Aws::String & GetModelCardArn() const
ModelCard & WithModelCardName(const char *value)
ModelCard & WithLastModifiedTime(Aws::Utils::DateTime &&value)
ModelCard & WithModelCardArn(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
ModelCard & WithRiskRating(Aws::String &&value)
ModelCard & WithModelId(const Aws::String &value)
const UserContext & GetCreatedBy() const
ModelCard & WithContent(const char *value)
void SetSecurityConfig(ModelCardSecurityConfig &&value)
ModelCard & WithLastModifiedTime(const Aws::Utils::DateTime &value)
ModelCard & WithModelCardVersion(int value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetModelCardVersion(int value)
ModelCard & WithModelCardName(const Aws::String &value)
ModelCard & WithCreationTime(Aws::Utils::DateTime &&value)
ModelCard & WithContent(Aws::String &&value)
AWS_SAGEMAKER_API ModelCard(Aws::Utils::Json::JsonView jsonValue)
ModelCard & WithModelCardName(Aws::String &&value)
void SetModelCardName(Aws::String &&value)
void SetModelCardStatus(ModelCardStatus &&value)
ModelCard & WithRiskRating(const Aws::String &value)
AWS_SAGEMAKER_API ModelCard()
ModelCard & WithTags(const Aws::Vector< Tag > &value)
void SetModelId(const char *value)
void SetContent(const Aws::String &value)
void SetCreatedBy(UserContext &&value)
void SetContent(Aws::String &&value)
const ModelCardStatus & GetModelCardStatus() const
void SetModelId(const Aws::String &value)
const Aws::String & GetModelPackageGroupName() const
bool CreationTimeHasBeenSet() const
const UserContext & GetLastModifiedBy() const
bool ModelIdHasBeenSet() const
ModelCard & WithLastModifiedBy(UserContext &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool CreatedByHasBeenSet() const
ModelCard & WithCreatedBy(const UserContext &value)
bool ContentHasBeenSet() const
void SetModelId(Aws::String &&value)
bool SecurityConfigHasBeenSet() const
void SetRiskRating(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
ModelCard & WithCreationTime(const Aws::Utils::DateTime &value)
void SetModelCardArn(const Aws::String &value)
ModelCard & WithSecurityConfig(const ModelCardSecurityConfig &value)
bool ModelCardNameHasBeenSet() const
void SetContent(const char *value)
ModelCard & WithSecurityConfig(ModelCardSecurityConfig &&value)
ModelCard & WithModelId(Aws::String &&value)
int GetModelCardVersion() const
void SetModelPackageGroupName(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ModelCard & WithModelCardStatus(ModelCardStatus &&value)
void SetSecurityConfig(const ModelCardSecurityConfig &value)
void SetModelCardName(const char *value)
bool LastModifiedTimeHasBeenSet() const
ModelCard & WithModelCardArn(const char *value)
void SetLastModifiedBy(UserContext &&value)
void SetLastModifiedBy(const UserContext &value)
void SetCreatedBy(const UserContext &value)
ModelCard & WithRiskRating(const char *value)
ModelCard & WithModelId(const char *value)
ModelCard & WithModelCardStatus(const ModelCardStatus &value)
bool RiskRatingHasBeenSet() const
bool ModelCardArnHasBeenSet() const
void SetRiskRating(const Aws::String &value)
void SetModelPackageGroupName(const char *value)
void SetModelPackageGroupName(const Aws::String &value)
void SetModelCardName(const Aws::String &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