7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/comprehend/model/BatchDetectTargetedSentimentItemResult.h>
11#include <aws/comprehend/model/BatchItemError.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
46 template<
typename ResultListT = Aws::Vector<BatchDetectTargetedSentimentItemResult>>
47 void SetResultList(ResultListT&& value) { m_resultListHasBeenSet =
true; m_resultList = std::forward<ResultListT>(value); }
48 template<
typename ResultListT = Aws::Vector<BatchDetectTargetedSentimentItemResult>>
50 template<
typename ResultListT = BatchDetectTargetedSentimentItemResult>
59 template<
typename ErrorListT = Aws::Vector<BatchItemError>>
60 void SetErrorList(ErrorListT&& value) { m_errorListHasBeenSet =
true; m_errorList = std::forward<ErrorListT>(value); }
61 template<
typename ErrorListT = Aws::Vector<BatchItemError>>
63 template<
typename ErrorListT = BatchItemError>
70 template<
typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
72 template<
typename RequestIdT = Aws::String>
78 bool m_resultListHasBeenSet =
false;
81 bool m_errorListHasBeenSet =
false;
84 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