7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/AnswerReason.h>
11#include <aws/wellarchitected/model/Choice.h>
12#include <aws/wellarchitected/model/ChoiceAnswer.h>
13#include <aws/wellarchitected/model/ReviewTemplateAnswerStatus.h>
24namespace WellArchitected {
43 template <
typename QuestionIdT = Aws::String>
45 m_questionIdHasBeenSet =
true;
46 m_questionId = std::forward<QuestionIdT>(value);
48 template <
typename QuestionIdT = Aws::String>
59 template <
typename PillarIdT = Aws::String>
61 m_pillarIdHasBeenSet =
true;
62 m_pillarId = std::forward<PillarIdT>(value);
64 template <
typename PillarIdT = Aws::String>
75 template <
typename QuestionTitleT = Aws::String>
77 m_questionTitleHasBeenSet =
true;
78 m_questionTitle = std::forward<QuestionTitleT>(value);
80 template <
typename QuestionTitleT = Aws::String>
91 template <
typename QuestionDescriptionT = Aws::String>
93 m_questionDescriptionHasBeenSet =
true;
94 m_questionDescription = std::forward<QuestionDescriptionT>(value);
96 template <
typename QuestionDescriptionT = Aws::String>
107 template <
typename ImprovementPlanUrlT = Aws::String>
109 m_improvementPlanUrlHasBeenSet =
true;
110 m_improvementPlanUrl = std::forward<ImprovementPlanUrlT>(value);
112 template <
typename ImprovementPlanUrlT = Aws::String>
123 template <
typename HelpfulResourceUrlT = Aws::String>
125 m_helpfulResourceUrlHasBeenSet =
true;
126 m_helpfulResourceUrl = std::forward<HelpfulResourceUrlT>(value);
128 template <
typename HelpfulResourceUrlT = Aws::String>
142 template <
typename HelpfulResourceDisplayTextT = Aws::String>
144 m_helpfulResourceDisplayTextHasBeenSet =
true;
145 m_helpfulResourceDisplayText = std::forward<HelpfulResourceDisplayTextT>(value);
147 template <
typename HelpfulResourceDisplayTextT = Aws::String>
158 template <
typename ChoicesT = Aws::Vector<Choice>>
160 m_choicesHasBeenSet =
true;
161 m_choices = std::forward<ChoicesT>(value);
163 template <
typename ChoicesT = Aws::Vector<Choice>>
168 template <
typename ChoicesT = Choice>
170 m_choicesHasBeenSet =
true;
171 m_choices.emplace_back(std::forward<ChoicesT>(value));
180 template <
typename SelectedChoicesT = Aws::Vector<Aws::String>>
182 m_selectedChoicesHasBeenSet =
true;
183 m_selectedChoices = std::forward<SelectedChoicesT>(value);
185 template <
typename SelectedChoicesT = Aws::Vector<Aws::String>>
190 template <
typename SelectedChoicesT = Aws::String>
192 m_selectedChoicesHasBeenSet =
true;
193 m_selectedChoices.emplace_back(std::forward<SelectedChoicesT>(value));
204 template <
typename ChoiceAnswersT = Aws::Vector<ChoiceAnswer>>
206 m_choiceAnswersHasBeenSet =
true;
207 m_choiceAnswers = std::forward<ChoiceAnswersT>(value);
209 template <
typename ChoiceAnswersT = Aws::Vector<ChoiceAnswer>>
214 template <
typename ChoiceAnswersT = ChoiceAnswer>
216 m_choiceAnswersHasBeenSet =
true;
217 m_choiceAnswers.emplace_back(std::forward<ChoiceAnswersT>(value));
227 m_isApplicableHasBeenSet =
true;
228 m_isApplicable = value;
243 m_answerStatusHasBeenSet =
true;
244 m_answerStatus = value;
256 template <
typename NotesT = Aws::String>
258 m_notesHasBeenSet =
true;
259 m_notes = std::forward<NotesT>(value);
261 template <
typename NotesT = Aws::String>
263 SetNotes(std::forward<NotesT>(value));
275 m_reasonHasBeenSet =
true;
285 bool m_questionIdHasBeenSet =
false;
288 bool m_pillarIdHasBeenSet =
false;
291 bool m_questionTitleHasBeenSet =
false;
294 bool m_questionDescriptionHasBeenSet =
false;
297 bool m_improvementPlanUrlHasBeenSet =
false;
300 bool m_helpfulResourceUrlHasBeenSet =
false;
303 bool m_helpfulResourceDisplayTextHasBeenSet =
false;
306 bool m_choicesHasBeenSet =
false;
309 bool m_selectedChoicesHasBeenSet =
false;
312 bool m_choiceAnswersHasBeenSet =
false;
314 bool m_isApplicable{
false};
315 bool m_isApplicableHasBeenSet =
false;
318 bool m_answerStatusHasBeenSet =
false;
321 bool m_notesHasBeenSet =
false;
324 bool m_reasonHasBeenSet =
false;
bool GetIsApplicable() const
ReviewTemplateAnswer & WithSelectedChoices(SelectedChoicesT &&value)
const Aws::String & GetQuestionTitle() const
AWS_WELLARCHITECTED_API ReviewTemplateAnswer(Aws::Utils::Json::JsonView jsonValue)
bool QuestionDescriptionHasBeenSet() const
const Aws::String & GetQuestionId() const
void SetChoiceAnswers(ChoiceAnswersT &&value)
bool QuestionIdHasBeenSet() const
ReviewTemplateAnswer & WithPillarId(PillarIdT &&value)
bool QuestionTitleHasBeenSet() const
bool NotesHasBeenSet() const
ReviewTemplateAnswer & WithNotes(NotesT &&value)
ReviewTemplateAnswer & AddSelectedChoices(SelectedChoicesT &&value)
const Aws::Vector< Aws::String > & GetSelectedChoices() const
bool ChoiceAnswersHasBeenSet() const
ReviewTemplateAnswer & WithQuestionTitle(QuestionTitleT &&value)
bool HelpfulResourceDisplayTextHasBeenSet() const
const Aws::String & GetHelpfulResourceUrl() const
ReviewTemplateAnswer & WithQuestionDescription(QuestionDescriptionT &&value)
bool ReasonHasBeenSet() const
ReviewTemplateAnswer & AddChoices(ChoicesT &&value)
const Aws::String & GetQuestionDescription() const
ReviewTemplateAnswer & WithChoiceAnswers(ChoiceAnswersT &&value)
ReviewTemplateAnswer & WithChoices(ChoicesT &&value)
const Aws::Vector< ChoiceAnswer > & GetChoiceAnswers() const
const Aws::String & GetImprovementPlanUrl() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ReviewTemplateAnswer & AddChoiceAnswers(ChoiceAnswersT &&value)
bool ChoicesHasBeenSet() const
ReviewTemplateAnswer & WithImprovementPlanUrl(ImprovementPlanUrlT &&value)
const Aws::String & GetNotes() const
void SetPillarId(PillarIdT &&value)
ReviewTemplateAnswer & WithHelpfulResourceUrl(HelpfulResourceUrlT &&value)
bool ImprovementPlanUrlHasBeenSet() const
void SetHelpfulResourceDisplayText(HelpfulResourceDisplayTextT &&value)
bool IsApplicableHasBeenSet() const
void SetQuestionId(QuestionIdT &&value)
void SetChoices(ChoicesT &&value)
void SetSelectedChoices(SelectedChoicesT &&value)
void SetReason(AnswerReason value)
const Aws::String & GetHelpfulResourceDisplayText() const
void SetImprovementPlanUrl(ImprovementPlanUrlT &&value)
void SetNotes(NotesT &&value)
ReviewTemplateAnswer & WithQuestionId(QuestionIdT &&value)
bool SelectedChoicesHasBeenSet() const
AWS_WELLARCHITECTED_API ReviewTemplateAnswer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHelpfulResourceUrl(HelpfulResourceUrlT &&value)
AnswerReason GetReason() const
const Aws::String & GetPillarId() const
void SetAnswerStatus(ReviewTemplateAnswerStatus value)
AWS_WELLARCHITECTED_API ReviewTemplateAnswer()=default
ReviewTemplateAnswerStatus GetAnswerStatus() const
void SetQuestionTitle(QuestionTitleT &&value)
ReviewTemplateAnswer & WithAnswerStatus(ReviewTemplateAnswerStatus value)
const Aws::Vector< Choice > & GetChoices() const
ReviewTemplateAnswer & WithHelpfulResourceDisplayText(HelpfulResourceDisplayTextT &&value)
ReviewTemplateAnswer & WithIsApplicable(bool value)
void SetQuestionDescription(QuestionDescriptionT &&value)
ReviewTemplateAnswer & WithReason(AnswerReason value)
bool AnswerStatusHasBeenSet() const
void SetIsApplicable(bool value)
bool PillarIdHasBeenSet() const
bool HelpfulResourceUrlHasBeenSet() const
ReviewTemplateAnswerStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue