AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDocumentLocation(const DocumentLocation& value) { m_documentLocationHasBeenSet = true; m_documentLocation = value; }
45 inline void SetDocumentLocation(DocumentLocation&& value) { m_documentLocationHasBeenSet = true; m_documentLocation = std::move(value); }
47 inline StartLendingAnalysisRequest& WithDocumentLocation(DocumentLocation&& value) { SetDocumentLocation(std::move(value)); return *this;}
49
51
60 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
61 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
62 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
63 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
64 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
66 inline StartLendingAnalysisRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
67 inline StartLendingAnalysisRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
69
71
77 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
78 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
79 inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
80 inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
81 inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
82 inline StartLendingAnalysisRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
83 inline StartLendingAnalysisRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
84 inline StartLendingAnalysisRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
86
88
89 inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
90 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
91 inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
92 inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
96
98
99 inline const OutputConfig& GetOutputConfig() const{ return m_outputConfig; }
100 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
101 inline void SetOutputConfig(const OutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
102 inline void SetOutputConfig(OutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
103 inline StartLendingAnalysisRequest& WithOutputConfig(const OutputConfig& value) { SetOutputConfig(value); return *this;}
104 inline StartLendingAnalysisRequest& WithOutputConfig(OutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
106
108
115 inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; }
116 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
117 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; }
118 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::move(value); }
119 inline void SetKMSKeyId(const char* value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId.assign(value); }
120 inline StartLendingAnalysisRequest& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
121 inline StartLendingAnalysisRequest& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
122 inline StartLendingAnalysisRequest& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
124 private:
125
126 DocumentLocation m_documentLocation;
127 bool m_documentLocationHasBeenSet = false;
128
129 Aws::String m_clientRequestToken;
130 bool m_clientRequestTokenHasBeenSet = false;
131
132 Aws::String m_jobTag;
133 bool m_jobTagHasBeenSet = false;
134
135 NotificationChannel m_notificationChannel;
136 bool m_notificationChannelHasBeenSet = false;
137
138 OutputConfig m_outputConfig;
139 bool m_outputConfigHasBeenSet = false;
140
141 Aws::String m_kMSKeyId;
142 bool m_kMSKeyIdHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Textract
147} // namespace Aws
StartLendingAnalysisRequest & WithKMSKeyId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartLendingAnalysisRequest & WithOutputConfig(const OutputConfig &value)
void SetNotificationChannel(const NotificationChannel &value)
StartLendingAnalysisRequest & WithJobTag(Aws::String &&value)
StartLendingAnalysisRequest & WithClientRequestToken(Aws::String &&value)
StartLendingAnalysisRequest & WithDocumentLocation(DocumentLocation &&value)
StartLendingAnalysisRequest & WithKMSKeyId(const char *value)
StartLendingAnalysisRequest & WithNotificationChannel(const NotificationChannel &value)
StartLendingAnalysisRequest & WithNotificationChannel(NotificationChannel &&value)
StartLendingAnalysisRequest & WithJobTag(const Aws::String &value)
StartLendingAnalysisRequest & WithJobTag(const char *value)
StartLendingAnalysisRequest & WithOutputConfig(OutputConfig &&value)
StartLendingAnalysisRequest & WithDocumentLocation(const DocumentLocation &value)
StartLendingAnalysisRequest & WithKMSKeyId(const Aws::String &value)
AWS_TEXTRACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_TEXTRACT_API Aws::String SerializePayload() const override
StartLendingAnalysisRequest & WithClientRequestToken(const char *value)
StartLendingAnalysisRequest & WithClientRequestToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String