7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/ComprehendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <aws/comprehend/model/DocumentReaderConfig.h>
46 template<
typename TextT = Aws::String>
47 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
48 template<
typename TextT = Aws::String>
66 template<
typename Endpo
intArnT = Aws::String>
67 void SetEndpointArn(EndpointArnT&& value) { m_endpointArnHasBeenSet =
true; m_endpointArn = std::forward<EndpointArnT>(value); }
68 template<
typename Endpo
intArnT = Aws::String>
91 template<
typename BytesT = Aws::Utils::ByteBuffer>
92 void SetBytes(BytesT&& value) { m_bytesHasBeenSet =
true; m_bytes = std::forward<BytesT>(value); }
93 template<
typename BytesT = Aws::Utils::ByteBuffer>
104 template<
typename DocumentReaderConfigT = DocumentReaderConfig>
105 void SetDocumentReaderConfig(DocumentReaderConfigT&& value) { m_documentReaderConfigHasBeenSet =
true; m_documentReaderConfig = std::forward<DocumentReaderConfigT>(value); }
106 template<
typename DocumentReaderConfigT = DocumentReaderConfig>
112 bool m_textHasBeenSet =
false;
115 bool m_endpointArnHasBeenSet =
false;
118 bool m_bytesHasBeenSet =
false;
120 DocumentReaderConfig m_documentReaderConfig;
121 bool m_documentReaderConfigHasBeenSet =
false;
void SetEndpointArn(EndpointArnT &&value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
bool TextHasBeenSet() const
bool DocumentReaderConfigHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool EndpointArnHasBeenSet() const
ClassifyDocumentRequest & WithEndpointArn(EndpointArnT &&value)
ClassifyDocumentRequest & WithBytes(BytesT &&value)
void SetBytes(BytesT &&value)
const DocumentReaderConfig & GetDocumentReaderConfig() const
ClassifyDocumentRequest & WithText(TextT &&value)
void SetText(TextT &&value)
const Aws::String & GetEndpointArn() const
bool BytesHasBeenSet() const
const Aws::String & GetText() const
const Aws::Utils::ByteBuffer & GetBytes() const
AWS_COMPREHEND_API ClassifyDocumentRequest()=default
ClassifyDocumentRequest & WithDocumentReaderConfig(DocumentReaderConfigT &&value)
void SetDocumentReaderConfig(DocumentReaderConfigT &&value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String