/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the overall status of a model package.See Also:
* AWS
* API Reference
The name of the model package for which the overall status is being * reported.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the model package for which the overall status is being * reported.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the model package for which the overall status is being * reported.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the model package for which the overall status is being * reported.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the model package for which the overall status is being * reported.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the model package for which the overall status is being * reported.
*/ inline ModelPackageStatusItem& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the model package for which the overall status is being * reported.
*/ inline ModelPackageStatusItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the model package for which the overall status is being * reported.
*/ inline ModelPackageStatusItem& WithName(const char* value) { SetName(value); return *this;} /** *The current status.
*/ inline const DetailedModelPackageStatus& GetStatus() const{ return m_status; } /** *The current status.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status.
*/ inline void SetStatus(const DetailedModelPackageStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status.
*/ inline void SetStatus(DetailedModelPackageStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status.
*/ inline ModelPackageStatusItem& WithStatus(const DetailedModelPackageStatus& value) { SetStatus(value); return *this;} /** *The current status.
*/ inline ModelPackageStatusItem& WithStatus(DetailedModelPackageStatus&& value) { SetStatus(std::move(value)); return *this;} /** *if the overall status is Failed, the reason for the failure.
if the overall status is Failed, the reason for the failure.
if the overall status is Failed, the reason for the failure.
if the overall status is Failed, the reason for the failure.
if the overall status is Failed, the reason for the failure.
if the overall status is Failed, the reason for the failure.
if the overall status is Failed, the reason for the failure.
if the overall status is Failed, the reason for the failure.