AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDetectKeyPhrasesResult.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/BatchDetectKeyPhrasesItemResult.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:
33 AWS_COMPREHEND_API BatchDetectKeyPhrasesResult();
36
37
39
45 inline const Aws::Vector<BatchDetectKeyPhrasesItemResult>& GetResultList() const{ return m_resultList; }
46 inline void SetResultList(const Aws::Vector<BatchDetectKeyPhrasesItemResult>& value) { m_resultList = value; }
47 inline void SetResultList(Aws::Vector<BatchDetectKeyPhrasesItemResult>&& value) { m_resultList = std::move(value); }
50 inline BatchDetectKeyPhrasesResult& AddResultList(const BatchDetectKeyPhrasesItemResult& value) { m_resultList.push_back(value); return *this; }
51 inline BatchDetectKeyPhrasesResult& AddResultList(BatchDetectKeyPhrasesItemResult&& value) { m_resultList.push_back(std::move(value)); return *this; }
53
55
61 inline const Aws::Vector<BatchItemError>& GetErrorList() const{ return m_errorList; }
62 inline void SetErrorList(const Aws::Vector<BatchItemError>& value) { m_errorList = value; }
63 inline void SetErrorList(Aws::Vector<BatchItemError>&& value) { m_errorList = std::move(value); }
65 inline BatchDetectKeyPhrasesResult& WithErrorList(Aws::Vector<BatchItemError>&& value) { SetErrorList(std::move(value)); return *this;}
66 inline BatchDetectKeyPhrasesResult& AddErrorList(const BatchItemError& value) { m_errorList.push_back(value); return *this; }
67 inline BatchDetectKeyPhrasesResult& AddErrorList(BatchItemError&& value) { m_errorList.push_back(std::move(value)); return *this; }
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline BatchDetectKeyPhrasesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline BatchDetectKeyPhrasesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline BatchDetectKeyPhrasesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
83
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace Comprehend
91} // namespace Aws
AWS_COMPREHEND_API BatchDetectKeyPhrasesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDetectKeyPhrasesResult & AddErrorList(BatchItemError &&value)
void SetResultList(Aws::Vector< BatchDetectKeyPhrasesItemResult > &&value)
BatchDetectKeyPhrasesResult & AddErrorList(const BatchItemError &value)
BatchDetectKeyPhrasesResult & AddResultList(const BatchDetectKeyPhrasesItemResult &value)
void SetErrorList(Aws::Vector< BatchItemError > &&value)
const Aws::Vector< BatchItemError > & GetErrorList() const
BatchDetectKeyPhrasesResult & WithRequestId(const Aws::String &value)
void SetResultList(const Aws::Vector< BatchDetectKeyPhrasesItemResult > &value)
BatchDetectKeyPhrasesResult & WithResultList(Aws::Vector< BatchDetectKeyPhrasesItemResult > &&value)
const Aws::Vector< BatchDetectKeyPhrasesItemResult > & GetResultList() const
void SetErrorList(const Aws::Vector< BatchItemError > &value)
AWS_COMPREHEND_API BatchDetectKeyPhrasesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDetectKeyPhrasesResult & WithRequestId(const char *value)
BatchDetectKeyPhrasesResult & WithErrorList(const Aws::Vector< BatchItemError > &value)
BatchDetectKeyPhrasesResult & WithRequestId(Aws::String &&value)
BatchDetectKeyPhrasesResult & WithErrorList(Aws::Vector< BatchItemError > &&value)
BatchDetectKeyPhrasesResult & WithResultList(const Aws::Vector< BatchDetectKeyPhrasesItemResult > &value)
BatchDetectKeyPhrasesResult & AddResultList(BatchDetectKeyPhrasesItemResult &&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