AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartDocumentTextDetectionRequest.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/TextractRequest.h>
9#include <aws/textract/model/DocumentLocation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/textract/model/NotificationChannel.h>
12#include <aws/textract/model/OutputConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Textract
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_TEXTRACT_API StartDocumentTextDetectionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartDocumentTextDetection"; }
34
35 AWS_TEXTRACT_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const DocumentLocation& GetDocumentLocation() const { return m_documentLocation; }
45 inline bool DocumentLocationHasBeenSet() const { return m_documentLocationHasBeenSet; }
46 template<typename DocumentLocationT = DocumentLocation>
47 void SetDocumentLocation(DocumentLocationT&& value) { m_documentLocationHasBeenSet = true; m_documentLocation = std::forward<DocumentLocationT>(value); }
48 template<typename DocumentLocationT = DocumentLocation>
49 StartDocumentTextDetectionRequest& WithDocumentLocation(DocumentLocationT&& value) { SetDocumentLocation(std::forward<DocumentLocationT>(value)); return *this;}
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) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
66 template<typename ClientRequestTokenT = Aws::String>
67 StartDocumentTextDetectionRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
69
71
77 inline const Aws::String& GetJobTag() const { return m_jobTag; }
78 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
79 template<typename JobTagT = Aws::String>
80 void SetJobTag(JobTagT&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::forward<JobTagT>(value); }
81 template<typename JobTagT = Aws::String>
82 StartDocumentTextDetectionRequest& WithJobTag(JobTagT&& value) { SetJobTag(std::forward<JobTagT>(value)); return *this;}
84
86
90 inline const NotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
91 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
92 template<typename NotificationChannelT = NotificationChannel>
93 void SetNotificationChannel(NotificationChannelT&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::forward<NotificationChannelT>(value); }
94 template<typename NotificationChannelT = NotificationChannel>
95 StartDocumentTextDetectionRequest& WithNotificationChannel(NotificationChannelT&& value) { SetNotificationChannel(std::forward<NotificationChannelT>(value)); return *this;}
97
99
104 inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; }
105 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
106 template<typename OutputConfigT = OutputConfig>
107 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
108 template<typename OutputConfigT = OutputConfig>
109 StartDocumentTextDetectionRequest& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
111
113
120 inline const Aws::String& GetKMSKeyId() const { return m_kMSKeyId; }
121 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
122 template<typename KMSKeyIdT = Aws::String>
123 void SetKMSKeyId(KMSKeyIdT&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::forward<KMSKeyIdT>(value); }
124 template<typename KMSKeyIdT = Aws::String>
125 StartDocumentTextDetectionRequest& WithKMSKeyId(KMSKeyIdT&& value) { SetKMSKeyId(std::forward<KMSKeyIdT>(value)); return *this;}
127 private:
128
129 DocumentLocation m_documentLocation;
130 bool m_documentLocationHasBeenSet = false;
131
132 Aws::String m_clientRequestToken;
133 bool m_clientRequestTokenHasBeenSet = false;
134
135 Aws::String m_jobTag;
136 bool m_jobTagHasBeenSet = false;
137
138 NotificationChannel m_notificationChannel;
139 bool m_notificationChannelHasBeenSet = false;
140
141 OutputConfig m_outputConfig;
142 bool m_outputConfigHasBeenSet = false;
143
144 Aws::String m_kMSKeyId;
145 bool m_kMSKeyIdHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Textract
150} // 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