7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/BatchDetectSyntaxItemResult.h>
9#include <aws/comprehend/model/BatchItemError.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
41 template <
typename ResultListT = Aws::Vector<BatchDetectSyntaxItemResult>>
43 m_resultListHasBeenSet =
true;
44 m_resultList = std::forward<ResultListT>(value);
46 template <
typename ResultListT = Aws::Vector<BatchDetectSyntaxItemResult>>
51 template <
typename ResultListT = BatchDetectSyntaxItemResult>
53 m_resultListHasBeenSet =
true;
54 m_resultList.emplace_back(std::forward<ResultListT>(value));
67 template <
typename ErrorListT = Aws::Vector<BatchItemError>>
69 m_errorListHasBeenSet =
true;
70 m_errorList = std::forward<ErrorListT>(value);
72 template <
typename ErrorListT = Aws::Vector<BatchItemError>>
77 template <
typename ErrorListT = BatchItemError>
79 m_errorListHasBeenSet =
true;
80 m_errorList.emplace_back(std::forward<ErrorListT>(value));
88 template <
typename RequestIdT = Aws::String>
90 m_requestIdHasBeenSet =
true;
91 m_requestId = std::forward<RequestIdT>(value);
93 template <
typename RequestIdT = Aws::String>
108 bool m_resultListHasBeenSet =
false;
109 bool m_errorListHasBeenSet =
false;
110 bool m_requestIdHasBeenSet =
false;
BatchDetectSyntaxResult & WithResultList(ResultListT &&value)
void SetErrorList(ErrorListT &&value)
const Aws::Vector< BatchItemError > & GetErrorList() const
void SetResultList(ResultListT &&value)
AWS_COMPREHEND_API BatchDetectSyntaxResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
BatchDetectSyntaxResult & AddErrorList(ErrorListT &&value)
AWS_COMPREHEND_API BatchDetectSyntaxResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
BatchDetectSyntaxResult & AddResultList(ResultListT &&value)
BatchDetectSyntaxResult & WithErrorList(ErrorListT &&value)
AWS_COMPREHEND_API BatchDetectSyntaxResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDetectSyntaxResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< BatchDetectSyntaxItemResult > & GetResultList() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue