/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of a specific version of the model card.See Also:
* AWS
* API Reference
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 ModelCardVersionSummary& WithModelCardName(const Aws::String& value) { SetModelCardName(value); return *this;} /** *The name of the model card.
*/ inline ModelCardVersionSummary& WithModelCardName(Aws::String&& value) { SetModelCardName(std::move(value)); return *this;} /** *The name of the model card.
*/ inline ModelCardVersionSummary& 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 ModelCardVersionSummary& WithModelCardArn(const Aws::String& value) { SetModelCardArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the model card.
*/ inline ModelCardVersionSummary& WithModelCardArn(Aws::String&& value) { SetModelCardArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the model card.
*/ inline ModelCardVersionSummary& WithModelCardArn(const char* value) { SetModelCardArn(value); return *this;} /** *The approval status of the model card version 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.
The approval status of the model card version 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.
The approval status of the model card version 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.
The approval status of the model card version 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.
The approval status of the model card version 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.
The approval status of the model card version 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.
A version of the model card.
*/ inline int GetModelCardVersion() const{ return m_modelCardVersion; } /** *A version of the model card.
*/ inline bool ModelCardVersionHasBeenSet() const { return m_modelCardVersionHasBeenSet; } /** *A version of the model card.
*/ inline void SetModelCardVersion(int value) { m_modelCardVersionHasBeenSet = true; m_modelCardVersion = value; } /** *A version of the model card.
*/ inline ModelCardVersionSummary& WithModelCardVersion(int value) { SetModelCardVersion(value); return *this;} /** *The date and time that the model card version was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The date and time that the model card version was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The date and time that the model card version was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The date and time that the model card version 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 version was created.
*/ inline ModelCardVersionSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The date and time that the model card version was created.
*/ inline ModelCardVersionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The time date and time that the model card version was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The time date and time that the model card version was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The time date and time that the model card version was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The time date and time that the model card version was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The time date and time that the model card version was last modified.
*/ inline ModelCardVersionSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The time date and time that the model card version was last modified.
*/ inline ModelCardVersionSummary& 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; int m_modelCardVersion; bool m_modelCardVersionHasBeenSet = 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