/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A choice summary that has been answered on a question in your
* workload.See Also:
AWS
* API Reference
The status of a choice.
*/ inline const ChoiceStatus& GetStatus() const{ return m_status; } /** *The status of a choice.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of a choice.
*/ inline void SetStatus(const ChoiceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of a choice.
*/ inline void SetStatus(ChoiceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of a choice.
*/ inline ChoiceAnswerSummary& WithStatus(const ChoiceStatus& value) { SetStatus(value); return *this;} /** *The status of a choice.
*/ inline ChoiceAnswerSummary& WithStatus(ChoiceStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline const ChoiceReason& GetReason() const{ return m_reason; } /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline void SetReason(const ChoiceReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline void SetReason(ChoiceReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline ChoiceAnswerSummary& WithReason(const ChoiceReason& value) { SetReason(value); return *this;} /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline ChoiceAnswerSummary& WithReason(ChoiceReason&& value) { SetReason(std::move(value)); return *this;} private: Aws::String m_choiceId; bool m_choiceIdHasBeenSet = false; ChoiceStatus m_status; bool m_statusHasBeenSet = false; ChoiceReason m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws