7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elementalinference/ElementalInference_EXPORTS.h>
19namespace ElementalInference {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
66 template <
typename QuestionT = Aws::String>
68 m_questionHasBeenSet =
true;
69 m_question = std::forward<QuestionT>(value);
71 template <
typename QuestionT = Aws::String>
81 bool m_nameHasBeenSet =
false;
82 bool m_questionHasBeenSet =
false;
YesNoQuestion & WithName(NameT &&value)
void SetQuestion(QuestionT &&value)
YesNoQuestion & WithQuestion(QuestionT &&value)
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELEMENTALINFERENCE_API YesNoQuestion()=default
AWS_ELEMENTALINFERENCE_API YesNoQuestion(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API YesNoQuestion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetQuestion() const
bool QuestionHasBeenSet() const
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue