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;
75 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetErrorList(Aws::Vector< BatchItemError > &&value)
const Aws::Vector< BatchItemError > & GetErrorList() const
const Aws::String & GetRequestId() const
BatchDetectSentimentResult & WithResultList(Aws::Vector< BatchDetectSentimentItemResult > &&value)
BatchDetectSentimentResult & WithRequestId(const char *value)
BatchDetectSentimentResult & WithResultList(const Aws::Vector< BatchDetectSentimentItemResult > &value)
BatchDetectSentimentResult & AddResultList(const BatchDetectSentimentItemResult &value)
BatchDetectSentimentResult & WithRequestId(Aws::String &&value)
const Aws::Vector< BatchDetectSentimentItemResult > & GetResultList() const
void SetErrorList(const Aws::Vector< BatchItemError > &value)
void SetRequestId(const Aws::String &value)
BatchDetectSentimentResult & AddErrorList(BatchItemError &&value)
BatchDetectSentimentResult & WithErrorList(const Aws::Vector< BatchItemError > &value)
BatchDetectSentimentResult & WithErrorList(Aws::Vector< BatchItemError > &&value)
void SetResultList(Aws::Vector< BatchDetectSentimentItemResult > &&value)
BatchDetectSentimentResult & AddResultList(BatchDetectSentimentItemResult &&value)
BatchDetectSentimentResult & AddErrorList(const BatchItemError &value)
AWS_COMPREHEND_API BatchDetectSentimentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COMPREHEND_API BatchDetectSentimentResult()
void SetRequestId(const char *value)
AWS_COMPREHEND_API BatchDetectSentimentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDetectSentimentResult & WithRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetResultList(const Aws::Vector< BatchDetectSentimentItemResult > &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