7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/comprehend/model/DocumentMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/comprehend/model/Entity.h>
12#include <aws/comprehend/model/DocumentTypeListItem.h>
13#include <aws/comprehend/model/Block.h>
14#include <aws/comprehend/model/ErrorsListItem.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
54 template<
typename EntitiesT = Aws::Vector<Entity>>
55 void SetEntities(EntitiesT&& value) { m_entitiesHasBeenSet =
true; m_entities = std::forward<EntitiesT>(value); }
56 template<
typename EntitiesT = Aws::Vector<Entity>>
58 template<
typename EntitiesT = Entity>
69 template<
typename DocumentMetadataT = DocumentMetadata>
70 void SetDocumentMetadata(DocumentMetadataT&& value) { m_documentMetadataHasBeenSet =
true; m_documentMetadata = std::forward<DocumentMetadataT>(value); }
71 template<
typename DocumentMetadataT = DocumentMetadata>
81 template<
typename DocumentTypeT = Aws::Vector<DocumentTypeListItem>>
82 void SetDocumentType(DocumentTypeT&& value) { m_documentTypeHasBeenSet =
true; m_documentType = std::forward<DocumentTypeT>(value); }
83 template<
typename DocumentTypeT = Aws::Vector<DocumentTypeListItem>>
85 template<
typename DocumentTypeT = DocumentTypeListItem>
99 template<
typename BlocksT = Aws::Vector<Block>>
100 void SetBlocks(BlocksT&& value) { m_blocksHasBeenSet =
true; m_blocks = std::forward<BlocksT>(value); }
101 template<
typename BlocksT = Aws::Vector<Block>>
103 template<
typename BlocksT = Block>
113 template<
typename ErrorsT = Aws::Vector<ErrorsListItem>>
114 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
115 template<
typename ErrorsT = Aws::Vector<ErrorsListItem>>
117 template<
typename ErrorsT = ErrorsListItem>
124 template<
typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
126 template<
typename RequestIdT = Aws::String>
132 bool m_entitiesHasBeenSet =
false;
135 bool m_documentMetadataHasBeenSet =
false;
138 bool m_documentTypeHasBeenSet =
false;
141 bool m_blocksHasBeenSet =
false;
144 bool m_errorsHasBeenSet =
false;
147 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)
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