AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDetectTargetedSentimentResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Comprehend
27{
28namespace Model
29{
31 {
32 public:
36
37
39
45 inline const Aws::Vector<BatchDetectTargetedSentimentItemResult>& GetResultList() const{ return m_resultList; }
46 inline void SetResultList(const Aws::Vector<BatchDetectTargetedSentimentItemResult>& value) { m_resultList = value; }
47 inline void SetResultList(Aws::Vector<BatchDetectTargetedSentimentItemResult>&& value) { m_resultList = std::move(value); }
50 inline BatchDetectTargetedSentimentResult& AddResultList(const BatchDetectTargetedSentimentItemResult& value) { m_resultList.push_back(value); return *this; }
51 inline BatchDetectTargetedSentimentResult& AddResultList(BatchDetectTargetedSentimentItemResult&& value) { m_resultList.push_back(std::move(value)); return *this; }
53
55
58 inline const Aws::Vector<BatchItemError>& GetErrorList() const{ return m_errorList; }
59 inline void SetErrorList(const Aws::Vector<BatchItemError>& value) { m_errorList = value; }
60 inline void SetErrorList(Aws::Vector<BatchItemError>&& value) { m_errorList = std::move(value); }
63 inline BatchDetectTargetedSentimentResult& AddErrorList(const BatchItemError& value) { m_errorList.push_back(value); return *this; }
64 inline BatchDetectTargetedSentimentResult& AddErrorList(BatchItemError&& value) { m_errorList.push_back(std::move(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline BatchDetectTargetedSentimentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline BatchDetectTargetedSentimentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline BatchDetectTargetedSentimentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
80
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace Comprehend
88} // namespace Aws
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)
BatchDetectTargetedSentimentResult & AddResultList(BatchDetectTargetedSentimentItemResult &&value)
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