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/ProfileTemplateChoice.h>
21namespace WellArchitected {
40 template <
typename QuestionIdT = Aws::String>
42 m_questionIdHasBeenSet =
true;
43 m_questionId = std::forward<QuestionIdT>(value);
45 template <
typename QuestionIdT = Aws::String>
56 template <
typename QuestionTitleT = Aws::String>
58 m_questionTitleHasBeenSet =
true;
59 m_questionTitle = std::forward<QuestionTitleT>(value);
61 template <
typename QuestionTitleT = Aws::String>
72 template <
typename QuestionDescriptionT = Aws::String>
74 m_questionDescriptionHasBeenSet =
true;
75 m_questionDescription = std::forward<QuestionDescriptionT>(value);
77 template <
typename QuestionDescriptionT = Aws::String>
90 template <
typename QuestionChoicesT = Aws::Vector<ProfileTemplateChoice>>
92 m_questionChoicesHasBeenSet =
true;
93 m_questionChoices = std::forward<QuestionChoicesT>(value);
95 template <
typename QuestionChoicesT = Aws::Vector<ProfileTemplateChoice>>
100 template <
typename QuestionChoicesT = ProfileTemplateChoice>
102 m_questionChoicesHasBeenSet =
true;
103 m_questionChoices.emplace_back(std::forward<QuestionChoicesT>(value));
115 m_minSelectedChoicesHasBeenSet =
true;
116 m_minSelectedChoices = value;
131 m_maxSelectedChoicesHasBeenSet =
true;
132 m_maxSelectedChoices = value;
148 int m_minSelectedChoices{0};
150 int m_maxSelectedChoices{0};
151 bool m_questionIdHasBeenSet =
false;
152 bool m_questionTitleHasBeenSet =
false;
153 bool m_questionDescriptionHasBeenSet =
false;
154 bool m_questionChoicesHasBeenSet =
false;
155 bool m_minSelectedChoicesHasBeenSet =
false;
156 bool m_maxSelectedChoicesHasBeenSet =
false;
ProfileTemplateQuestion & AddQuestionChoices(QuestionChoicesT &&value)
bool QuestionDescriptionHasBeenSet() const
ProfileTemplateQuestion & WithQuestionTitle(QuestionTitleT &&value)
void SetQuestionDescription(QuestionDescriptionT &&value)
int GetMinSelectedChoices() const
void SetQuestionChoices(QuestionChoicesT &&value)
ProfileTemplateQuestion & WithQuestionDescription(QuestionDescriptionT &&value)
const Aws::String & GetQuestionDescription() const
bool QuestionChoicesHasBeenSet() const
const Aws::String & GetQuestionTitle() const
const Aws::String & GetQuestionId() const
ProfileTemplateQuestion & WithMinSelectedChoices(int value)
bool QuestionTitleHasBeenSet() const
AWS_WELLARCHITECTED_API ProfileTemplateQuestion & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MinSelectedChoicesHasBeenSet() const
int GetMaxSelectedChoices() const
ProfileTemplateQuestion & WithQuestionChoices(QuestionChoicesT &&value)
void SetMaxSelectedChoices(int value)
bool QuestionIdHasBeenSet() const
void SetMinSelectedChoices(int value)
void SetQuestionTitle(QuestionTitleT &&value)
bool MaxSelectedChoicesHasBeenSet() const
ProfileTemplateQuestion & WithQuestionId(QuestionIdT &&value)
AWS_WELLARCHITECTED_API ProfileTemplateQuestion()=default
ProfileTemplateQuestion & WithMaxSelectedChoices(int value)
const Aws::Vector< ProfileTemplateChoice > & GetQuestionChoices() const
void SetQuestionId(QuestionIdT &&value)
AWS_WELLARCHITECTED_API ProfileTemplateQuestion(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue