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/QuestionType.h>
13#include <aws/wellarchitected/model/Choice.h>
14#include <aws/wellarchitected/model/ChoiceAnswerSummary.h>
27namespace WellArchitected
52 inline void SetQuestionId(
const char* value) { m_questionIdHasBeenSet =
true; m_questionId.assign(value); }
64 inline void SetPillarId(
const char* value) { m_pillarIdHasBeenSet =
true; m_pillarId.assign(value); }
76 inline void SetQuestionTitle(
const char* value) { m_questionTitleHasBeenSet =
true; m_questionTitle.assign(value); }
125 inline void SetIsApplicable(
bool value) { m_isApplicableHasBeenSet =
true; m_isApplicable = value; }
168 bool m_questionIdHasBeenSet =
false;
171 bool m_pillarIdHasBeenSet =
false;
174 bool m_questionTitleHasBeenSet =
false;
177 bool m_choicesHasBeenSet =
false;
180 bool m_selectedChoicesHasBeenSet =
false;
183 bool m_choiceAnswerSummariesHasBeenSet =
false;
186 bool m_isApplicableHasBeenSet =
false;
189 bool m_answerStatusHasBeenSet =
false;
192 bool m_reasonHasBeenSet =
false;
195 bool m_questionTypeHasBeenSet =
false;
ReviewTemplateAnswerSummary & WithQuestionId(Aws::String &&value)
ReviewTemplateAnswerSummary & AddSelectedChoices(Aws::String &&value)
ReviewTemplateAnswerSummary & WithQuestionTitle(const char *value)
void SetChoices(Aws::Vector< Choice > &&value)
void SetReason(const AnswerReason &value)
ReviewTemplateAnswerSummary & WithQuestionType(const QuestionType &value)
void SetChoices(const Aws::Vector< Choice > &value)
ReviewTemplateAnswerSummary & WithPillarId(Aws::String &&value)
AWS_WELLARCHITECTED_API ReviewTemplateAnswerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAnswerStatus(const ReviewTemplateAnswerStatus &value)
const Aws::String & GetQuestionId() const
const AnswerReason & GetReason() const
ReviewTemplateAnswerSummary & AddChoices(Choice &&value)
void SetQuestionType(QuestionType &&value)
void SetQuestionTitle(Aws::String &&value)
ReviewTemplateAnswerSummary & WithSelectedChoices(const Aws::Vector< Aws::String > &value)
bool IsApplicableHasBeenSet() const
void SetQuestionTitle(const char *value)
AWS_WELLARCHITECTED_API ReviewTemplateAnswerSummary()
ReviewTemplateAnswerSummary & WithPillarId(const char *value)
ReviewTemplateAnswerSummary & AddChoiceAnswerSummaries(ChoiceAnswerSummary &&value)
ReviewTemplateAnswerSummary & WithQuestionId(const char *value)
const Aws::Vector< Aws::String > & GetSelectedChoices() const
void SetIsApplicable(bool value)
ReviewTemplateAnswerSummary & WithAnswerStatus(ReviewTemplateAnswerStatus &&value)
bool AnswerStatusHasBeenSet() const
ReviewTemplateAnswerSummary & WithAnswerStatus(const ReviewTemplateAnswerStatus &value)
void SetReason(AnswerReason &&value)
bool ChoicesHasBeenSet() const
void SetSelectedChoices(const Aws::Vector< Aws::String > &value)
bool SelectedChoicesHasBeenSet() const
const QuestionType & GetQuestionType() const
ReviewTemplateAnswerSummary & WithChoiceAnswerSummaries(Aws::Vector< ChoiceAnswerSummary > &&value)
ReviewTemplateAnswerSummary & WithSelectedChoices(Aws::Vector< Aws::String > &&value)
ReviewTemplateAnswerSummary & WithQuestionId(const Aws::String &value)
const ReviewTemplateAnswerStatus & GetAnswerStatus() const
bool ChoiceAnswerSummariesHasBeenSet() const
ReviewTemplateAnswerSummary & AddChoiceAnswerSummaries(const ChoiceAnswerSummary &value)
void SetSelectedChoices(Aws::Vector< Aws::String > &&value)
void SetPillarId(Aws::String &&value)
const Aws::Vector< Choice > & GetChoices() const
void SetPillarId(const Aws::String &value)
ReviewTemplateAnswerSummary & WithChoices(const Aws::Vector< Choice > &value)
ReviewTemplateAnswerSummary & AddSelectedChoices(const Aws::String &value)
bool QuestionIdHasBeenSet() const
void SetPillarId(const char *value)
ReviewTemplateAnswerSummary & WithIsApplicable(bool value)
AWS_WELLARCHITECTED_API ReviewTemplateAnswerSummary(Aws::Utils::Json::JsonView jsonValue)
ReviewTemplateAnswerSummary & WithChoiceAnswerSummaries(const Aws::Vector< ChoiceAnswerSummary > &value)
void SetAnswerStatus(ReviewTemplateAnswerStatus &&value)
const Aws::String & GetQuestionTitle() const
ReviewTemplateAnswerSummary & WithReason(const AnswerReason &value)
const Aws::String & GetPillarId() const
ReviewTemplateAnswerSummary & WithQuestionType(QuestionType &&value)
ReviewTemplateAnswerSummary & AddSelectedChoices(const char *value)
const Aws::Vector< ChoiceAnswerSummary > & GetChoiceAnswerSummaries() const
void SetQuestionId(const Aws::String &value)
ReviewTemplateAnswerSummary & AddChoices(const Choice &value)
void SetQuestionType(const QuestionType &value)
bool QuestionTypeHasBeenSet() const
void SetChoiceAnswerSummaries(Aws::Vector< ChoiceAnswerSummary > &&value)
ReviewTemplateAnswerSummary & WithPillarId(const Aws::String &value)
bool PillarIdHasBeenSet() const
bool ReasonHasBeenSet() const
void SetQuestionId(const char *value)
void SetChoiceAnswerSummaries(const Aws::Vector< ChoiceAnswerSummary > &value)
bool GetIsApplicable() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ReviewTemplateAnswerSummary & WithChoices(Aws::Vector< Choice > &&value)
bool QuestionTitleHasBeenSet() const
void SetQuestionId(Aws::String &&value)
ReviewTemplateAnswerSummary & WithQuestionTitle(const Aws::String &value)
ReviewTemplateAnswerSummary & WithReason(AnswerReason &&value)
ReviewTemplateAnswerSummary & WithQuestionTitle(Aws::String &&value)
void SetQuestionTitle(const 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