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;
126 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetBlocks(const Aws::Vector< Block > &value)
const Aws::Vector< ErrorsListItem > & GetErrors() const
DetectEntitiesResult & WithErrors(const Aws::Vector< ErrorsListItem > &value)
DetectEntitiesResult & WithDocumentMetadata(const DocumentMetadata &value)
DetectEntitiesResult & AddEntities(Entity &&value)
AWS_COMPREHEND_API DetectEntitiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectEntitiesResult & WithBlocks(Aws::Vector< Block > &&value)
DetectEntitiesResult & AddEntities(const Entity &value)
DetectEntitiesResult & WithEntities(const Aws::Vector< Entity > &value)
const Aws::String & GetRequestId() const
const Aws::Vector< DocumentTypeListItem > & GetDocumentType() const
DetectEntitiesResult & WithDocumentMetadata(DocumentMetadata &&value)
DetectEntitiesResult & AddErrors(ErrorsListItem &&value)
DetectEntitiesResult & AddDocumentType(const DocumentTypeListItem &value)
void SetErrors(const Aws::Vector< ErrorsListItem > &value)
AWS_COMPREHEND_API DetectEntitiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Entity > & GetEntities() const
void SetDocumentMetadata(const DocumentMetadata &value)
DetectEntitiesResult & AddErrors(const ErrorsListItem &value)
const Aws::Vector< Block > & GetBlocks() const
DetectEntitiesResult & WithRequestId(const Aws::String &value)
DetectEntitiesResult & WithEntities(Aws::Vector< Entity > &&value)
DetectEntitiesResult & AddBlocks(const Block &value)
void SetDocumentMetadata(DocumentMetadata &&value)
DetectEntitiesResult & WithRequestId(Aws::String &&value)
void SetEntities(const Aws::Vector< Entity > &value)
void SetDocumentType(const Aws::Vector< DocumentTypeListItem > &value)
DetectEntitiesResult & WithDocumentType(Aws::Vector< DocumentTypeListItem > &&value)
void SetEntities(Aws::Vector< Entity > &&value)
DetectEntitiesResult & AddBlocks(Block &&value)
DetectEntitiesResult & WithRequestId(const char *value)
void SetRequestId(const char *value)
DetectEntitiesResult & WithErrors(Aws::Vector< ErrorsListItem > &&value)
AWS_COMPREHEND_API DetectEntitiesResult()
void SetRequestId(const Aws::String &value)
void SetBlocks(Aws::Vector< Block > &&value)
void SetErrors(Aws::Vector< ErrorsListItem > &&value)
DetectEntitiesResult & WithBlocks(const Aws::Vector< Block > &value)
void SetDocumentType(Aws::Vector< DocumentTypeListItem > &&value)
DetectEntitiesResult & AddDocumentType(DocumentTypeListItem &&value)
void SetRequestId(Aws::String &&value)
const DocumentMetadata & GetDocumentMetadata() const
DetectEntitiesResult & WithDocumentType(const Aws::Vector< DocumentTypeListItem > &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