7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elementalinference/ElementalInferenceRequest.h>
10#include <aws/elementalinference/ElementalInference_EXPORTS.h>
11#include <aws/elementalinference/model/ChooseOneQuestion.h>
12#include <aws/elementalinference/model/YesNoPerOptionQuestion.h>
13#include <aws/elementalinference/model/YesNoQuestion.h>
18namespace ElementalInference {
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
62 template <
typename YesNoT = Aws::Vector<YesNoQuestion>>
64 m_yesNoHasBeenSet =
true;
65 m_yesNo = std::forward<YesNoT>(value);
67 template <
typename YesNoT = Aws::Vector<YesNoQuestion>>
69 SetYesNo(std::forward<YesNoT>(value));
72 template <
typename YesNoT = YesNoQuestion>
74 m_yesNoHasBeenSet =
true;
75 m_yesNo.emplace_back(std::forward<YesNoT>(value));
90 template <
typename YesNoPerOptionT = Aws::Vector<YesNoPerOptionQuestion>>
92 m_yesNoPerOptionHasBeenSet =
true;
93 m_yesNoPerOption = std::forward<YesNoPerOptionT>(value);
95 template <
typename YesNoPerOptionT = Aws::Vector<YesNoPerOptionQuestion>>
100 template <
typename YesNoPerOptionT = YesNoPerOptionQuestion>
102 m_yesNoPerOptionHasBeenSet =
true;
103 m_yesNoPerOption.emplace_back(std::forward<YesNoPerOptionT>(value));
117 template <
typename ChooseOneT = Aws::Vector<ChooseOneQuestion>>
119 m_chooseOneHasBeenSet =
true;
120 m_chooseOne = std::forward<ChooseOneT>(value);
122 template <
typename ChooseOneT = Aws::Vector<ChooseOneQuestion>>
127 template <
typename ChooseOneT = ChooseOneQuestion>
129 m_chooseOneHasBeenSet =
true;
130 m_chooseOne.emplace_back(std::forward<ChooseOneT>(value));
142 template <
typename NameT = Aws::String>
144 m_nameHasBeenSet =
true;
145 m_name = std::forward<NameT>(value);
147 template <
typename NameT = Aws::String>
149 SetName(std::forward<NameT>(value));
163 bool m_idHasBeenSet =
false;
164 bool m_yesNoHasBeenSet =
false;
165 bool m_yesNoPerOptionHasBeenSet =
false;
166 bool m_chooseOneHasBeenSet =
false;
167 bool m_nameHasBeenSet =
false;
AWS_ELEMENTALINFERENCE_API UpdateQuestionSetRequest()=default
UpdateQuestionSetRequest & WithName(NameT &&value)
UpdateQuestionSetRequest & WithId(IdT &&value)
void SetChooseOne(ChooseOneT &&value)
bool YesNoHasBeenSet() const
const Aws::Vector< YesNoPerOptionQuestion > & GetYesNoPerOption() const
bool ChooseOneHasBeenSet() const
bool YesNoPerOptionHasBeenSet() const
bool NameHasBeenSet() const
UpdateQuestionSetRequest & WithYesNoPerOption(YesNoPerOptionT &&value)
const Aws::Vector< YesNoQuestion > & GetYesNo() const
UpdateQuestionSetRequest & AddChooseOne(ChooseOneT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override
void SetYesNoPerOption(YesNoPerOptionT &&value)
UpdateQuestionSetRequest & WithYesNo(YesNoT &&value)
const Aws::Vector< ChooseOneQuestion > & GetChooseOne() const
void SetName(NameT &&value)
UpdateQuestionSetRequest & AddYesNo(YesNoT &&value)
UpdateQuestionSetRequest & AddYesNoPerOption(YesNoPerOptionT &&value)
bool IdHasBeenSet() const
const Aws::String & GetId() const
void SetYesNo(YesNoT &&value)
UpdateQuestionSetRequest & WithChooseOne(ChooseOneT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector