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/ProfileChoice.h>
23namespace WellArchitected
46 template<
typename QuestionIdT = Aws::String>
47 void SetQuestionId(QuestionIdT&& value) { m_questionIdHasBeenSet =
true; m_questionId = std::forward<QuestionIdT>(value); }
48 template<
typename QuestionIdT = Aws::String>
56 template<
typename QuestionTitleT = Aws::String>
57 void SetQuestionTitle(QuestionTitleT&& value) { m_questionTitleHasBeenSet =
true; m_questionTitle = std::forward<QuestionTitleT>(value); }
58 template<
typename QuestionTitleT = Aws::String>
66 template<
typename QuestionDescriptionT = Aws::String>
67 void SetQuestionDescription(QuestionDescriptionT&& value) { m_questionDescriptionHasBeenSet =
true; m_questionDescription = std::forward<QuestionDescriptionT>(value); }
68 template<
typename QuestionDescriptionT = Aws::String>
78 template<
typename QuestionChoicesT = Aws::Vector<ProfileChoice>>
79 void SetQuestionChoices(QuestionChoicesT&& value) { m_questionChoicesHasBeenSet =
true; m_questionChoices = std::forward<QuestionChoicesT>(value); }
80 template<
typename QuestionChoicesT = Aws::Vector<ProfileChoice>>
82 template<
typename QuestionChoicesT = ProfileChoice>
83 ProfileQuestion&
AddQuestionChoices(QuestionChoicesT&& value) { m_questionChoicesHasBeenSet =
true; m_questionChoices.emplace_back(std::forward<QuestionChoicesT>(value));
return *
this; }
92 template<
typename SelectedChoiceIdsT = Aws::Vector<Aws::String>>
93 void SetSelectedChoiceIds(SelectedChoiceIdsT&& value) { m_selectedChoiceIdsHasBeenSet =
true; m_selectedChoiceIds = std::forward<SelectedChoiceIdsT>(value); }
94 template<
typename SelectedChoiceIdsT = Aws::Vector<Aws::String>>
96 template<
typename SelectedChoiceIdsT = Aws::String>
97 ProfileQuestion&
AddSelectedChoiceIds(SelectedChoiceIdsT&& value) { m_selectedChoiceIdsHasBeenSet =
true; m_selectedChoiceIds.emplace_back(std::forward<SelectedChoiceIdsT>(value));
return *
this; }
106 inline void SetMinSelectedChoices(
int value) { m_minSelectedChoicesHasBeenSet =
true; m_minSelectedChoices = value; }
116 inline void SetMaxSelectedChoices(
int value) { m_maxSelectedChoicesHasBeenSet =
true; m_maxSelectedChoices = value; }
122 bool m_questionIdHasBeenSet =
false;
125 bool m_questionTitleHasBeenSet =
false;
128 bool m_questionDescriptionHasBeenSet =
false;
131 bool m_questionChoicesHasBeenSet =
false;
134 bool m_selectedChoiceIdsHasBeenSet =
false;
136 int m_minSelectedChoices{0};
137 bool m_minSelectedChoicesHasBeenSet =
false;
139 int m_maxSelectedChoices{0};
140 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