AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyzeExpenseRequest.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 AnalyzeExpenseRequest();
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 "AnalyzeExpense"; }
31
32 AWS_TEXTRACT_API Aws::String SerializePayload() const override;
33
35
36
38
39 inline const Document& GetDocument() const{ return m_document; }
40 inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
41 inline void SetDocument(const Document& value) { m_documentHasBeenSet = true; m_document = value; }
42 inline void SetDocument(Document&& value) { m_documentHasBeenSet = true; m_document = std::move(value); }
43 inline AnalyzeExpenseRequest& WithDocument(const Document& value) { SetDocument(value); return *this;}
44 inline AnalyzeExpenseRequest& WithDocument(Document&& value) { SetDocument(std::move(value)); return *this;}
46 private:
47
48 Document m_document;
49 bool m_documentHasBeenSet = false;
50 };
51
52} // namespace Model
53} // namespace Textract
54} // namespace Aws
AnalyzeExpenseRequest & WithDocument(Document &&value)
AWS_TEXTRACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AnalyzeExpenseRequest & WithDocument(const Document &value)
virtual const char * GetServiceRequestName() const override
AWS_TEXTRACT_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String