7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wellarchitected/model/ReviewTemplateAnswerStatus.h>
11#include <aws/wellarchitected/model/AnswerReason.h>
12#include <aws/wellarchitected/model/Choice.h>
13#include <aws/wellarchitected/model/ChoiceAnswer.h>
26namespace WellArchitected
51 inline void SetQuestionId(
const char* value) { m_questionIdHasBeenSet =
true; m_questionId.assign(value); }
63 inline void SetPillarId(
const char* value) { m_pillarIdHasBeenSet =
true; m_pillarId.assign(value); }
75 inline void SetQuestionTitle(
const char* value) { m_questionTitleHasBeenSet =
true; m_questionTitle.assign(value); }
87 inline void SetQuestionDescription(
const char* value) { m_questionDescriptionHasBeenSet =
true; m_questionDescription.assign(value); }
99 inline void SetImprovementPlanUrl(
const char* value) { m_improvementPlanUrlHasBeenSet =
true; m_improvementPlanUrl.assign(value); }
111 inline void SetHelpfulResourceUrl(
const char* value) { m_helpfulResourceUrlHasBeenSet =
true; m_helpfulResourceUrl.assign(value); }
175 inline void SetIsApplicable(
bool value) { m_isApplicableHasBeenSet =
true; m_isApplicable = value; }
197 inline void SetNotes(
const char* value) { m_notesHasBeenSet =
true; m_notes.assign(value); }
217 bool m_questionIdHasBeenSet =
false;
220 bool m_pillarIdHasBeenSet =
false;
223 bool m_questionTitleHasBeenSet =
false;
226 bool m_questionDescriptionHasBeenSet =
false;
229 bool m_improvementPlanUrlHasBeenSet =
false;
232 bool m_helpfulResourceUrlHasBeenSet =
false;
235 bool m_helpfulResourceDisplayTextHasBeenSet =
false;
238 bool m_choicesHasBeenSet =
false;
241 bool m_selectedChoicesHasBeenSet =
false;
244 bool m_choiceAnswersHasBeenSet =
false;
247 bool m_isApplicableHasBeenSet =
false;
250 bool m_answerStatusHasBeenSet =
false;
253 bool m_notesHasBeenSet =
false;
256 bool m_reasonHasBeenSet =
false;
void SetChoiceAnswers(Aws::Vector< ChoiceAnswer > &&value)
void SetQuestionDescription(Aws::String &&value)
ReviewTemplateAnswer & WithQuestionId(Aws::String &&value)
bool GetIsApplicable() const
const Aws::String & GetQuestionTitle() const
AWS_WELLARCHITECTED_API ReviewTemplateAnswer(Aws::Utils::Json::JsonView jsonValue)
ReviewTemplateAnswer & WithQuestionDescription(const char *value)
void SetImprovementPlanUrl(const char *value)
bool QuestionDescriptionHasBeenSet() const
const Aws::String & GetQuestionId() const
bool QuestionIdHasBeenSet() const
bool QuestionTitleHasBeenSet() const
void SetChoices(const Aws::Vector< Choice > &value)
bool NotesHasBeenSet() const
ReviewTemplateAnswer & WithAnswerStatus(const ReviewTemplateAnswerStatus &value)
ReviewTemplateAnswer & WithReason(const AnswerReason &value)
ReviewTemplateAnswer & WithChoiceAnswers(const Aws::Vector< ChoiceAnswer > &value)
void SetQuestionId(Aws::String &&value)
ReviewTemplateAnswer & WithSelectedChoices(const Aws::Vector< Aws::String > &value)
void SetNotes(const char *value)
const Aws::Vector< Aws::String > & GetSelectedChoices() const
void SetHelpfulResourceDisplayText(const char *value)
ReviewTemplateAnswer & AddSelectedChoices(const char *value)
void SetImprovementPlanUrl(Aws::String &&value)
ReviewTemplateAnswer & WithNotes(const char *value)
void SetHelpfulResourceUrl(Aws::String &&value)
const ReviewTemplateAnswerStatus & GetAnswerStatus() const
void SetQuestionDescription(const char *value)
bool ChoiceAnswersHasBeenSet() const
bool HelpfulResourceDisplayTextHasBeenSet() const
ReviewTemplateAnswer & WithHelpfulResourceDisplayText(const char *value)
void SetReason(const AnswerReason &value)
const Aws::String & GetHelpfulResourceUrl() const
bool ReasonHasBeenSet() const
const Aws::String & GetQuestionDescription() const
ReviewTemplateAnswer & AddSelectedChoices(Aws::String &&value)
ReviewTemplateAnswer & WithChoices(const Aws::Vector< Choice > &value)
ReviewTemplateAnswer & WithQuestionDescription(const Aws::String &value)
ReviewTemplateAnswer & AddChoiceAnswers(ChoiceAnswer &&value)
ReviewTemplateAnswer & WithNotes(Aws::String &&value)
ReviewTemplateAnswer & WithQuestionId(const char *value)
void SetChoiceAnswers(const Aws::Vector< ChoiceAnswer > &value)
void SetHelpfulResourceDisplayText(Aws::String &&value)
void SetPillarId(Aws::String &&value)
const Aws::Vector< ChoiceAnswer > & GetChoiceAnswers() const
ReviewTemplateAnswer & WithQuestionTitle(Aws::String &&value)
ReviewTemplateAnswer & WithHelpfulResourceUrl(const Aws::String &value)
const Aws::String & GetImprovementPlanUrl() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ReviewTemplateAnswer & WithHelpfulResourceUrl(const char *value)
void SetQuestionDescription(const Aws::String &value)
ReviewTemplateAnswer & WithQuestionId(const Aws::String &value)
void SetNotes(Aws::String &&value)
ReviewTemplateAnswer & AddSelectedChoices(const Aws::String &value)
void SetQuestionTitle(const Aws::String &value)
bool ChoicesHasBeenSet() const
ReviewTemplateAnswer & WithPillarId(Aws::String &&value)
ReviewTemplateAnswer & WithSelectedChoices(Aws::Vector< Aws::String > &&value)
void SetPillarId(const Aws::String &value)
ReviewTemplateAnswer & WithReason(AnswerReason &&value)
void SetQuestionTitle(Aws::String &&value)
ReviewTemplateAnswer & WithImprovementPlanUrl(const char *value)
const Aws::String & GetNotes() const
void SetPillarId(const char *value)
void SetQuestionId(const char *value)
bool ImprovementPlanUrlHasBeenSet() const
ReviewTemplateAnswer & WithHelpfulResourceDisplayText(const Aws::String &value)
bool IsApplicableHasBeenSet() const
void SetAnswerStatus(const ReviewTemplateAnswerStatus &value)
ReviewTemplateAnswer & WithQuestionDescription(Aws::String &&value)
const AnswerReason & GetReason() const
void SetSelectedChoices(Aws::Vector< Aws::String > &&value)
const Aws::String & GetHelpfulResourceDisplayText() const
AWS_WELLARCHITECTED_API ReviewTemplateAnswer()
ReviewTemplateAnswer & WithPillarId(const char *value)
bool SelectedChoicesHasBeenSet() const
void SetHelpfulResourceUrl(const Aws::String &value)
ReviewTemplateAnswer & WithQuestionTitle(const Aws::String &value)
AWS_WELLARCHITECTED_API ReviewTemplateAnswer & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPillarId() const
void SetQuestionId(const Aws::String &value)
void SetImprovementPlanUrl(const Aws::String &value)
void SetSelectedChoices(const Aws::Vector< Aws::String > &value)
void SetAnswerStatus(ReviewTemplateAnswerStatus &&value)
ReviewTemplateAnswer & WithPillarId(const Aws::String &value)
void SetHelpfulResourceDisplayText(const Aws::String &value)
ReviewTemplateAnswer & WithNotes(const Aws::String &value)
ReviewTemplateAnswer & WithChoices(Aws::Vector< Choice > &&value)
const Aws::Vector< Choice > & GetChoices() const
ReviewTemplateAnswer & WithImprovementPlanUrl(const Aws::String &value)
ReviewTemplateAnswer & AddChoices(Choice &&value)
void SetNotes(const Aws::String &value)
void SetChoices(Aws::Vector< Choice > &&value)
void SetHelpfulResourceUrl(const char *value)
ReviewTemplateAnswer & WithIsApplicable(bool value)
ReviewTemplateAnswer & WithAnswerStatus(ReviewTemplateAnswerStatus &&value)
void SetQuestionTitle(const char *value)
ReviewTemplateAnswer & WithHelpfulResourceUrl(Aws::String &&value)
void SetReason(AnswerReason &&value)
bool AnswerStatusHasBeenSet() const
ReviewTemplateAnswer & AddChoices(const Choice &value)
void SetIsApplicable(bool value)
ReviewTemplateAnswer & WithHelpfulResourceDisplayText(Aws::String &&value)
ReviewTemplateAnswer & WithQuestionTitle(const char *value)
bool PillarIdHasBeenSet() const
bool HelpfulResourceUrlHasBeenSet() const
ReviewTemplateAnswer & WithChoiceAnswers(Aws::Vector< ChoiceAnswer > &&value)
ReviewTemplateAnswer & AddChoiceAnswers(const ChoiceAnswer &value)
ReviewTemplateAnswer & WithImprovementPlanUrl(Aws::String &&value)
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