7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/BatchDetectSentimentItemResult.h>
9#include <aws/comprehend/model/BatchItemError.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
40 template <
typename ResultListT = Aws::Vector<BatchDetectSentimentItemResult>>
42 m_resultListHasBeenSet =
true;
43 m_resultList = std::forward<ResultListT>(value);
45 template <
typename ResultListT = Aws::Vector<BatchDetectSentimentItemResult>>
50 template <
typename ResultListT = BatchDetectSentimentItemResult>
52 m_resultListHasBeenSet =
true;
53 m_resultList.emplace_back(std::forward<ResultListT>(value));
66 template <
typename ErrorListT = Aws::Vector<BatchItemError>>
68 m_errorListHasBeenSet =
true;
69 m_errorList = std::forward<ErrorListT>(value);
71 template <
typename ErrorListT = Aws::Vector<BatchItemError>>
76 template <
typename ErrorListT = BatchItemError>
78 m_errorListHasBeenSet =
true;
79 m_errorList.emplace_back(std::forward<ErrorListT>(value));
87 template <
typename RequestIdT = Aws::String>
89 m_requestIdHasBeenSet =
true;
90 m_requestId = std::forward<RequestIdT>(value);
92 template <
typename RequestIdT = Aws::String>
104 bool m_resultListHasBeenSet =
false;
105 bool m_errorListHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< BatchItemError > & GetErrorList() const
const Aws::String & GetRequestId() const
BatchDetectSentimentResult & WithErrorList(ErrorListT &&value)
BatchDetectSentimentResult & AddResultList(ResultListT &&value)
AWS_COMPREHEND_API BatchDetectSentimentResult()=default
const Aws::Vector< BatchDetectSentimentItemResult > & GetResultList() const
BatchDetectSentimentResult & WithResultList(ResultListT &&value)
void SetResultList(ResultListT &&value)
void SetErrorList(ErrorListT &&value)
BatchDetectSentimentResult & WithRequestId(RequestIdT &&value)
AWS_COMPREHEND_API BatchDetectSentimentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
AWS_COMPREHEND_API BatchDetectSentimentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDetectSentimentResult & AddErrorList(ErrorListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue