AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectDocumentTextRequest.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/TextractRequest.h>
9#include <aws/textract/model/Document.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Textract
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_TEXTRACT_API DetectDocumentTextRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DetectDocumentText"; }
31
32 AWS_TEXTRACT_API Aws::String SerializePayload() const override;
33
35
36
38
45 inline const Document& GetDocument() const{ return m_document; }
46 inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
47 inline void SetDocument(const Document& value) { m_documentHasBeenSet = true; m_document = value; }
48 inline void SetDocument(Document&& value) { m_documentHasBeenSet = true; m_document = std::move(value); }
49 inline DetectDocumentTextRequest& WithDocument(const Document& value) { SetDocument(value); return *this;}
50 inline DetectDocumentTextRequest& WithDocument(Document&& value) { SetDocument(std::move(value)); return *this;}
52 private:
53
54 Document m_document;
55 bool m_documentHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace Textract
60} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_TEXTRACT_API Aws::String SerializePayload() const override
DetectDocumentTextRequest & WithDocument(Document &&value)
DetectDocumentTextRequest & WithDocument(const Document &value)
AWS_TEXTRACT_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