7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace ElementalInference {
42 template <
typename YesNoT = Aws::Vector<YesNoQuestion>>
44 m_yesNoHasBeenSet =
true;
45 m_yesNo = std::forward<YesNoT>(value);
47 template <
typename YesNoT = Aws::Vector<YesNoQuestion>>
49 SetYesNo(std::forward<YesNoT>(value));
52 template <
typename YesNoT = YesNoQuestion>
54 m_yesNoHasBeenSet =
true;
55 m_yesNo.emplace_back(std::forward<YesNoT>(value));
66 template <
typename YesNoPerOptionT = Aws::Vector<YesNoPerOptionQuestion>>
68 m_yesNoPerOptionHasBeenSet =
true;
69 m_yesNoPerOption = std::forward<YesNoPerOptionT>(value);
71 template <
typename YesNoPerOptionT = Aws::Vector<YesNoPerOptionQuestion>>
76 template <
typename YesNoPerOptionT = YesNoPerOptionQuestion>
78 m_yesNoPerOptionHasBeenSet =
true;
79 m_yesNoPerOption.emplace_back(std::forward<YesNoPerOptionT>(value));
90 template <
typename ChooseOneT = Aws::Vector<ChooseOneQuestion>>
92 m_chooseOneHasBeenSet =
true;
93 m_chooseOne = std::forward<ChooseOneT>(value);
95 template <
typename ChooseOneT = Aws::Vector<ChooseOneQuestion>>
100 template <
typename ChooseOneT = ChooseOneQuestion>
102 m_chooseOneHasBeenSet =
true;
103 m_chooseOne.emplace_back(std::forward<ChooseOneT>(value));
113 template <
typename ArnT = Aws::String>
115 m_arnHasBeenSet =
true;
116 m_arn = std::forward<ArnT>(value);
118 template <
typename ArnT = Aws::String>
120 SetArn(std::forward<ArnT>(value));
130 template <
typename IdT = Aws::String>
132 m_idHasBeenSet =
true;
133 m_id = std::forward<IdT>(value);
135 template <
typename IdT = Aws::String>
137 SetId(std::forward<IdT>(value));
147 template <
typename NameT = Aws::String>
149 m_nameHasBeenSet =
true;
150 m_name = std::forward<NameT>(value);
152 template <
typename NameT = Aws::String>
154 SetName(std::forward<NameT>(value));
166 template <
typename VersionT = Aws::String>
168 m_versionHasBeenSet =
true;
169 m_version = std::forward<VersionT>(value);
171 template <
typename VersionT = Aws::String>
186 template <
typename DescriptionT = Aws::String>
188 m_descriptionHasBeenSet =
true;
189 m_description = std::forward<DescriptionT>(value);
191 template <
typename DescriptionT = Aws::String>
204 template <
typename LatestVersionT = Aws::String>
206 m_latestVersionHasBeenSet =
true;
207 m_latestVersion = std::forward<LatestVersionT>(value);
209 template <
typename LatestVersionT = Aws::String>
223 template <
typename Sha256T = Aws::String>
225 m_sha256HasBeenSet =
true;
226 m_sha256 = std::forward<Sha256T>(value);
228 template <
typename Sha256T = Aws::String>
241 template <
typename ReferencesT = Aws::Vector<Aws::String>>
243 m_referencesHasBeenSet =
true;
244 m_references = std::forward<ReferencesT>(value);
246 template <
typename ReferencesT = Aws::Vector<Aws::String>>
251 template <
typename ReferencesT = Aws::String>
253 m_referencesHasBeenSet =
true;
254 m_references.emplace_back(std::forward<ReferencesT>(value));
264 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
266 m_tagsHasBeenSet =
true;
267 m_tags = std::forward<TagsT>(value);
269 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
271 SetTags(std::forward<TagsT>(value));
274 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
276 m_tagsHasBeenSet =
true;
277 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
285 template <
typename RequestIdT = Aws::String>
287 m_requestIdHasBeenSet =
true;
288 m_requestId = std::forward<RequestIdT>(value);
290 template <
typename RequestIdT = Aws::String>
325 bool m_yesNoHasBeenSet =
false;
326 bool m_yesNoPerOptionHasBeenSet =
false;
327 bool m_chooseOneHasBeenSet =
false;
328 bool m_arnHasBeenSet =
false;
329 bool m_idHasBeenSet =
false;
330 bool m_nameHasBeenSet =
false;
331 bool m_versionHasBeenSet =
false;
332 bool m_descriptionHasBeenSet =
false;
333 bool m_latestVersionHasBeenSet =
false;
334 bool m_sha256HasBeenSet =
false;
335 bool m_referencesHasBeenSet =
false;
336 bool m_tagsHasBeenSet =
false;
337 bool m_requestIdHasBeenSet =
false;
AWS_ELEMENTALINFERENCE_API CreateQuestionSetVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateQuestionSetVersionResult & WithSha256(Sha256T &&value)
void SetArn(ArnT &&value)
CreateQuestionSetVersionResult & WithYesNoPerOption(YesNoPerOptionT &&value)
void SetChooseOne(ChooseOneT &&value)
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateQuestionSetVersionResult & WithArn(ArnT &&value)
void SetYesNo(YesNoT &&value)
CreateQuestionSetVersionResult & AddReferences(ReferencesT &&value)
CreateQuestionSetVersionResult & WithDescription(DescriptionT &&value)
const Aws::Vector< YesNoPerOptionQuestion > & GetYesNoPerOption() const
void SetSha256(Sha256T &&value)
CreateQuestionSetVersionResult & WithTags(TagsT &&value)
const Aws::String & GetSha256() const
const Aws::String & GetArn() const
CreateQuestionSetVersionResult & WithVersion(VersionT &&value)
CreateQuestionSetVersionResult & WithReferences(ReferencesT &&value)
CreateQuestionSetVersionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetVersion(VersionT &&value)
CreateQuestionSetVersionResult & WithLatestVersion(LatestVersionT &&value)
AWS_ELEMENTALINFERENCE_API CreateQuestionSetVersionResult()=default
CreateQuestionSetVersionResult & WithChooseOne(ChooseOneT &&value)
CreateQuestionSetVersionResult & WithYesNo(YesNoT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< YesNoQuestion > & GetYesNo() const
const Aws::String & GetId() const
void SetName(NameT &&value)
const Aws::String & GetVersion() const
void SetLatestVersion(LatestVersionT &&value)
void SetReferences(ReferencesT &&value)
CreateQuestionSetVersionResult & AddYesNoPerOption(YesNoPerOptionT &&value)
const Aws::String & GetDescription() const
CreateQuestionSetVersionResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetReferences() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
AWS_ELEMENTALINFERENCE_API CreateQuestionSetVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ChooseOneQuestion > & GetChooseOne() const
void SetYesNoPerOption(YesNoPerOptionT &&value)
CreateQuestionSetVersionResult & WithName(NameT &&value)
const Aws::String & GetName() const
CreateQuestionSetVersionResult & AddChooseOne(ChooseOneT &&value)
CreateQuestionSetVersionResult & WithId(IdT &&value)
const Aws::String & GetRequestId() const
CreateQuestionSetVersionResult & AddYesNo(YesNoT &&value)
const Aws::String & GetLatestVersion() const
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
Aws::Utils::Json::JsonValue JsonValue