AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
StartLendingAnalysisRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/textract/TextractRequest.h>
9#include <aws/textract/Textract_EXPORTS.h>
10#include <aws/textract/model/DocumentLocation.h>
11#include <aws/textract/model/NotificationChannel.h>
12#include <aws/textract/model/OutputConfig.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Textract {
18namespace Model {
19
23 public:
24 AWS_TEXTRACT_API StartLendingAnalysisRequest() = default;
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 "StartLendingAnalysis"; }
31
32 AWS_TEXTRACT_API Aws::String SerializePayload() const override;
33
35
37
38 inline const DocumentLocation& GetDocumentLocation() const { return m_documentLocation; }
39 inline bool DocumentLocationHasBeenSet() const { return m_documentLocationHasBeenSet; }
40 template <typename DocumentLocationT = DocumentLocation>
41 void SetDocumentLocation(DocumentLocationT&& value) {
42 m_documentLocationHasBeenSet = true;
43 m_documentLocation = std::forward<DocumentLocationT>(value);
44 }
45 template <typename DocumentLocationT = DocumentLocation>
47 SetDocumentLocation(std::forward<DocumentLocationT>(value));
48 return *this;
49 }
51
53
62 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
63 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
64 template <typename ClientRequestTokenT = Aws::String>
65 void SetClientRequestToken(ClientRequestTokenT&& value) {
66 m_clientRequestTokenHasBeenSet = true;
67 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
68 }
69 template <typename ClientRequestTokenT = Aws::String>
71 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
72 return *this;
73 }
75
77
83 inline const Aws::String& GetJobTag() const { return m_jobTag; }
84 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
85 template <typename JobTagT = Aws::String>
86 void SetJobTag(JobTagT&& value) {
87 m_jobTagHasBeenSet = true;
88 m_jobTag = std::forward<JobTagT>(value);
89 }
90 template <typename JobTagT = Aws::String>
92 SetJobTag(std::forward<JobTagT>(value));
93 return *this;
94 }
96
98
99 inline const NotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
100 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
101 template <typename NotificationChannelT = NotificationChannel>
102 void SetNotificationChannel(NotificationChannelT&& value) {
103 m_notificationChannelHasBeenSet = true;
104 m_notificationChannel = std::forward<NotificationChannelT>(value);
105 }
106 template <typename NotificationChannelT = NotificationChannel>
108 SetNotificationChannel(std::forward<NotificationChannelT>(value));
109 return *this;
110 }
112
114
115 inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; }
116 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
117 template <typename OutputConfigT = OutputConfig>
118 void SetOutputConfig(OutputConfigT&& value) {
119 m_outputConfigHasBeenSet = true;
120 m_outputConfig = std::forward<OutputConfigT>(value);
121 }
122 template <typename OutputConfigT = OutputConfig>
124 SetOutputConfig(std::forward<OutputConfigT>(value));
125 return *this;
126 }
128
130
137 inline const Aws::String& GetKMSKeyId() const { return m_kMSKeyId; }
138 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
139 template <typename KMSKeyIdT = Aws::String>
140 void SetKMSKeyId(KMSKeyIdT&& value) {
141 m_kMSKeyIdHasBeenSet = true;
142 m_kMSKeyId = std::forward<KMSKeyIdT>(value);
143 }
144 template <typename KMSKeyIdT = Aws::String>
146 SetKMSKeyId(std::forward<KMSKeyIdT>(value));
147 return *this;
148 }
150 private:
151 DocumentLocation m_documentLocation;
152 bool m_documentLocationHasBeenSet = false;
153
154 Aws::String m_clientRequestToken;
155 bool m_clientRequestTokenHasBeenSet = false;
156
157 Aws::String m_jobTag;
158 bool m_jobTagHasBeenSet = false;
159
160 NotificationChannel m_notificationChannel;
161 bool m_notificationChannelHasBeenSet = false;
162
163 OutputConfig m_outputConfig;
164 bool m_outputConfigHasBeenSet = false;
165
166 Aws::String m_kMSKeyId;
167 bool m_kMSKeyIdHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace Textract
172} // namespace Aws
StartLendingAnalysisRequest & WithClientRequestToken(ClientRequestTokenT &&value)
virtual const char * GetServiceRequestName() const override
StartLendingAnalysisRequest & WithNotificationChannel(NotificationChannelT &&value)
StartLendingAnalysisRequest & WithJobTag(JobTagT &&value)
StartLendingAnalysisRequest & WithOutputConfig(OutputConfigT &&value)
AWS_TEXTRACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartLendingAnalysisRequest & WithDocumentLocation(DocumentLocationT &&value)
AWS_TEXTRACT_API Aws::String SerializePayload() const override
StartLendingAnalysisRequest & WithKMSKeyId(KMSKeyIdT &&value)
AWS_TEXTRACT_API StartLendingAnalysisRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String