7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elementalinference/ElementalInference_EXPORTS.h>
10#include <aws/elementalinference/model/QuestionOption.h>
21namespace ElementalInference {
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
68 template <
typename QuestionT = Aws::String>
70 m_questionHasBeenSet =
true;
71 m_question = std::forward<QuestionT>(value);
73 template <
typename QuestionT = Aws::String>
88 template <
typename OptionsT = Aws::Vector<QuestionOption>>
90 m_optionsHasBeenSet =
true;
91 m_options = std::forward<OptionsT>(value);
93 template <
typename OptionsT = Aws::Vector<QuestionOption>>
98 template <
typename OptionsT = QuestionOption>
100 m_optionsHasBeenSet =
true;
101 m_options.emplace_back(std::forward<OptionsT>(value));
111 bool m_nameHasBeenSet =
false;
112 bool m_questionHasBeenSet =
false;
113 bool m_optionsHasBeenSet =
false;
ChooseOneQuestion & AddOptions(OptionsT &&value)
ChooseOneQuestion & WithName(NameT &&value)
AWS_ELEMENTALINFERENCE_API ChooseOneQuestion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQuestion(QuestionT &&value)
const Aws::String & GetQuestion() const
bool NameHasBeenSet() const
bool OptionsHasBeenSet() const
ChooseOneQuestion & WithQuestion(QuestionT &&value)
const Aws::String & GetName() const
void SetOptions(OptionsT &&value)
AWS_ELEMENTALINFERENCE_API ChooseOneQuestion(Aws::Utils::Json::JsonView jsonValue)
bool QuestionHasBeenSet() const
void SetName(NameT &&value)
AWS_ELEMENTALINFERENCE_API ChooseOneQuestion()=default
const Aws::Vector< QuestionOption > & GetOptions() const
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
ChooseOneQuestion & WithOptions(OptionsT &&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