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 {
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
70 template <
typename QuestionT = Aws::String>
72 m_questionHasBeenSet =
true;
73 m_question = std::forward<QuestionT>(value);
75 template <
typename QuestionT = Aws::String>
90 template <
typename OptionsT = Aws::Vector<QuestionOption>>
92 m_optionsHasBeenSet =
true;
93 m_options = std::forward<OptionsT>(value);
95 template <
typename OptionsT = Aws::Vector<QuestionOption>>
100 template <
typename OptionsT = QuestionOption>
102 m_optionsHasBeenSet =
true;
103 m_options.emplace_back(std::forward<OptionsT>(value));
113 bool m_nameHasBeenSet =
false;
114 bool m_questionHasBeenSet =
false;
115 bool m_optionsHasBeenSet =
false;
const Aws::Vector< QuestionOption > & GetOptions() const
void SetQuestion(QuestionT &&value)
AWS_ELEMENTALINFERENCE_API YesNoPerOptionQuestion()=default
YesNoPerOptionQuestion & WithQuestion(QuestionT &&value)
bool NameHasBeenSet() const
YesNoPerOptionQuestion & WithOptions(OptionsT &&value)
YesNoPerOptionQuestion & WithName(NameT &&value)
const Aws::String & GetQuestion() const
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOptions(OptionsT &&value)
YesNoPerOptionQuestion & AddOptions(OptionsT &&value)
bool OptionsHasBeenSet() const
AWS_ELEMENTALINFERENCE_API YesNoPerOptionQuestion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API YesNoPerOptionQuestion(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool QuestionHasBeenSet() const
const Aws::String & GetName() 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