7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elementalinference/ElementalInferenceRequest.h>
11#include <aws/elementalinference/ElementalInference_EXPORTS.h>
12#include <aws/elementalinference/model/ChooseOneQuestion.h>
13#include <aws/elementalinference/model/YesNoPerOptionQuestion.h>
14#include <aws/elementalinference/model/YesNoQuestion.h>
19namespace ElementalInference {
44 template <
typename YesNoT = Aws::Vector<YesNoQuestion>>
46 m_yesNoHasBeenSet =
true;
47 m_yesNo = std::forward<YesNoT>(value);
49 template <
typename YesNoT = Aws::Vector<YesNoQuestion>>
51 SetYesNo(std::forward<YesNoT>(value));
54 template <
typename YesNoT = YesNoQuestion>
56 m_yesNoHasBeenSet =
true;
57 m_yesNo.emplace_back(std::forward<YesNoT>(value));
71 template <
typename YesNoPerOptionT = Aws::Vector<YesNoPerOptionQuestion>>
73 m_yesNoPerOptionHasBeenSet =
true;
74 m_yesNoPerOption = std::forward<YesNoPerOptionT>(value);
76 template <
typename YesNoPerOptionT = Aws::Vector<YesNoPerOptionQuestion>>
81 template <
typename YesNoPerOptionT = YesNoPerOptionQuestion>
83 m_yesNoPerOptionHasBeenSet =
true;
84 m_yesNoPerOption.emplace_back(std::forward<YesNoPerOptionT>(value));
97 template <
typename ChooseOneT = Aws::Vector<ChooseOneQuestion>>
99 m_chooseOneHasBeenSet =
true;
100 m_chooseOne = std::forward<ChooseOneT>(value);
102 template <
typename ChooseOneT = Aws::Vector<ChooseOneQuestion>>
107 template <
typename ChooseOneT = ChooseOneQuestion>
109 m_chooseOneHasBeenSet =
true;
110 m_chooseOne.emplace_back(std::forward<ChooseOneT>(value));
121 template <
typename NameT = Aws::String>
123 m_nameHasBeenSet =
true;
124 m_name = std::forward<NameT>(value);
126 template <
typename NameT = Aws::String>
128 SetName(std::forward<NameT>(value));
140 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 m_tagsHasBeenSet =
true;
143 m_tags = std::forward<TagsT>(value);
145 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
147 SetTags(std::forward<TagsT>(value));
150 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
152 m_tagsHasBeenSet =
true;
153 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
167 bool m_yesNoHasBeenSet =
false;
168 bool m_yesNoPerOptionHasBeenSet =
false;
169 bool m_chooseOneHasBeenSet =
false;
170 bool m_nameHasBeenSet =
false;
171 bool m_tagsHasBeenSet =
false;
bool ChooseOneHasBeenSet() const
CreateQuestionSetRequest & WithChooseOne(ChooseOneT &&value)
const Aws::String & GetName() const
void SetYesNo(YesNoT &&value)
void SetChooseOne(ChooseOneT &&value)
AWS_ELEMENTALINFERENCE_API CreateQuestionSetRequest()=default
bool TagsHasBeenSet() const
CreateQuestionSetRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateQuestionSetRequest & WithYesNoPerOption(YesNoPerOptionT &&value)
bool NameHasBeenSet() const
CreateQuestionSetRequest & AddYesNoPerOption(YesNoPerOptionT &&value)
const Aws::Vector< ChooseOneQuestion > & GetChooseOne() const
bool YesNoPerOptionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< YesNoPerOptionQuestion > & GetYesNoPerOption() const
void SetName(NameT &&value)
void SetYesNoPerOption(YesNoPerOptionT &&value)
CreateQuestionSetRequest & WithYesNo(YesNoT &&value)
virtual const char * GetServiceRequestName() const override
CreateQuestionSetRequest & WithTags(TagsT &&value)
AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override
bool YesNoHasBeenSet() const
CreateQuestionSetRequest & AddYesNo(YesNoT &&value)
CreateQuestionSetRequest & AddChooseOne(ChooseOneT &&value)
CreateQuestionSetRequest & WithName(NameT &&value)
const Aws::Vector< YesNoQuestion > & GetYesNo() const
void SetTags(TagsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector