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

A best practice, or question choice, that has been identified as a risk in * this question.

See Also:

AWS * API Reference

*/ class BestPractice { public: AWS_WELLARCHITECTED_API BestPractice(); AWS_WELLARCHITECTED_API BestPractice(Aws::Utils::Json::JsonView jsonValue); AWS_WELLARCHITECTED_API BestPractice& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const; inline const Aws::String& GetChoiceId() const{ return m_choiceId; } inline bool ChoiceIdHasBeenSet() const { return m_choiceIdHasBeenSet; } inline void SetChoiceId(const Aws::String& value) { m_choiceIdHasBeenSet = true; m_choiceId = value; } inline void SetChoiceId(Aws::String&& value) { m_choiceIdHasBeenSet = true; m_choiceId = std::move(value); } inline void SetChoiceId(const char* value) { m_choiceIdHasBeenSet = true; m_choiceId.assign(value); } inline BestPractice& WithChoiceId(const Aws::String& value) { SetChoiceId(value); return *this;} inline BestPractice& WithChoiceId(Aws::String&& value) { SetChoiceId(std::move(value)); return *this;} inline BestPractice& WithChoiceId(const char* value) { SetChoiceId(value); return *this;} inline const Aws::String& GetChoiceTitle() const{ return m_choiceTitle; } inline bool ChoiceTitleHasBeenSet() const { return m_choiceTitleHasBeenSet; } inline void SetChoiceTitle(const Aws::String& value) { m_choiceTitleHasBeenSet = true; m_choiceTitle = value; } inline void SetChoiceTitle(Aws::String&& value) { m_choiceTitleHasBeenSet = true; m_choiceTitle = std::move(value); } inline void SetChoiceTitle(const char* value) { m_choiceTitleHasBeenSet = true; m_choiceTitle.assign(value); } inline BestPractice& WithChoiceTitle(const Aws::String& value) { SetChoiceTitle(value); return *this;} inline BestPractice& WithChoiceTitle(Aws::String&& value) { SetChoiceTitle(std::move(value)); return *this;} inline BestPractice& WithChoiceTitle(const char* value) { SetChoiceTitle(value); return *this;} private: Aws::String m_choiceId; bool m_choiceIdHasBeenSet = false; Aws::String m_choiceTitle; bool m_choiceTitleHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws