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/ProfileTemplateChoice.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<ProfileTemplateChoice>>
79 void SetQuestionChoices(QuestionChoicesT&& value) { m_questionChoicesHasBeenSet =
true; m_questionChoices = std::forward<QuestionChoicesT>(value); }
80 template<
typename QuestionChoicesT = Aws::Vector<ProfileTemplateChoice>>
82 template<
typename QuestionChoicesT = ProfileTemplateChoice>
92 inline void SetMinSelectedChoices(
int value) { m_minSelectedChoicesHasBeenSet =
true; m_minSelectedChoices = value; }
102 inline void SetMaxSelectedChoices(
int value) { m_maxSelectedChoicesHasBeenSet =
true; m_maxSelectedChoices = value; }
108 bool m_questionIdHasBeenSet =
false;
111 bool m_questionTitleHasBeenSet =
false;
114 bool m_questionDescriptionHasBeenSet =
false;
117 bool m_questionChoicesHasBeenSet =
false;
119 int m_minSelectedChoices{0};
120 bool m_minSelectedChoicesHasBeenSet =
false;
122 int m_maxSelectedChoices{0};
123 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