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
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); }
113 inline void SetMinSelectedChoices(
int value) { m_minSelectedChoicesHasBeenSet =
true; m_minSelectedChoices = value; }
123 inline void SetMaxSelectedChoices(
int value) { m_maxSelectedChoicesHasBeenSet =
true; m_maxSelectedChoices = value; }
129 bool m_questionIdHasBeenSet =
false;
132 bool m_questionTitleHasBeenSet =
false;
135 bool m_questionDescriptionHasBeenSet =
false;
138 bool m_questionChoicesHasBeenSet =
false;
141 bool m_selectedChoiceIdsHasBeenSet =
false;
143 int m_minSelectedChoices;
144 bool m_minSelectedChoicesHasBeenSet =
false;
146 int m_maxSelectedChoices;
147 bool m_maxSelectedChoicesHasBeenSet =
false;
ProfileQuestion & WithQuestionTitle(const Aws::String &value)
ProfileQuestion & WithMinSelectedChoices(int value)
bool QuestionTitleHasBeenSet() const
ProfileQuestion & WithQuestionChoices(const Aws::Vector< ProfileChoice > &value)
const Aws::Vector< ProfileChoice > & GetQuestionChoices() const
const Aws::String & GetQuestionId() const
ProfileQuestion & WithQuestionId(const char *value)
void SetQuestionId(Aws::String &&value)
void SetQuestionTitle(Aws::String &&value)
ProfileQuestion & AddSelectedChoiceIds(const Aws::String &value)
void SetQuestionId(const char *value)
void SetSelectedChoiceIds(const Aws::Vector< Aws::String > &value)
ProfileQuestion & AddSelectedChoiceIds(const char *value)
const Aws::String & GetQuestionTitle() const
void SetQuestionId(const Aws::String &value)
bool QuestionChoicesHasBeenSet() const
bool QuestionDescriptionHasBeenSet() const
bool MaxSelectedChoicesHasBeenSet() const
ProfileQuestion & WithQuestionChoices(Aws::Vector< ProfileChoice > &&value)
const Aws::Vector< Aws::String > & GetSelectedChoiceIds() const
void SetMaxSelectedChoices(int value)
ProfileQuestion & WithQuestionId(Aws::String &&value)
ProfileQuestion & WithSelectedChoiceIds(const Aws::Vector< Aws::String > &value)
ProfileQuestion & AddSelectedChoiceIds(Aws::String &&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 & AddQuestionChoices(ProfileChoice &&value)
void SetQuestionDescription(const char *value)
void SetQuestionTitle(const char *value)
ProfileQuestion & WithQuestionDescription(const Aws::String &value)
ProfileQuestion & WithQuestionTitle(const char *value)
ProfileQuestion & WithQuestionDescription(Aws::String &&value)
void SetQuestionDescription(Aws::String &&value)
ProfileQuestion & AddQuestionChoices(const ProfileChoice &value)
ProfileQuestion & WithQuestionId(const Aws::String &value)
void SetQuestionTitle(const Aws::String &value)
AWS_WELLARCHITECTED_API ProfileQuestion(Aws::Utils::Json::JsonView jsonValue)
int GetMaxSelectedChoices() const
ProfileQuestion & WithQuestionDescription(const char *value)
bool SelectedChoiceIdsHasBeenSet() const
void SetQuestionChoices(Aws::Vector< ProfileChoice > &&value)
void SetMinSelectedChoices(int value)
void SetQuestionChoices(const Aws::Vector< ProfileChoice > &value)
bool MinSelectedChoicesHasBeenSet() const
const Aws::String & GetQuestionDescription() const
bool QuestionIdHasBeenSet() const
ProfileQuestion & WithSelectedChoiceIds(Aws::Vector< Aws::String > &&value)
void SetQuestionDescription(const Aws::String &value)
AWS_WELLARCHITECTED_API ProfileQuestion()
void SetSelectedChoiceIds(Aws::Vector< Aws::String > &&value)
int GetMinSelectedChoices() const
ProfileQuestion & WithQuestionTitle(Aws::String &&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