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/DocumentClass.h>
12#include <aws/comprehend/model/DocumentLabel.h>
13#include <aws/comprehend/model/DocumentTypeListItem.h>
14#include <aws/comprehend/model/ErrorsListItem.h>
15#include <aws/comprehend/model/WarningsListItem.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
141 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetClasses(const Aws::Vector< DocumentClass > &value)
void SetDocumentType(Aws::Vector< DocumentTypeListItem > &&value)
ClassifyDocumentResult & WithDocumentMetadata(const DocumentMetadata &value)
void SetDocumentMetadata(const DocumentMetadata &value)
void SetWarnings(const Aws::Vector< WarningsListItem > &value)
const DocumentMetadata & GetDocumentMetadata() const
void SetLabels(const Aws::Vector< DocumentLabel > &value)
ClassifyDocumentResult & WithRequestId(const Aws::String &value)
ClassifyDocumentResult & AddDocumentType(DocumentTypeListItem &&value)
void SetDocumentType(const Aws::Vector< DocumentTypeListItem > &value)
ClassifyDocumentResult & WithDocumentType(const Aws::Vector< DocumentTypeListItem > &value)
ClassifyDocumentResult & AddDocumentType(const DocumentTypeListItem &value)
ClassifyDocumentResult & WithErrors(Aws::Vector< ErrorsListItem > &&value)
ClassifyDocumentResult & AddLabels(DocumentLabel &&value)
ClassifyDocumentResult & AddWarnings(const WarningsListItem &value)
ClassifyDocumentResult & WithErrors(const Aws::Vector< ErrorsListItem > &value)
AWS_COMPREHEND_API ClassifyDocumentResult()
ClassifyDocumentResult & WithRequestId(Aws::String &&value)
void SetErrors(const Aws::Vector< ErrorsListItem > &value)
ClassifyDocumentResult & WithDocumentMetadata(DocumentMetadata &&value)
void SetRequestId(const Aws::String &value)
ClassifyDocumentResult & WithLabels(const Aws::Vector< DocumentLabel > &value)
ClassifyDocumentResult & AddErrors(ErrorsListItem &&value)
AWS_COMPREHEND_API ClassifyDocumentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ClassifyDocumentResult & WithClasses(const Aws::Vector< DocumentClass > &value)
ClassifyDocumentResult & AddClasses(DocumentClass &&value)
ClassifyDocumentResult & WithLabels(Aws::Vector< DocumentLabel > &&value)
void SetClasses(Aws::Vector< DocumentClass > &&value)
ClassifyDocumentResult & WithWarnings(Aws::Vector< WarningsListItem > &&value)
void SetRequestId(Aws::String &&value)
ClassifyDocumentResult & AddLabels(const DocumentLabel &value)
const Aws::Vector< DocumentLabel > & GetLabels() const
const Aws::String & GetRequestId() const
ClassifyDocumentResult & AddClasses(const DocumentClass &value)
const Aws::Vector< DocumentTypeListItem > & GetDocumentType() const
void SetDocumentMetadata(DocumentMetadata &&value)
void SetLabels(Aws::Vector< DocumentLabel > &&value)
ClassifyDocumentResult & AddErrors(const ErrorsListItem &value)
const Aws::Vector< WarningsListItem > & GetWarnings() const
ClassifyDocumentResult & WithWarnings(const Aws::Vector< WarningsListItem > &value)
AWS_COMPREHEND_API ClassifyDocumentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< DocumentClass > & GetClasses() const
void SetWarnings(Aws::Vector< WarningsListItem > &&value)
void SetErrors(Aws::Vector< ErrorsListItem > &&value)
ClassifyDocumentResult & WithDocumentType(Aws::Vector< DocumentTypeListItem > &&value)
ClassifyDocumentResult & AddWarnings(WarningsListItem &&value)
ClassifyDocumentResult & WithClasses(Aws::Vector< DocumentClass > &&value)
ClassifyDocumentResult & WithRequestId(const char *value)
const Aws::Vector< ErrorsListItem > & GetErrors() const
void SetRequestId(const char *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