7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/Block.h>
9#include <aws/comprehend/model/DocumentMetadata.h>
10#include <aws/comprehend/model/DocumentTypeListItem.h>
11#include <aws/comprehend/model/Entity.h>
12#include <aws/comprehend/model/ErrorsListItem.h>
13#include <aws/core/http/HttpResponse.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
49 template <
typename EntitiesT = Aws::Vector<Entity>>
51 m_entitiesHasBeenSet =
true;
52 m_entities = std::forward<EntitiesT>(value);
54 template <
typename EntitiesT = Aws::Vector<Entity>>
59 template <
typename EntitiesT = Entity>
61 m_entitiesHasBeenSet =
true;
62 m_entities.emplace_back(std::forward<EntitiesT>(value));
74 template <
typename DocumentMetadataT = DocumentMetadata>
76 m_documentMetadataHasBeenSet =
true;
77 m_documentMetadata = std::forward<DocumentMetadataT>(value);
79 template <
typename DocumentMetadataT = DocumentMetadata>
92 template <
typename DocumentTypeT = Aws::Vector<DocumentTypeListItem>>
94 m_documentTypeHasBeenSet =
true;
95 m_documentType = std::forward<DocumentTypeT>(value);
97 template <
typename DocumentTypeT = Aws::Vector<DocumentTypeListItem>>
102 template <
typename DocumentTypeT = DocumentTypeListItem>
104 m_documentTypeHasBeenSet =
true;
105 m_documentType.emplace_back(std::forward<DocumentTypeT>(value));
120 template <
typename BlocksT = Aws::Vector<Block>>
122 m_blocksHasBeenSet =
true;
123 m_blocks = std::forward<BlocksT>(value);
125 template <
typename BlocksT = Aws::Vector<Block>>
130 template <
typename BlocksT = Block>
132 m_blocksHasBeenSet =
true;
133 m_blocks.emplace_back(std::forward<BlocksT>(value));
144 template <
typename ErrorsT = Aws::Vector<ErrorsListItem>>
146 m_errorsHasBeenSet =
true;
147 m_errors = std::forward<ErrorsT>(value);
149 template <
typename ErrorsT = Aws::Vector<ErrorsListItem>>
154 template <
typename ErrorsT = ErrorsListItem>
156 m_errorsHasBeenSet =
true;
157 m_errors.emplace_back(std::forward<ErrorsT>(value));
165 template <
typename RequestIdT = Aws::String>
167 m_requestIdHasBeenSet =
true;
168 m_requestId = std::forward<RequestIdT>(value);
170 template <
typename RequestIdT = Aws::String>
191 bool m_entitiesHasBeenSet =
false;
192 bool m_documentMetadataHasBeenSet =
false;
193 bool m_documentTypeHasBeenSet =
false;
194 bool m_blocksHasBeenSet =
false;
195 bool m_errorsHasBeenSet =
false;
196 bool m_requestIdHasBeenSet =
false;
DetectEntitiesResult & AddBlocks(BlocksT &&value)
DetectEntitiesResult & WithBlocks(BlocksT &&value)
const Aws::Vector< ErrorsListItem > & GetErrors() const
AWS_COMPREHEND_API DetectEntitiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEntities(EntitiesT &&value)
DetectEntitiesResult & WithDocumentMetadata(DocumentMetadataT &&value)
void SetBlocks(BlocksT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< DocumentTypeListItem > & GetDocumentType() const
AWS_COMPREHEND_API DetectEntitiesResult()=default
AWS_COMPREHEND_API DetectEntitiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Entity > & GetEntities() const
const Aws::Vector< Block > & GetBlocks() const
void SetRequestId(RequestIdT &&value)
void SetDocumentMetadata(DocumentMetadataT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DetectEntitiesResult & AddDocumentType(DocumentTypeT &&value)
DetectEntitiesResult & AddErrors(ErrorsT &&value)
DetectEntitiesResult & WithRequestId(RequestIdT &&value)
void SetDocumentType(DocumentTypeT &&value)
DetectEntitiesResult & WithEntities(EntitiesT &&value)
void SetErrors(ErrorsT &&value)
DetectEntitiesResult & AddEntities(EntitiesT &&value)
DetectEntitiesResult & WithErrors(ErrorsT &&value)
DetectEntitiesResult & WithDocumentType(DocumentTypeT &&value)
const DocumentMetadata & GetDocumentMetadata() 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