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/ProfileChoice.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<ProfileChoice>>
92 m_questionChoicesHasBeenSet =
true;
93 m_questionChoices = std::forward<QuestionChoicesT>(value);
95 template <
typename QuestionChoicesT = Aws::Vector<ProfileChoice>>
100 template <
typename QuestionChoicesT = ProfileChoice>
102 m_questionChoicesHasBeenSet =
true;
103 m_questionChoices.emplace_back(std::forward<QuestionChoicesT>(value));
114 template <
typename SelectedChoiceIdsT = Aws::Vector<Aws::String>>
116 m_selectedChoiceIdsHasBeenSet =
true;
117 m_selectedChoiceIds = std::forward<SelectedChoiceIdsT>(value);
119 template <
typename SelectedChoiceIdsT = Aws::Vector<Aws::String>>
124 template <
typename SelectedChoiceIdsT = Aws::String>
126 m_selectedChoiceIdsHasBeenSet =
true;
127 m_selectedChoiceIds.emplace_back(std::forward<SelectedChoiceIdsT>(value));
139 m_minSelectedChoicesHasBeenSet =
true;
140 m_minSelectedChoices = value;
155 m_maxSelectedChoicesHasBeenSet =
true;
156 m_maxSelectedChoices = value;
174 int m_minSelectedChoices{0};
176 int m_maxSelectedChoices{0};
177 bool m_questionIdHasBeenSet =
false;
178 bool m_questionTitleHasBeenSet =
false;
179 bool m_questionDescriptionHasBeenSet =
false;
180 bool m_questionChoicesHasBeenSet =
false;
181 bool m_selectedChoiceIdsHasBeenSet =
false;
182 bool m_minSelectedChoicesHasBeenSet =
false;
183 bool m_maxSelectedChoicesHasBeenSet =
false;
ProfileQuestion & WithMinSelectedChoices(int value)
bool QuestionTitleHasBeenSet() const
const Aws::Vector< ProfileChoice > & GetQuestionChoices() const
const Aws::String & GetQuestionId() const
ProfileQuestion & WithQuestionTitle(QuestionTitleT &&value)
ProfileQuestion & WithQuestionId(QuestionIdT &&value)
void SetQuestionTitle(QuestionTitleT &&value)
ProfileQuestion & AddQuestionChoices(QuestionChoicesT &&value)
const Aws::String & GetQuestionTitle() const
ProfileQuestion & AddSelectedChoiceIds(SelectedChoiceIdsT &&value)
void SetQuestionId(QuestionIdT &&value)
bool QuestionChoicesHasBeenSet() const
bool QuestionDescriptionHasBeenSet() const
bool MaxSelectedChoicesHasBeenSet() const
ProfileQuestion & WithSelectedChoiceIds(SelectedChoiceIdsT &&value)
const Aws::Vector< Aws::String > & GetSelectedChoiceIds() const
void SetMaxSelectedChoices(int value)
void SetSelectedChoiceIds(SelectedChoiceIdsT &&value)
ProfileQuestion & WithQuestionDescription(QuestionDescriptionT &&value)
AWS_WELLARCHITECTED_API ProfileQuestion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileQuestion & WithMaxSelectedChoices(int value)
ProfileQuestion & WithQuestionChoices(QuestionChoicesT &&value)
AWS_WELLARCHITECTED_API ProfileQuestion(Aws::Utils::Json::JsonView jsonValue)
void SetQuestionChoices(QuestionChoicesT &&value)
int GetMaxSelectedChoices() const
AWS_WELLARCHITECTED_API ProfileQuestion()=default
bool SelectedChoiceIdsHasBeenSet() const
void SetMinSelectedChoices(int value)
bool MinSelectedChoicesHasBeenSet() const
const Aws::String & GetQuestionDescription() const
bool QuestionIdHasBeenSet() const
void SetQuestionDescription(QuestionDescriptionT &&value)
int GetMinSelectedChoices() 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