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/ChoiceAnswerSummary.h>
13#include <aws/wellarchitected/model/JiraConfiguration.h>
14#include <aws/wellarchitected/model/QuestionType.h>
15#include <aws/wellarchitected/model/Risk.h>
26namespace WellArchitected {
46 template <
typename QuestionIdT = Aws::String>
48 m_questionIdHasBeenSet =
true;
49 m_questionId = std::forward<QuestionIdT>(value);
51 template <
typename QuestionIdT = Aws::String>
62 template <
typename PillarIdT = Aws::String>
64 m_pillarIdHasBeenSet =
true;
65 m_pillarId = std::forward<PillarIdT>(value);
67 template <
typename PillarIdT = Aws::String>
78 template <
typename QuestionTitleT = Aws::String>
80 m_questionTitleHasBeenSet =
true;
81 m_questionTitle = std::forward<QuestionTitleT>(value);
83 template <
typename QuestionTitleT = Aws::String>
94 template <
typename ChoicesT = Aws::Vector<Choice>>
96 m_choicesHasBeenSet =
true;
97 m_choices = std::forward<ChoicesT>(value);
99 template <
typename ChoicesT = Aws::Vector<Choice>>
104 template <
typename ChoicesT = Choice>
106 m_choicesHasBeenSet =
true;
107 m_choices.emplace_back(std::forward<ChoicesT>(value));
116 template <
typename SelectedChoicesT = Aws::Vector<Aws::String>>
118 m_selectedChoicesHasBeenSet =
true;
119 m_selectedChoices = std::forward<SelectedChoicesT>(value);
121 template <
typename SelectedChoicesT = Aws::Vector<Aws::String>>
126 template <
typename SelectedChoicesT = Aws::String>
128 m_selectedChoicesHasBeenSet =
true;
129 m_selectedChoices.emplace_back(std::forward<SelectedChoicesT>(value));
140 template <
typename ChoiceAnswerSummariesT = Aws::Vector<ChoiceAnswerSummary>>
142 m_choiceAnswerSummariesHasBeenSet =
true;
143 m_choiceAnswerSummaries = std::forward<ChoiceAnswerSummariesT>(value);
145 template <
typename ChoiceAnswerSummariesT = Aws::Vector<ChoiceAnswerSummary>>
150 template <
typename ChoiceAnswerSummariesT = ChoiceAnswerSummary>
152 m_choiceAnswerSummariesHasBeenSet =
true;
153 m_choiceAnswerSummaries.emplace_back(std::forward<ChoiceAnswerSummariesT>(value));
163 m_isApplicableHasBeenSet =
true;
164 m_isApplicable = value;
177 m_riskHasBeenSet =
true;
193 m_reasonHasBeenSet =
true;
209 m_questionTypeHasBeenSet =
true;
210 m_questionType = value;
224 template <
typename JiraConfigurationT = JiraConfiguration>
226 m_jiraConfigurationHasBeenSet =
true;
227 m_jiraConfiguration = std::forward<JiraConfigurationT>(value);
229 template <
typename JiraConfigurationT = JiraConfiguration>
248 bool m_isApplicable{
false};
256 JiraConfiguration m_jiraConfiguration;
257 bool m_questionIdHasBeenSet =
false;
258 bool m_pillarIdHasBeenSet =
false;
259 bool m_questionTitleHasBeenSet =
false;
260 bool m_choicesHasBeenSet =
false;
261 bool m_selectedChoicesHasBeenSet =
false;
262 bool m_choiceAnswerSummariesHasBeenSet =
false;
263 bool m_isApplicableHasBeenSet =
false;
264 bool m_riskHasBeenSet =
false;
265 bool m_reasonHasBeenSet =
false;
266 bool m_questionTypeHasBeenSet =
false;
267 bool m_jiraConfigurationHasBeenSet =
false;
AnswerSummary & WithQuestionType(QuestionType value)
void SetSelectedChoices(SelectedChoicesT &&value)
bool QuestionIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetSelectedChoices() const
AnswerSummary & WithJiraConfiguration(JiraConfigurationT &&value)
void SetChoices(ChoicesT &&value)
bool ChoiceAnswerSummariesHasBeenSet() const
AnswerSummary & WithChoiceAnswerSummaries(ChoiceAnswerSummariesT &&value)
AnswerSummary & WithRisk(Risk value)
void SetPillarId(PillarIdT &&value)
const Aws::Vector< ChoiceAnswerSummary > & GetChoiceAnswerSummaries() const
void SetQuestionType(QuestionType value)
void SetChoiceAnswerSummaries(ChoiceAnswerSummariesT &&value)
void SetJiraConfiguration(JiraConfigurationT &&value)
bool GetIsApplicable() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPillarId() const
AWS_WELLARCHITECTED_API AnswerSummary()=default
AnswerSummary & AddChoiceAnswerSummaries(ChoiceAnswerSummariesT &&value)
bool IsApplicableHasBeenSet() const
const Aws::Vector< Choice > & GetChoices() const
AWS_WELLARCHITECTED_API AnswerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AnswerSummary & WithIsApplicable(bool value)
bool PillarIdHasBeenSet() const
const Aws::String & GetQuestionTitle() const
bool RiskHasBeenSet() const
const JiraConfiguration & GetJiraConfiguration() const
void SetQuestionId(QuestionIdT &&value)
bool QuestionTypeHasBeenSet() const
bool ChoicesHasBeenSet() const
AnswerSummary & AddSelectedChoices(SelectedChoicesT &&value)
bool JiraConfigurationHasBeenSet() const
AnswerSummary & WithSelectedChoices(SelectedChoicesT &&value)
void SetIsApplicable(bool value)
AnswerSummary & WithQuestionTitle(QuestionTitleT &&value)
AnswerSummary & WithPillarId(PillarIdT &&value)
AnswerSummary & WithChoices(ChoicesT &&value)
bool ReasonHasBeenSet() const
void SetQuestionTitle(QuestionTitleT &&value)
AnswerSummary & WithReason(AnswerReason value)
QuestionType GetQuestionType() const
AnswerReason GetReason() const
AnswerSummary & WithQuestionId(QuestionIdT &&value)
AWS_WELLARCHITECTED_API AnswerSummary(Aws::Utils::Json::JsonView jsonValue)
bool SelectedChoicesHasBeenSet() const
bool QuestionTitleHasBeenSet() const
const Aws::String & GetQuestionId() const
void SetReason(AnswerReason value)
AnswerSummary & AddChoices(ChoicesT &&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