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