/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */
#pragma once
#include  Represents the overall status of an algorithm.See Also:
   AWS
   * API Reference
The name of the algorithm for which the overall status is being reported.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the algorithm for which the overall status is being reported.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the algorithm 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 algorithm 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 algorithm 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 algorithm for which the overall status is being reported.
*/ inline AlgorithmStatusItem& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the algorithm for which the overall status is being reported.
*/ inline AlgorithmStatusItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the algorithm for which the overall status is being reported.
*/ inline AlgorithmStatusItem& WithName(const char* value) { SetName(value); return *this;} /** *The current status.
*/ inline const DetailedAlgorithmStatus& GetStatus() const{ return m_status; } /** *The current status.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status.
*/ inline void SetStatus(const DetailedAlgorithmStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status.
*/ inline void SetStatus(DetailedAlgorithmStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status.
*/ inline AlgorithmStatusItem& WithStatus(const DetailedAlgorithmStatus& value) { SetStatus(value); return *this;} /** *The current status.
*/ inline AlgorithmStatusItem& WithStatus(DetailedAlgorithmStatus&& 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.