AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
StartDocumentTextDetectionRequest.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 StartDocumentTextDetectionRequest() = 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 "StartDocumentTextDetection"; }
31
32 AWS_TEXTRACT_API Aws::String SerializePayload() const override;
33
35
37
40 inline const DocumentLocation& GetDocumentLocation() const { return m_documentLocation; }
41 inline bool DocumentLocationHasBeenSet() const { return m_documentLocationHasBeenSet; }
42 template <typename DocumentLocationT = DocumentLocation>
43 void SetDocumentLocation(DocumentLocationT&& value) {
44 m_documentLocationHasBeenSet = true;
45 m_documentLocation = std::forward<DocumentLocationT>(value);
46 }
47 template <typename DocumentLocationT = DocumentLocation>
49 SetDocumentLocation(std::forward<DocumentLocationT>(value));
50 return *this;
51 }
53
55
64 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
65 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
66 template <typename ClientRequestTokenT = Aws::String>
67 void SetClientRequestToken(ClientRequestTokenT&& value) {
68 m_clientRequestTokenHasBeenSet = true;
69 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
70 }
71 template <typename ClientRequestTokenT = Aws::String>
73 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
74 return *this;
75 }
77
79
85 inline const Aws::String& GetJobTag() const { return m_jobTag; }
86 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
87 template <typename JobTagT = Aws::String>
88 void SetJobTag(JobTagT&& value) {
89 m_jobTagHasBeenSet = true;
90 m_jobTag = std::forward<JobTagT>(value);
91 }
92 template <typename JobTagT = Aws::String>
94 SetJobTag(std::forward<JobTagT>(value));
95 return *this;
96 }
98
100
104 inline const NotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
105 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
106 template <typename NotificationChannelT = NotificationChannel>
107 void SetNotificationChannel(NotificationChannelT&& value) {
108 m_notificationChannelHasBeenSet = true;
109 m_notificationChannel = std::forward<NotificationChannelT>(value);
110 }
111 template <typename NotificationChannelT = NotificationChannel>
113 SetNotificationChannel(std::forward<NotificationChannelT>(value));
114 return *this;
115 }
117
119
124 inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; }
125 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
126 template <typename OutputConfigT = OutputConfig>
127 void SetOutputConfig(OutputConfigT&& value) {
128 m_outputConfigHasBeenSet = true;
129 m_outputConfig = std::forward<OutputConfigT>(value);
130 }
131 template <typename OutputConfigT = OutputConfig>
133 SetOutputConfig(std::forward<OutputConfigT>(value));
134 return *this;
135 }
137
139
146 inline const Aws::String& GetKMSKeyId() const { return m_kMSKeyId; }
147 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
148 template <typename KMSKeyIdT = Aws::String>
149 void SetKMSKeyId(KMSKeyIdT&& value) {
150 m_kMSKeyIdHasBeenSet = true;
151 m_kMSKeyId = std::forward<KMSKeyIdT>(value);
152 }
153 template <typename KMSKeyIdT = Aws::String>
155 SetKMSKeyId(std::forward<KMSKeyIdT>(value));
156 return *this;
157 }
159 private:
160 DocumentLocation m_documentLocation;
161 bool m_documentLocationHasBeenSet = false;
162
163 Aws::String m_clientRequestToken;
164 bool m_clientRequestTokenHasBeenSet = false;
165
166 Aws::String m_jobTag;
167 bool m_jobTagHasBeenSet = false;
168
169 NotificationChannel m_notificationChannel;
170 bool m_notificationChannelHasBeenSet = false;
171
172 OutputConfig m_outputConfig;
173 bool m_outputConfigHasBeenSet = false;
174
175 Aws::String m_kMSKeyId;
176 bool m_kMSKeyIdHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace Textract
181} // namespace Aws
StartDocumentTextDetectionRequest & WithJobTag(JobTagT &&value)
StartDocumentTextDetectionRequest & WithKMSKeyId(KMSKeyIdT &&value)
StartDocumentTextDetectionRequest & WithNotificationChannel(NotificationChannelT &&value)
StartDocumentTextDetectionRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_TEXTRACT_API Aws::String SerializePayload() const override
AWS_TEXTRACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_TEXTRACT_API StartDocumentTextDetectionRequest()=default
StartDocumentTextDetectionRequest & WithDocumentLocation(DocumentLocationT &&value)
StartDocumentTextDetectionRequest & WithOutputConfig(OutputConfigT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String