AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDetectDominantLanguageResult.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/BatchDetectDominantLanguageItemResult.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<BatchDetectDominantLanguageItemResult>& GetResultList() const{ return m_resultList; }
46 inline void SetResultList(const Aws::Vector<BatchDetectDominantLanguageItemResult>& value) { m_resultList = value; }
47 inline void SetResultList(Aws::Vector<BatchDetectDominantLanguageItemResult>&& value) { m_resultList = std::move(value); }
50 inline BatchDetectDominantLanguageResult& AddResultList(const BatchDetectDominantLanguageItemResult& value) { m_resultList.push_back(value); return *this; }
51 inline BatchDetectDominantLanguageResult& AddResultList(BatchDetectDominantLanguageItemResult&& 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); }
66 inline BatchDetectDominantLanguageResult& AddErrorList(const BatchItemError& value) { m_errorList.push_back(value); return *this; }
67 inline BatchDetectDominantLanguageResult& 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 BatchDetectDominantLanguageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline BatchDetectDominantLanguageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline BatchDetectDominantLanguageResult& 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
BatchDetectDominantLanguageResult & WithRequestId(const Aws::String &value)
void SetResultList(const Aws::Vector< BatchDetectDominantLanguageItemResult > &value)
AWS_COMPREHEND_API BatchDetectDominantLanguageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDetectDominantLanguageResult & WithResultList(const Aws::Vector< BatchDetectDominantLanguageItemResult > &value)
BatchDetectDominantLanguageResult & AddErrorList(const BatchItemError &value)
BatchDetectDominantLanguageResult & WithErrorList(const Aws::Vector< BatchItemError > &value)
BatchDetectDominantLanguageResult & AddResultList(const BatchDetectDominantLanguageItemResult &value)
BatchDetectDominantLanguageResult & WithRequestId(const char *value)
BatchDetectDominantLanguageResult & AddResultList(BatchDetectDominantLanguageItemResult &&value)
const Aws::Vector< BatchDetectDominantLanguageItemResult > & GetResultList() const
BatchDetectDominantLanguageResult & WithResultList(Aws::Vector< BatchDetectDominantLanguageItemResult > &&value)
void SetResultList(Aws::Vector< BatchDetectDominantLanguageItemResult > &&value)
AWS_COMPREHEND_API BatchDetectDominantLanguageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDetectDominantLanguageResult & WithRequestId(Aws::String &&value)
BatchDetectDominantLanguageResult & AddErrorList(BatchItemError &&value)
BatchDetectDominantLanguageResult & WithErrorList(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