7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/BatchDetectTargetedSentimentItemResult.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<BatchDetectTargetedSentimentItemResult>>
42 m_resultListHasBeenSet =
true;
43 m_resultList = std::forward<ResultListT>(value);
45 template <
typename ResultListT = Aws::Vector<BatchDetectTargetedSentimentItemResult>>
50 template <
typename ResultListT = BatchDetectTargetedSentimentItemResult>
52 m_resultListHasBeenSet =
true;
53 m_resultList.emplace_back(std::forward<ResultListT>(value));
63 template <
typename ErrorListT = Aws::Vector<BatchItemError>>
65 m_errorListHasBeenSet =
true;
66 m_errorList = std::forward<ErrorListT>(value);
68 template <
typename ErrorListT = Aws::Vector<BatchItemError>>
73 template <
typename ErrorListT = BatchItemError>
75 m_errorListHasBeenSet =
true;
76 m_errorList.emplace_back(std::forward<ErrorListT>(value));
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
101 bool m_resultListHasBeenSet =
false;
102 bool m_errorListHasBeenSet =
false;
103 bool m_requestIdHasBeenSet =
false;
BatchDetectTargetedSentimentResult & AddResultList(ResultListT &&value)
void SetResultList(ResultListT &&value)
AWS_COMPREHEND_API BatchDetectTargetedSentimentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDetectTargetedSentimentResult & WithErrorList(ErrorListT &&value)
AWS_COMPREHEND_API BatchDetectTargetedSentimentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
BatchDetectTargetedSentimentResult & WithResultList(ResultListT &&value)
BatchDetectTargetedSentimentResult & WithRequestId(RequestIdT &&value)
BatchDetectTargetedSentimentResult & AddErrorList(ErrorListT &&value)
const Aws::Vector< BatchItemError > & GetErrorList() const
AWS_COMPREHEND_API BatchDetectTargetedSentimentResult()=default
void SetErrorList(ErrorListT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< BatchDetectTargetedSentimentItemResult > & 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