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/BatchDetectSentimentItemResult.h>
11#include <aws/comprehend/model/BatchItemError.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
46 template<
typename ResultListT = Aws::Vector<BatchDetectSentimentItemResult>>
47 void SetResultList(ResultListT&& value) { m_resultListHasBeenSet =
true; m_resultList = std::forward<ResultListT>(value); }
48 template<
typename ResultListT = Aws::Vector<BatchDetectSentimentItemResult>>
50 template<
typename ResultListT = BatchDetectSentimentItemResult>
62 template<
typename ErrorListT = Aws::Vector<BatchItemError>>
63 void SetErrorList(ErrorListT&& value) { m_errorListHasBeenSet =
true; m_errorList = std::forward<ErrorListT>(value); }
64 template<
typename ErrorListT = Aws::Vector<BatchItemError>>
66 template<
typename ErrorListT = BatchItemError>
73 template<
typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
75 template<
typename RequestIdT = Aws::String>
81 bool m_resultListHasBeenSet =
false;
84 bool m_errorListHasBeenSet =
false;
87 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