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/Risk.h>
11#include <aws/wellarchitected/model/AnswerReason.h>
12#include <aws/wellarchitected/model/JiraConfiguration.h>
13#include <aws/wellarchitected/model/Choice.h>
14#include <aws/wellarchitected/model/ChoiceAnswer.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); }
88 inline void SetQuestionDescription(
const char* value) { m_questionDescriptionHasBeenSet =
true; m_questionDescription.assign(value); }
100 inline void SetImprovementPlanUrl(
const char* value) { m_improvementPlanUrlHasBeenSet =
true; m_improvementPlanUrl.assign(value); }
112 inline void SetHelpfulResourceUrl(
const char* value) { m_helpfulResourceUrlHasBeenSet =
true; m_helpfulResourceUrl.assign(value); }
142 inline Answer&
AddChoices(
Choice&& value) { m_choicesHasBeenSet =
true; m_choices.push_back(std::move(value));
return *
this; }
155 inline Answer&
AddSelectedChoices(
const char* value) { m_selectedChoicesHasBeenSet =
true; m_selectedChoices.push_back(value);
return *
this; }
176 inline void SetIsApplicable(
bool value) { m_isApplicableHasBeenSet =
true; m_isApplicable = value; }
184 inline void SetRisk(
const Risk& value) { m_riskHasBeenSet =
true; m_risk = value; }
185 inline void SetRisk(
Risk&& value) { m_riskHasBeenSet =
true; m_risk = std::move(value); }
196 inline void SetNotes(
const char* value) { m_notesHasBeenSet =
true; m_notes.assign(value); }
228 bool m_questionIdHasBeenSet =
false;
231 bool m_pillarIdHasBeenSet =
false;
234 bool m_questionTitleHasBeenSet =
false;
237 bool m_questionDescriptionHasBeenSet =
false;
240 bool m_improvementPlanUrlHasBeenSet =
false;
243 bool m_helpfulResourceUrlHasBeenSet =
false;
246 bool m_helpfulResourceDisplayTextHasBeenSet =
false;
249 bool m_choicesHasBeenSet =
false;
252 bool m_selectedChoicesHasBeenSet =
false;
255 bool m_choiceAnswersHasBeenSet =
false;
258 bool m_isApplicableHasBeenSet =
false;
261 bool m_riskHasBeenSet =
false;
264 bool m_notesHasBeenSet =
false;
267 bool m_reasonHasBeenSet =
false;
270 bool m_jiraConfigurationHasBeenSet =
false;
bool ChoiceAnswersHasBeenSet() const
Answer & WithPillarId(Aws::String &&value)
Answer & AddChoiceAnswers(const ChoiceAnswer &value)
Answer & AddChoices(const Choice &value)
void SetIsApplicable(bool value)
const AnswerReason & GetReason() const
void SetChoiceAnswers(Aws::Vector< ChoiceAnswer > &&value)
void SetHelpfulResourceUrl(const char *value)
void SetQuestionTitle(Aws::String &&value)
void SetPillarId(const Aws::String &value)
Answer & WithQuestionDescription(Aws::String &&value)
bool QuestionTitleHasBeenSet() const
Answer & AddChoices(Choice &&value)
Answer & WithHelpfulResourceDisplayText(const char *value)
bool GetIsApplicable() const
bool NotesHasBeenSet() const
Answer & WithSelectedChoices(const Aws::Vector< Aws::String > &value)
void SetQuestionDescription(const char *value)
Answer & WithHelpfulResourceUrl(const Aws::String &value)
void SetImprovementPlanUrl(const char *value)
const Aws::Vector< Choice > & GetChoices() const
void SetRisk(const Risk &value)
Answer & WithNotes(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSelectedChoices() const
void SetHelpfulResourceDisplayText(Aws::String &&value)
bool RiskHasBeenSet() const
bool JiraConfigurationHasBeenSet() const
const Aws::String & GetQuestionId() const
bool ReasonHasBeenSet() const
void SetHelpfulResourceDisplayText(const Aws::String &value)
Answer & WithSelectedChoices(Aws::Vector< Aws::String > &&value)
Answer & WithQuestionTitle(const Aws::String &value)
void SetQuestionId(const char *value)
const JiraConfiguration & GetJiraConfiguration() const
void SetJiraConfiguration(const JiraConfiguration &value)
void SetChoices(const Aws::Vector< Choice > &value)
Answer & WithPillarId(const char *value)
Answer & WithReason(const AnswerReason &value)
Answer & WithQuestionId(Aws::String &&value)
Answer & WithQuestionDescription(const Aws::String &value)
const Aws::String & GetQuestionTitle() const
Answer & WithQuestionTitle(const char *value)
Answer & WithJiraConfiguration(JiraConfiguration &&value)
Answer & WithQuestionTitle(Aws::String &&value)
Answer & AddSelectedChoices(const char *value)
bool ImprovementPlanUrlHasBeenSet() const
bool IsApplicableHasBeenSet() const
void SetSelectedChoices(Aws::Vector< Aws::String > &&value)
Answer & WithChoices(const Aws::Vector< Choice > &value)
void SetPillarId(Aws::String &&value)
void SetPillarId(const char *value)
Answer & WithHelpfulResourceUrl(Aws::String &&value)
void SetHelpfulResourceUrl(const Aws::String &value)
Answer & WithReason(AnswerReason &&value)
Answer & WithNotes(const char *value)
void SetQuestionDescription(Aws::String &&value)
Answer & WithQuestionId(const char *value)
bool HelpfulResourceUrlHasBeenSet() const
void SetNotes(const Aws::String &value)
Answer & WithHelpfulResourceUrl(const char *value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
Answer & WithPillarId(const Aws::String &value)
bool PillarIdHasBeenSet() const
const Aws::String & GetImprovementPlanUrl() const
void SetQuestionTitle(const Aws::String &value)
const Risk & GetRisk() const
bool SelectedChoicesHasBeenSet() const
Answer & WithChoiceAnswers(Aws::Vector< ChoiceAnswer > &&value)
Answer & WithImprovementPlanUrl(Aws::String &&value)
Answer & WithRisk(Risk &&value)
Answer & AddChoiceAnswers(ChoiceAnswer &&value)
void SetImprovementPlanUrl(Aws::String &&value)
void SetReason(const AnswerReason &value)
void SetHelpfulResourceUrl(Aws::String &&value)
bool ChoicesHasBeenSet() const
AWS_WELLARCHITECTED_API Answer(Aws::Utils::Json::JsonView jsonValue)
void SetHelpfulResourceDisplayText(const char *value)
const Aws::String & GetHelpfulResourceDisplayText() const
void SetQuestionDescription(const Aws::String &value)
void SetQuestionId(Aws::String &&value)
const Aws::String & GetHelpfulResourceUrl() const
void SetSelectedChoices(const Aws::Vector< Aws::String > &value)
Answer & WithChoices(Aws::Vector< Choice > &&value)
Answer & AddSelectedChoices(Aws::String &&value)
bool QuestionDescriptionHasBeenSet() const
const Aws::String & GetNotes() const
Answer & WithRisk(const Risk &value)
void SetQuestionTitle(const char *value)
Answer & WithChoiceAnswers(const Aws::Vector< ChoiceAnswer > &value)
void SetNotes(const char *value)
Answer & WithQuestionId(const Aws::String &value)
const Aws::String & GetQuestionDescription() const
Answer & WithQuestionDescription(const char *value)
Answer & WithNotes(Aws::String &&value)
Answer & WithImprovementPlanUrl(const Aws::String &value)
void SetJiraConfiguration(JiraConfiguration &&value)
AWS_WELLARCHITECTED_API Answer & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ChoiceAnswer > & GetChoiceAnswers() const
bool HelpfulResourceDisplayTextHasBeenSet() const
Answer & WithImprovementPlanUrl(const char *value)
void SetNotes(Aws::String &&value)
void SetRisk(Risk &&value)
AWS_WELLARCHITECTED_API Answer()
void SetImprovementPlanUrl(const Aws::String &value)
void SetChoices(Aws::Vector< Choice > &&value)
void SetQuestionId(const Aws::String &value)
Answer & WithHelpfulResourceDisplayText(const Aws::String &value)
void SetReason(AnswerReason &&value)
bool QuestionIdHasBeenSet() const
Answer & WithHelpfulResourceDisplayText(Aws::String &&value)
const Aws::String & GetPillarId() const
Answer & WithJiraConfiguration(const JiraConfiguration &value)
Answer & WithIsApplicable(bool value)
void SetChoiceAnswers(const Aws::Vector< ChoiceAnswer > &value)
Answer & AddSelectedChoices(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue