/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A profile question.See Also:
AWS
* API Reference
The question choices.
*/ inline const Aws::VectorThe question choices.
*/ inline bool QuestionChoicesHasBeenSet() const { return m_questionChoicesHasBeenSet; } /** *The question choices.
*/ inline void SetQuestionChoices(const Aws::VectorThe question choices.
*/ inline void SetQuestionChoices(Aws::VectorThe question choices.
*/ inline ProfileQuestion& WithQuestionChoices(const Aws::VectorThe question choices.
*/ inline ProfileQuestion& WithQuestionChoices(Aws::VectorThe question choices.
*/ inline ProfileQuestion& AddQuestionChoices(const ProfileChoice& value) { m_questionChoicesHasBeenSet = true; m_questionChoices.push_back(value); return *this; } /** *The question choices.
*/ inline ProfileQuestion& AddQuestionChoices(ProfileChoice&& value) { m_questionChoicesHasBeenSet = true; m_questionChoices.push_back(std::move(value)); return *this; } /** *The selected choices.
*/ inline const Aws::VectorThe selected choices.
*/ inline bool SelectedChoiceIdsHasBeenSet() const { return m_selectedChoiceIdsHasBeenSet; } /** *The selected choices.
*/ inline void SetSelectedChoiceIds(const Aws::VectorThe selected choices.
*/ inline void SetSelectedChoiceIds(Aws::VectorThe selected choices.
*/ inline ProfileQuestion& WithSelectedChoiceIds(const Aws::VectorThe selected choices.
*/ inline ProfileQuestion& WithSelectedChoiceIds(Aws::VectorThe selected choices.
*/ inline ProfileQuestion& AddSelectedChoiceIds(const Aws::String& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds.push_back(value); return *this; } /** *The selected choices.
*/ inline ProfileQuestion& AddSelectedChoiceIds(Aws::String&& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds.push_back(std::move(value)); return *this; } /** *The selected choices.
*/ inline ProfileQuestion& AddSelectedChoiceIds(const char* value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds.push_back(value); return *this; } /** *The minimum number of selected choices.
*/ inline int GetMinSelectedChoices() const{ return m_minSelectedChoices; } /** *The minimum number of selected choices.
*/ inline bool MinSelectedChoicesHasBeenSet() const { return m_minSelectedChoicesHasBeenSet; } /** *The minimum number of selected choices.
*/ inline void SetMinSelectedChoices(int value) { m_minSelectedChoicesHasBeenSet = true; m_minSelectedChoices = value; } /** *The minimum number of selected choices.
*/ inline ProfileQuestion& WithMinSelectedChoices(int value) { SetMinSelectedChoices(value); return *this;} /** *The maximum number of selected choices.
*/ inline int GetMaxSelectedChoices() const{ return m_maxSelectedChoices; } /** *The maximum number of selected choices.
*/ inline bool MaxSelectedChoicesHasBeenSet() const { return m_maxSelectedChoicesHasBeenSet; } /** *The maximum number of selected choices.
*/ inline void SetMaxSelectedChoices(int value) { m_maxSelectedChoicesHasBeenSet = true; m_maxSelectedChoices = value; } /** *The maximum number of selected choices.
*/ inline ProfileQuestion& WithMaxSelectedChoices(int value) { SetMaxSelectedChoices(value); return *this;} private: Aws::String m_questionId; bool m_questionIdHasBeenSet = false; Aws::String m_questionTitle; bool m_questionTitleHasBeenSet = false; Aws::String m_questionDescription; bool m_questionDescriptionHasBeenSet = false; Aws::Vector