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
48 inline void SetQuestionId(
const char* value) { m_questionIdHasBeenSet =
true; m_questionId.assign(value); }
60 inline void SetQuestionTitle(
const char* value) { m_questionTitleHasBeenSet =
true; m_questionTitle.assign(value); }
72 inline void SetQuestionDescription(
const char* value) { m_questionDescriptionHasBeenSet =
true; m_questionDescription.assign(value); }
98 inline void SetMinSelectedChoices(
int value) { m_minSelectedChoicesHasBeenSet =
true; m_minSelectedChoices = value; }
108 inline void SetMaxSelectedChoices(
int value) { m_maxSelectedChoicesHasBeenSet =
true; m_maxSelectedChoices = value; }
114 bool m_questionIdHasBeenSet =
false;
117 bool m_questionTitleHasBeenSet =
false;
120 bool m_questionDescriptionHasBeenSet =
false;
123 bool m_questionChoicesHasBeenSet =
false;
125 int m_minSelectedChoices;
126 bool m_minSelectedChoicesHasBeenSet =
false;
128 int m_maxSelectedChoices;
129 bool m_maxSelectedChoicesHasBeenSet =
false;
AWS_WELLARCHITECTED_API ProfileTemplateQuestion()
bool QuestionDescriptionHasBeenSet() const
ProfileTemplateQuestion & WithQuestionDescription(const Aws::String &value)
void SetQuestionTitle(const Aws::String &value)
int GetMinSelectedChoices() const
void SetQuestionId(const char *value)
void SetQuestionChoices(const Aws::Vector< ProfileTemplateChoice > &value)
ProfileTemplateQuestion & WithQuestionId(const char *value)
ProfileTemplateQuestion & WithQuestionId(Aws::String &&value)
void SetQuestionTitle(const char *value)
void SetQuestionDescription(const Aws::String &value)
const Aws::String & GetQuestionDescription() const
void SetQuestionId(const Aws::String &value)
bool QuestionChoicesHasBeenSet() const
const Aws::String & GetQuestionTitle() const
ProfileTemplateQuestion & WithQuestionChoices(Aws::Vector< ProfileTemplateChoice > &&value)
const Aws::String & GetQuestionId() const
ProfileTemplateQuestion & WithQuestionTitle(Aws::String &&value)
void SetQuestionDescription(const char *value)
ProfileTemplateQuestion & WithMinSelectedChoices(int value)
ProfileTemplateQuestion & AddQuestionChoices(ProfileTemplateChoice &&value)
ProfileTemplateQuestion & WithQuestionId(const Aws::String &value)
bool QuestionTitleHasBeenSet() const
AWS_WELLARCHITECTED_API ProfileTemplateQuestion & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MinSelectedChoicesHasBeenSet() const
int GetMaxSelectedChoices() const
void SetMaxSelectedChoices(int value)
void SetQuestionDescription(Aws::String &&value)
bool QuestionIdHasBeenSet() const
void SetQuestionTitle(Aws::String &&value)
ProfileTemplateQuestion & WithQuestionTitle(const Aws::String &value)
void SetMinSelectedChoices(int value)
ProfileTemplateQuestion & WithQuestionDescription(Aws::String &&value)
ProfileTemplateQuestion & WithQuestionChoices(const Aws::Vector< ProfileTemplateChoice > &value)
bool MaxSelectedChoicesHasBeenSet() const
ProfileTemplateQuestion & WithMaxSelectedChoices(int value)
const Aws::Vector< ProfileTemplateChoice > & GetQuestionChoices() const
ProfileTemplateQuestion & WithQuestionTitle(const char *value)
void SetQuestionId(Aws::String &&value)
void SetQuestionChoices(Aws::Vector< ProfileTemplateChoice > &&value)
AWS_WELLARCHITECTED_API ProfileTemplateQuestion(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileTemplateQuestion & AddQuestionChoices(const ProfileTemplateChoice &value)
ProfileTemplateQuestion & WithQuestionDescription(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