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/QuestionType.h>
13#include <aws/wellarchitected/model/JiraConfiguration.h>
14#include <aws/wellarchitected/model/Choice.h>
15#include <aws/wellarchitected/model/ChoiceAnswerSummary.h>
28namespace WellArchitected
54 inline void SetQuestionId(
const char* value) { m_questionIdHasBeenSet =
true; m_questionId.assign(value); }
66 inline void SetPillarId(
const char* value) { m_pillarIdHasBeenSet =
true; m_pillarId.assign(value); }
78 inline void SetQuestionTitle(
const char* value) { m_questionTitleHasBeenSet =
true; m_questionTitle.assign(value); }
127 inline void SetIsApplicable(
bool value) { m_isApplicableHasBeenSet =
true; m_isApplicable = value; }
135 inline void SetRisk(
const Risk& value) { m_riskHasBeenSet =
true; m_risk = value; }
136 inline void SetRisk(
Risk&& value) { m_riskHasBeenSet =
true; m_risk = std::move(value); }
179 bool m_questionIdHasBeenSet =
false;
182 bool m_pillarIdHasBeenSet =
false;
185 bool m_questionTitleHasBeenSet =
false;
188 bool m_choicesHasBeenSet =
false;
191 bool m_selectedChoicesHasBeenSet =
false;
194 bool m_choiceAnswerSummariesHasBeenSet =
false;
197 bool m_isApplicableHasBeenSet =
false;
200 bool m_riskHasBeenSet =
false;
203 bool m_reasonHasBeenSet =
false;
206 bool m_questionTypeHasBeenSet =
false;
209 bool m_jiraConfigurationHasBeenSet =
false;
void SetJiraConfiguration(const JiraConfiguration &value)
AnswerSummary & WithQuestionTitle(const char *value)
bool QuestionIdHasBeenSet() const
void SetQuestionType(const QuestionType &value)
AnswerSummary & WithQuestionType(QuestionType &&value)
AnswerSummary & AddSelectedChoices(Aws::String &&value)
AnswerSummary & WithQuestionTitle(Aws::String &&value)
void SetPillarId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSelectedChoices() const
void SetQuestionTitle(const char *value)
bool ChoiceAnswerSummariesHasBeenSet() const
AnswerSummary & WithQuestionType(const QuestionType &value)
AnswerSummary & WithQuestionId(const char *value)
void SetQuestionType(QuestionType &&value)
AnswerSummary & WithReason(const AnswerReason &value)
AnswerSummary & WithChoices(const Aws::Vector< Choice > &value)
const Aws::Vector< ChoiceAnswerSummary > & GetChoiceAnswerSummaries() const
void SetChoiceAnswerSummaries(const Aws::Vector< ChoiceAnswerSummary > &value)
AnswerSummary & AddChoices(Choice &&value)
void SetQuestionTitle(Aws::String &&value)
bool GetIsApplicable() const
AnswerSummary & AddChoiceAnswerSummaries(ChoiceAnswerSummary &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQuestionId(const Aws::String &value)
const Aws::String & GetPillarId() const
AnswerSummary & WithReason(AnswerReason &&value)
bool IsApplicableHasBeenSet() const
const Aws::Vector< Choice > & GetChoices() const
const QuestionType & GetQuestionType() const
AWS_WELLARCHITECTED_API AnswerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AnswerSummary & WithIsApplicable(bool value)
AWS_WELLARCHITECTED_API AnswerSummary()
bool PillarIdHasBeenSet() const
AnswerSummary & WithQuestionId(Aws::String &&value)
const Aws::String & GetQuestionTitle() const
bool RiskHasBeenSet() const
AnswerSummary & WithPillarId(Aws::String &&value)
AnswerSummary & WithSelectedChoices(const Aws::Vector< Aws::String > &value)
const JiraConfiguration & GetJiraConfiguration() const
void SetReason(AnswerReason &&value)
AnswerSummary & WithChoiceAnswerSummaries(Aws::Vector< ChoiceAnswerSummary > &&value)
void SetQuestionId(const char *value)
bool QuestionTypeHasBeenSet() const
bool ChoicesHasBeenSet() const
AnswerSummary & WithQuestionTitle(const Aws::String &value)
void SetQuestionTitle(const Aws::String &value)
AnswerSummary & WithJiraConfiguration(JiraConfiguration &&value)
bool JiraConfigurationHasBeenSet() const
AnswerSummary & WithSelectedChoices(Aws::Vector< Aws::String > &&value)
void SetReason(const AnswerReason &value)
void SetQuestionId(Aws::String &&value)
void SetChoices(Aws::Vector< Choice > &&value)
void SetJiraConfiguration(JiraConfiguration &&value)
void SetIsApplicable(bool value)
AnswerSummary & WithJiraConfiguration(const JiraConfiguration &value)
void SetRisk(const Risk &value)
void SetPillarId(const char *value)
AnswerSummary & WithPillarId(const Aws::String &value)
AnswerSummary & WithChoices(Aws::Vector< Choice > &&value)
AnswerSummary & WithChoiceAnswerSummaries(const Aws::Vector< ChoiceAnswerSummary > &value)
void SetSelectedChoices(const Aws::Vector< Aws::String > &value)
const Risk & GetRisk() const
bool ReasonHasBeenSet() const
void SetSelectedChoices(Aws::Vector< Aws::String > &&value)
const AnswerReason & GetReason() const
AnswerSummary & WithRisk(Risk &&value)
AnswerSummary & AddSelectedChoices(const Aws::String &value)
void SetChoices(const Aws::Vector< Choice > &value)
AnswerSummary & WithQuestionId(const Aws::String &value)
AWS_WELLARCHITECTED_API AnswerSummary(Aws::Utils::Json::JsonView jsonValue)
void SetChoiceAnswerSummaries(Aws::Vector< ChoiceAnswerSummary > &&value)
bool SelectedChoicesHasBeenSet() const
void SetRisk(Risk &&value)
bool QuestionTitleHasBeenSet() const
void SetPillarId(Aws::String &&value)
AnswerSummary & AddSelectedChoices(const char *value)
const Aws::String & GetQuestionId() const
AnswerSummary & AddChoiceAnswerSummaries(const ChoiceAnswerSummary &value)
AnswerSummary & WithRisk(const Risk &value)
AnswerSummary & AddChoices(const Choice &value)
AnswerSummary & WithPillarId(const char *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