AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartLendingAnalysisRequest.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 StartLendingAnalysisRequest() = 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 "StartLendingAnalysis"; }
34
35 AWS_TEXTRACT_API Aws::String SerializePayload() const override;
36
38
39
41
42 inline const DocumentLocation& GetDocumentLocation() const { return m_documentLocation; }
43 inline bool DocumentLocationHasBeenSet() const { return m_documentLocationHasBeenSet; }
44 template<typename DocumentLocationT = DocumentLocation>
45 void SetDocumentLocation(DocumentLocationT&& value) { m_documentLocationHasBeenSet = true; m_documentLocation = std::forward<DocumentLocationT>(value); }
46 template<typename DocumentLocationT = DocumentLocation>
47 StartLendingAnalysisRequest& WithDocumentLocation(DocumentLocationT&& value) { SetDocumentLocation(std::forward<DocumentLocationT>(value)); return *this;}
49
51
60 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
61 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
62 template<typename ClientRequestTokenT = Aws::String>
63 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
64 template<typename ClientRequestTokenT = Aws::String>
65 StartLendingAnalysisRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
67
69
75 inline const Aws::String& GetJobTag() const { return m_jobTag; }
76 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
77 template<typename JobTagT = Aws::String>
78 void SetJobTag(JobTagT&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::forward<JobTagT>(value); }
79 template<typename JobTagT = Aws::String>
80 StartLendingAnalysisRequest& WithJobTag(JobTagT&& value) { SetJobTag(std::forward<JobTagT>(value)); return *this;}
82
84
85 inline const NotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
86 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
87 template<typename NotificationChannelT = NotificationChannel>
88 void SetNotificationChannel(NotificationChannelT&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::forward<NotificationChannelT>(value); }
89 template<typename NotificationChannelT = NotificationChannel>
90 StartLendingAnalysisRequest& WithNotificationChannel(NotificationChannelT&& value) { SetNotificationChannel(std::forward<NotificationChannelT>(value)); return *this;}
92
94
95 inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; }
96 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
97 template<typename OutputConfigT = OutputConfig>
98 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
99 template<typename OutputConfigT = OutputConfig>
100 StartLendingAnalysisRequest& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
102
104
111 inline const Aws::String& GetKMSKeyId() const { return m_kMSKeyId; }
112 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
113 template<typename KMSKeyIdT = Aws::String>
114 void SetKMSKeyId(KMSKeyIdT&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::forward<KMSKeyIdT>(value); }
115 template<typename KMSKeyIdT = Aws::String>
116 StartLendingAnalysisRequest& WithKMSKeyId(KMSKeyIdT&& value) { SetKMSKeyId(std::forward<KMSKeyIdT>(value)); return *this;}
118 private:
119
120 DocumentLocation m_documentLocation;
121 bool m_documentLocationHasBeenSet = false;
122
123 Aws::String m_clientRequestToken;
124 bool m_clientRequestTokenHasBeenSet = false;
125
126 Aws::String m_jobTag;
127 bool m_jobTagHasBeenSet = false;
128
129 NotificationChannel m_notificationChannel;
130 bool m_notificationChannelHasBeenSet = false;
131
132 OutputConfig m_outputConfig;
133 bool m_outputConfigHasBeenSet = false;
134
135 Aws::String m_kMSKeyId;
136 bool m_kMSKeyIdHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Textract
141} // 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