/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides summary information about a model package.See Also:
* AWS
* API Reference
The name of the model package.
*/ inline const Aws::String& GetModelPackageName() const{ return m_modelPackageName; } /** *The name of the model package.
*/ inline bool ModelPackageNameHasBeenSet() const { return m_modelPackageNameHasBeenSet; } /** *The name of the model package.
*/ inline void SetModelPackageName(const Aws::String& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = value; } /** *The name of the model package.
*/ inline void SetModelPackageName(Aws::String&& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = std::move(value); } /** *The name of the model package.
*/ inline void SetModelPackageName(const char* value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName.assign(value); } /** *The name of the model package.
*/ inline ModelPackageSummary& WithModelPackageName(const Aws::String& value) { SetModelPackageName(value); return *this;} /** *The name of the model package.
*/ inline ModelPackageSummary& WithModelPackageName(Aws::String&& value) { SetModelPackageName(std::move(value)); return *this;} /** *The name of the model package.
*/ inline ModelPackageSummary& WithModelPackageName(const char* value) { SetModelPackageName(value); return *this;} /** *If the model package is a versioned model, the model group that the versioned * model belongs to.
*/ inline const Aws::String& GetModelPackageGroupName() const{ return m_modelPackageGroupName; } /** *If the model package is a versioned model, the model group that the versioned * model belongs to.
*/ inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; } /** *If the model package is a versioned model, the model group that the versioned * model belongs to.
*/ inline void SetModelPackageGroupName(const Aws::String& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = value; } /** *If the model package is a versioned model, the model group that the versioned * model belongs to.
*/ inline void SetModelPackageGroupName(Aws::String&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::move(value); } /** *If the model package is a versioned model, the model group that the versioned * model belongs to.
*/ inline void SetModelPackageGroupName(const char* value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName.assign(value); } /** *If the model package is a versioned model, the model group that the versioned * model belongs to.
*/ inline ModelPackageSummary& WithModelPackageGroupName(const Aws::String& value) { SetModelPackageGroupName(value); return *this;} /** *If the model package is a versioned model, the model group that the versioned * model belongs to.
*/ inline ModelPackageSummary& WithModelPackageGroupName(Aws::String&& value) { SetModelPackageGroupName(std::move(value)); return *this;} /** *If the model package is a versioned model, the model group that the versioned * model belongs to.
*/ inline ModelPackageSummary& WithModelPackageGroupName(const char* value) { SetModelPackageGroupName(value); return *this;} /** *If the model package is a versioned model, the version of the model.
*/ inline int GetModelPackageVersion() const{ return m_modelPackageVersion; } /** *If the model package is a versioned model, the version of the model.
*/ inline bool ModelPackageVersionHasBeenSet() const { return m_modelPackageVersionHasBeenSet; } /** *If the model package is a versioned model, the version of the model.
*/ inline void SetModelPackageVersion(int value) { m_modelPackageVersionHasBeenSet = true; m_modelPackageVersion = value; } /** *If the model package is a versioned model, the version of the model.
*/ inline ModelPackageSummary& WithModelPackageVersion(int value) { SetModelPackageVersion(value); return *this;} /** *The Amazon Resource Name (ARN) of the model package.
*/ inline const Aws::String& GetModelPackageArn() const{ return m_modelPackageArn; } /** *The Amazon Resource Name (ARN) of the model package.
*/ inline bool ModelPackageArnHasBeenSet() const { return m_modelPackageArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the model package.
*/ inline void SetModelPackageArn(const Aws::String& value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn = value; } /** *The Amazon Resource Name (ARN) of the model package.
*/ inline void SetModelPackageArn(Aws::String&& value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the model package.
*/ inline void SetModelPackageArn(const char* value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn.assign(value); } /** *The Amazon Resource Name (ARN) of the model package.
*/ inline ModelPackageSummary& WithModelPackageArn(const Aws::String& value) { SetModelPackageArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the model package.
*/ inline ModelPackageSummary& WithModelPackageArn(Aws::String&& value) { SetModelPackageArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the model package.
*/ inline ModelPackageSummary& WithModelPackageArn(const char* value) { SetModelPackageArn(value); return *this;} /** *A brief description of the model package.
*/ inline const Aws::String& GetModelPackageDescription() const{ return m_modelPackageDescription; } /** *A brief description of the model package.
*/ inline bool ModelPackageDescriptionHasBeenSet() const { return m_modelPackageDescriptionHasBeenSet; } /** *A brief description of the model package.
*/ inline void SetModelPackageDescription(const Aws::String& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = value; } /** *A brief description of the model package.
*/ inline void SetModelPackageDescription(Aws::String&& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = std::move(value); } /** *A brief description of the model package.
*/ inline void SetModelPackageDescription(const char* value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription.assign(value); } /** *A brief description of the model package.
*/ inline ModelPackageSummary& WithModelPackageDescription(const Aws::String& value) { SetModelPackageDescription(value); return *this;} /** *A brief description of the model package.
*/ inline ModelPackageSummary& WithModelPackageDescription(Aws::String&& value) { SetModelPackageDescription(std::move(value)); return *this;} /** *A brief description of the model package.
*/ inline ModelPackageSummary& WithModelPackageDescription(const char* value) { SetModelPackageDescription(value); return *this;} /** *A timestamp that shows when the model package was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *A timestamp that shows when the model package was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *A timestamp that shows when the model package was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *A timestamp that shows when the model package was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *A timestamp that shows when the model package was created.
*/ inline ModelPackageSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *A timestamp that shows when the model package was created.
*/ inline ModelPackageSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The overall status of the model package.
*/ inline const ModelPackageStatus& GetModelPackageStatus() const{ return m_modelPackageStatus; } /** *The overall status of the model package.
*/ inline bool ModelPackageStatusHasBeenSet() const { return m_modelPackageStatusHasBeenSet; } /** *The overall status of the model package.
*/ inline void SetModelPackageStatus(const ModelPackageStatus& value) { m_modelPackageStatusHasBeenSet = true; m_modelPackageStatus = value; } /** *The overall status of the model package.
*/ inline void SetModelPackageStatus(ModelPackageStatus&& value) { m_modelPackageStatusHasBeenSet = true; m_modelPackageStatus = std::move(value); } /** *The overall status of the model package.
*/ inline ModelPackageSummary& WithModelPackageStatus(const ModelPackageStatus& value) { SetModelPackageStatus(value); return *this;} /** *The overall status of the model package.
*/ inline ModelPackageSummary& WithModelPackageStatus(ModelPackageStatus&& value) { SetModelPackageStatus(std::move(value)); return *this;} /** *The approval status of the model. This can be one of the following * values.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
* PENDING_MANUAL_APPROVAL
- The model is waiting for manual
* approval.
The approval status of the model. This can be one of the following * values.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
* PENDING_MANUAL_APPROVAL
- The model is waiting for manual
* approval.
The approval status of the model. This can be one of the following * values.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
* PENDING_MANUAL_APPROVAL
- The model is waiting for manual
* approval.
The approval status of the model. This can be one of the following * values.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
* PENDING_MANUAL_APPROVAL
- The model is waiting for manual
* approval.
The approval status of the model. This can be one of the following * values.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
* PENDING_MANUAL_APPROVAL
- The model is waiting for manual
* approval.
The approval status of the model. This can be one of the following * values.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
* PENDING_MANUAL_APPROVAL
- The model is waiting for manual
* approval.