/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

A summary of the model card.

See Also:

AWS * API Reference

*/ class ModelCardSummary { public: AWS_SAGEMAKER_API ModelCardSummary(); AWS_SAGEMAKER_API ModelCardSummary(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API ModelCardSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the model card.

*/ inline const Aws::String& GetModelCardName() const{ return m_modelCardName; } /** *

The name of the model card.

*/ inline bool ModelCardNameHasBeenSet() const { return m_modelCardNameHasBeenSet; } /** *

The name of the model card.

*/ inline void SetModelCardName(const Aws::String& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = value; } /** *

The name of the model card.

*/ inline void SetModelCardName(Aws::String&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::move(value); } /** *

The name of the model card.

*/ inline void SetModelCardName(const char* value) { m_modelCardNameHasBeenSet = true; m_modelCardName.assign(value); } /** *

The name of the model card.

*/ inline ModelCardSummary& WithModelCardName(const Aws::String& value) { SetModelCardName(value); return *this;} /** *

The name of the model card.

*/ inline ModelCardSummary& WithModelCardName(Aws::String&& value) { SetModelCardName(std::move(value)); return *this;} /** *

The name of the model card.

*/ inline ModelCardSummary& WithModelCardName(const char* value) { SetModelCardName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the model card.

*/ inline const Aws::String& GetModelCardArn() const{ return m_modelCardArn; } /** *

The Amazon Resource Name (ARN) of the model card.

*/ inline bool ModelCardArnHasBeenSet() const { return m_modelCardArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the model card.

*/ inline void SetModelCardArn(const Aws::String& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = value; } /** *

The Amazon Resource Name (ARN) of the model card.

*/ inline void SetModelCardArn(Aws::String&& value) { m_modelCardArnHasBeenSet = true; m_modelCardArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the model card.

*/ inline void SetModelCardArn(const char* value) { m_modelCardArnHasBeenSet = true; m_modelCardArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the model card.

*/ inline ModelCardSummary& WithModelCardArn(const Aws::String& value) { SetModelCardArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the model card.

*/ inline ModelCardSummary& WithModelCardArn(Aws::String&& value) { SetModelCardArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the model card.

*/ inline ModelCardSummary& WithModelCardArn(const char* value) { SetModelCardArn(value); return *this;} /** *

The approval status of the model card within your organization. Different * organizations might have different criteria for model card review and * approval.

  • Draft: The model card is a work in * progress.

  • PendingReview: The model card is * pending review.

  • Approved: The model card is * approved.

  • Archived: The model card is archived. * No more updates should be made to the model card, but it can still be * exported.

*/ inline const ModelCardStatus& GetModelCardStatus() const{ return m_modelCardStatus; } /** *

The approval status of the model card within your organization. Different * organizations might have different criteria for model card review and * approval.

  • Draft: The model card is a work in * progress.

  • PendingReview: The model card is * pending review.

  • Approved: The model card is * approved.

  • Archived: The model card is archived. * No more updates should be made to the model card, but it can still be * exported.

*/ inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; } /** *

The approval status of the model card within your organization. Different * organizations might have different criteria for model card review and * approval.

  • Draft: The model card is a work in * progress.

  • PendingReview: The model card is * pending review.

  • Approved: The model card is * approved.

  • Archived: The model card is archived. * No more updates should be made to the model card, but it can still be * exported.

*/ inline void SetModelCardStatus(const ModelCardStatus& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; } /** *

The approval status of the model card within your organization. Different * organizations might have different criteria for model card review and * approval.

  • Draft: The model card is a work in * progress.

  • PendingReview: The model card is * pending review.

  • Approved: The model card is * approved.

  • Archived: The model card is archived. * No more updates should be made to the model card, but it can still be * exported.

*/ inline void SetModelCardStatus(ModelCardStatus&& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = std::move(value); } /** *

The approval status of the model card within your organization. Different * organizations might have different criteria for model card review and * approval.

  • Draft: The model card is a work in * progress.

  • PendingReview: The model card is * pending review.

  • Approved: The model card is * approved.

  • Archived: The model card is archived. * No more updates should be made to the model card, but it can still be * exported.

*/ inline ModelCardSummary& WithModelCardStatus(const ModelCardStatus& value) { SetModelCardStatus(value); return *this;} /** *

The approval status of the model card within your organization. Different * organizations might have different criteria for model card review and * approval.

  • Draft: The model card is a work in * progress.

  • PendingReview: The model card is * pending review.

  • Approved: The model card is * approved.

  • Archived: The model card is archived. * No more updates should be made to the model card, but it can still be * exported.

*/ inline ModelCardSummary& WithModelCardStatus(ModelCardStatus&& value) { SetModelCardStatus(std::move(value)); return *this;} /** *

The date and time that the model card was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The date and time that the model card was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The date and time that the model card was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The date and time that the model card was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The date and time that the model card was created.

*/ inline ModelCardSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The date and time that the model card was created.

*/ inline ModelCardSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The date and time that the model card was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The date and time that the model card was last modified.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

The date and time that the model card was last modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

The date and time that the model card was last modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

The date and time that the model card was last modified.

*/ inline ModelCardSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The date and time that the model card was last modified.

*/ inline ModelCardSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_modelCardName; bool m_modelCardNameHasBeenSet = false; Aws::String m_modelCardArn; bool m_modelCardArnHasBeenSet = false; ModelCardStatus m_modelCardStatus; bool m_modelCardStatusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws