AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartExpenseAnalysisRequest.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 StartExpenseAnalysisRequest();
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 "StartExpenseAnalysis"; }
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 inline void SetDocumentLocation(const DocumentLocation& value) { m_documentLocationHasBeenSet = true; m_documentLocation = value; }
47 inline void SetDocumentLocation(DocumentLocation&& value) { m_documentLocationHasBeenSet = true; m_documentLocation = std::move(value); }
49 inline StartExpenseAnalysisRequest& WithDocumentLocation(DocumentLocation&& value) { SetDocumentLocation(std::move(value)); return *this;}
51
53
62 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
63 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
64 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
65 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
66 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
68 inline StartExpenseAnalysisRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
69 inline StartExpenseAnalysisRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
71
73
79 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
80 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
81 inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
82 inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
83 inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
84 inline StartExpenseAnalysisRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
85 inline StartExpenseAnalysisRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
86 inline StartExpenseAnalysisRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
88
90
94 inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
95 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
96 inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
97 inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
101
103
108 inline const OutputConfig& GetOutputConfig() const{ return m_outputConfig; }
109 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
110 inline void SetOutputConfig(const OutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
111 inline void SetOutputConfig(OutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
112 inline StartExpenseAnalysisRequest& WithOutputConfig(const OutputConfig& value) { SetOutputConfig(value); return *this;}
113 inline StartExpenseAnalysisRequest& WithOutputConfig(OutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
115
117
124 inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; }
125 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
126 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; }
127 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::move(value); }
128 inline void SetKMSKeyId(const char* value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId.assign(value); }
129 inline StartExpenseAnalysisRequest& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
130 inline StartExpenseAnalysisRequest& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
131 inline StartExpenseAnalysisRequest& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
133 private:
134
135 DocumentLocation m_documentLocation;
136 bool m_documentLocationHasBeenSet = false;
137
138 Aws::String m_clientRequestToken;
139 bool m_clientRequestTokenHasBeenSet = false;
140
141 Aws::String m_jobTag;
142 bool m_jobTagHasBeenSet = false;
143
144 NotificationChannel m_notificationChannel;
145 bool m_notificationChannelHasBeenSet = false;
146
147 OutputConfig m_outputConfig;
148 bool m_outputConfigHasBeenSet = false;
149
150 Aws::String m_kMSKeyId;
151 bool m_kMSKeyIdHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace Textract
156} // namespace Aws
AWS_TEXTRACT_API Aws::String SerializePayload() const override
StartExpenseAnalysisRequest & WithClientRequestToken(const Aws::String &value)
StartExpenseAnalysisRequest & WithJobTag(const Aws::String &value)
StartExpenseAnalysisRequest & WithKMSKeyId(const Aws::String &value)
StartExpenseAnalysisRequest & WithClientRequestToken(const char *value)
StartExpenseAnalysisRequest & WithClientRequestToken(Aws::String &&value)
void SetNotificationChannel(const NotificationChannel &value)
StartExpenseAnalysisRequest & WithDocumentLocation(const DocumentLocation &value)
StartExpenseAnalysisRequest & WithNotificationChannel(const NotificationChannel &value)
StartExpenseAnalysisRequest & WithDocumentLocation(DocumentLocation &&value)
StartExpenseAnalysisRequest & WithOutputConfig(const OutputConfig &value)
StartExpenseAnalysisRequest & WithOutputConfig(OutputConfig &&value)
virtual const char * GetServiceRequestName() const override
AWS_TEXTRACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartExpenseAnalysisRequest & WithJobTag(Aws::String &&value)
StartExpenseAnalysisRequest & WithKMSKeyId(Aws::String &&value)
StartExpenseAnalysisRequest & WithNotificationChannel(NotificationChannel &&value)
StartExpenseAnalysisRequest & WithJobTag(const char *value)
StartExpenseAnalysisRequest & WithKMSKeyId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String