/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace WellArchitected { namespace Model { /** *

A list of choices to be updated.

See Also:

AWS * API Reference

*/ class ChoiceUpdate { public: AWS_WELLARCHITECTED_API ChoiceUpdate(); AWS_WELLARCHITECTED_API ChoiceUpdate(Aws::Utils::Json::JsonView jsonValue); AWS_WELLARCHITECTED_API ChoiceUpdate& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 ChoiceUpdate& WithStatus(const ChoiceStatus& value) { SetStatus(value); return *this;} /** *

The status of a choice.

*/ inline ChoiceUpdate& 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 ChoiceUpdate& WithReason(const ChoiceReason& value) { SetReason(value); return *this;} /** *

The reason why a choice is non-applicable to a question in your workload.

*/ inline ChoiceUpdate& 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 ChoiceUpdate& WithNotes(const Aws::String& value) { SetNotes(value); return *this;} /** *

The notes associated with a choice.

*/ inline ChoiceUpdate& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;} /** *

The notes associated with a choice.

*/ inline ChoiceUpdate& WithNotes(const char* value) { SetNotes(value); return *this;} private: 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