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 {
41 template <
typename YesNoT = Aws::Vector<YesNoQuestion>>
43 m_yesNoHasBeenSet =
true;
44 m_yesNo = std::forward<YesNoT>(value);
46 template <
typename YesNoT = Aws::Vector<YesNoQuestion>>
48 SetYesNo(std::forward<YesNoT>(value));
51 template <
typename YesNoT = YesNoQuestion>
53 m_yesNoHasBeenSet =
true;
54 m_yesNo.emplace_back(std::forward<YesNoT>(value));
65 template <
typename YesNoPerOptionT = Aws::Vector<YesNoPerOptionQuestion>>
67 m_yesNoPerOptionHasBeenSet =
true;
68 m_yesNoPerOption = std::forward<YesNoPerOptionT>(value);
70 template <
typename YesNoPerOptionT = Aws::Vector<YesNoPerOptionQuestion>>
75 template <
typename YesNoPerOptionT = YesNoPerOptionQuestion>
77 m_yesNoPerOptionHasBeenSet =
true;
78 m_yesNoPerOption.emplace_back(std::forward<YesNoPerOptionT>(value));
89 template <
typename ChooseOneT = Aws::Vector<ChooseOneQuestion>>
91 m_chooseOneHasBeenSet =
true;
92 m_chooseOne = std::forward<ChooseOneT>(value);
94 template <
typename ChooseOneT = Aws::Vector<ChooseOneQuestion>>
99 template <
typename ChooseOneT = ChooseOneQuestion>
101 m_chooseOneHasBeenSet =
true;
102 m_chooseOne.emplace_back(std::forward<ChooseOneT>(value));
112 template <
typename ArnT = Aws::String>
114 m_arnHasBeenSet =
true;
115 m_arn = std::forward<ArnT>(value);
117 template <
typename ArnT = Aws::String>
119 SetArn(std::forward<ArnT>(value));
129 template <
typename IdT = Aws::String>
131 m_idHasBeenSet =
true;
132 m_id = std::forward<IdT>(value);
134 template <
typename IdT = Aws::String>
136 SetId(std::forward<IdT>(value));
146 template <
typename NameT = Aws::String>
148 m_nameHasBeenSet =
true;
149 m_name = std::forward<NameT>(value);
151 template <
typename NameT = Aws::String>
153 SetName(std::forward<NameT>(value));
164 template <
typename VersionT = Aws::String>
166 m_versionHasBeenSet =
true;
167 m_version = std::forward<VersionT>(value);
169 template <
typename VersionT = Aws::String>
183 template <
typename DescriptionT = Aws::String>
185 m_descriptionHasBeenSet =
true;
186 m_description = std::forward<DescriptionT>(value);
188 template <
typename DescriptionT = Aws::String>
202 template <
typename LatestVersionT = Aws::String>
204 m_latestVersionHasBeenSet =
true;
205 m_latestVersion = std::forward<LatestVersionT>(value);
207 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>
240 template <
typename ReferencesT = Aws::Vector<Aws::String>>
242 m_referencesHasBeenSet =
true;
243 m_references = std::forward<ReferencesT>(value);
245 template <
typename ReferencesT = Aws::Vector<Aws::String>>
250 template <
typename ReferencesT = Aws::String>
252 m_referencesHasBeenSet =
true;
253 m_references.emplace_back(std::forward<ReferencesT>(value));
263 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
265 m_tagsHasBeenSet =
true;
266 m_tags = std::forward<TagsT>(value);
268 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
270 SetTags(std::forward<TagsT>(value));
273 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
275 m_tagsHasBeenSet =
true;
276 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
284 template <
typename RequestIdT = Aws::String>
286 m_requestIdHasBeenSet =
true;
287 m_requestId = std::forward<RequestIdT>(value);
289 template <
typename RequestIdT = Aws::String>
324 bool m_yesNoHasBeenSet =
false;
325 bool m_yesNoPerOptionHasBeenSet =
false;
326 bool m_chooseOneHasBeenSet =
false;
327 bool m_arnHasBeenSet =
false;
328 bool m_idHasBeenSet =
false;
329 bool m_nameHasBeenSet =
false;
330 bool m_versionHasBeenSet =
false;
331 bool m_descriptionHasBeenSet =
false;
332 bool m_latestVersionHasBeenSet =
false;
333 bool m_sha256HasBeenSet =
false;
334 bool m_referencesHasBeenSet =
false;
335 bool m_tagsHasBeenSet =
false;
336 bool m_requestIdHasBeenSet =
false;
UpdateQuestionSetResult & WithYesNo(YesNoT &&value)
UpdateQuestionSetResult & WithRequestId(RequestIdT &&value)
UpdateQuestionSetResult & WithReferences(ReferencesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetChooseOne(ChooseOneT &&value)
void SetRequestId(RequestIdT &&value)
UpdateQuestionSetResult & AddReferences(ReferencesT &&value)
UpdateQuestionSetResult & WithYesNoPerOption(YesNoPerOptionT &&value)
UpdateQuestionSetResult & AddYesNo(YesNoT &&value)
void SetName(NameT &&value)
UpdateQuestionSetResult & WithTags(TagsT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetId() const
void SetTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< YesNoQuestion > & GetYesNo() const
const Aws::Vector< YesNoPerOptionQuestion > & GetYesNoPerOption() const
const Aws::String & GetSha256() const
UpdateQuestionSetResult & WithVersion(VersionT &&value)
void SetYesNoPerOption(YesNoPerOptionT &&value)
UpdateQuestionSetResult & AddYesNoPerOption(YesNoPerOptionT &&value)
const Aws::String & GetDescription() const
void SetSha256(Sha256T &&value)
const Aws::String & GetVersion() const
UpdateQuestionSetResult & WithId(IdT &&value)
AWS_ELEMENTALINFERENCE_API UpdateQuestionSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetReferences() const
void SetLatestVersion(LatestVersionT &&value)
const Aws::String & GetArn() const
UpdateQuestionSetResult & AddChooseOne(ChooseOneT &&value)
UpdateQuestionSetResult & WithArn(ArnT &&value)
AWS_ELEMENTALINFERENCE_API UpdateQuestionSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateQuestionSetResult & WithDescription(DescriptionT &&value)
AWS_ELEMENTALINFERENCE_API UpdateQuestionSetResult()=default
UpdateQuestionSetResult & WithName(NameT &&value)
void SetArn(ArnT &&value)
void SetYesNo(YesNoT &&value)
void SetVersion(VersionT &&value)
UpdateQuestionSetResult & WithSha256(Sha256T &&value)
const Aws::String & GetLatestVersion() const
const Aws::Vector< ChooseOneQuestion > & GetChooseOne() const
UpdateQuestionSetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetReferences(ReferencesT &&value)
UpdateQuestionSetResult & WithLatestVersion(LatestVersionT &&value)
const Aws::String & GetName() const
UpdateQuestionSetResult & WithChooseOne(ChooseOneT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() 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