/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A choice 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 ChoiceAnswer& WithStatus(const ChoiceStatus& value) { SetStatus(value); return *this;} /** *The status of a choice.
*/ inline ChoiceAnswer& 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 ChoiceAnswer& WithReason(const ChoiceReason& value) { SetReason(value); return *this;} /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline ChoiceAnswer& WithReason(ChoiceReason&& value) { SetReason(std::move(value)); return *this;} /** *The notes associated with a choice.
*/ inline const Aws::String& GetNotes() const{ return m_notes; } /** *The notes associated with a choice.
*/ inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; } /** *The notes associated with a choice.
*/ inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; } /** *The notes associated with a choice.
*/ inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); } /** *The notes associated with a choice.
*/ inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); } /** *The notes associated with a choice.
*/ inline ChoiceAnswer& WithNotes(const Aws::String& value) { SetNotes(value); return *this;} /** *The notes associated with a choice.
*/ inline ChoiceAnswer& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;} /** *The notes associated with a choice.
*/ inline ChoiceAnswer& WithNotes(const char* value) { SetNotes(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; Aws::String m_notes; bool m_notesHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws