7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elementalinference/ElementalInference_EXPORTS.h>
19namespace ElementalInference {
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
64 template <
typename TextT = Aws::String>
66 m_textHasBeenSet =
true;
67 m_text = std::forward<TextT>(value);
69 template <
typename TextT = Aws::String>
71 SetText(std::forward<TextT>(value));
79 bool m_nameHasBeenSet =
false;
80 bool m_textHasBeenSet =
false;
QuestionOption & WithText(TextT &&value)
AWS_ELEMENTALINFERENCE_API QuestionOption()=default
const Aws::String & GetName() const
bool TextHasBeenSet() const
AWS_ELEMENTALINFERENCE_API QuestionOption(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
QuestionOption & WithName(NameT &&value)
AWS_ELEMENTALINFERENCE_API QuestionOption & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetText(TextT &&value)
const Aws::String & GetText() const
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue