AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartDocumentClassificationJobRequest.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/ComprehendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/comprehend/model/InputDataConfig.h>
11#include <aws/comprehend/model/OutputDataConfig.h>
12#include <aws/comprehend/model/VpcConfig.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/comprehend/model/Tag.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace Comprehend
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "StartDocumentClassificationJob"; }
37
38 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const Aws::String& GetJobName() const{ return m_jobName; }
48 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
49 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
50 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
51 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
52 inline StartDocumentClassificationJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
53 inline StartDocumentClassificationJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
54 inline StartDocumentClassificationJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
56
58
62 inline const Aws::String& GetDocumentClassifierArn() const{ return m_documentClassifierArn; }
63 inline bool DocumentClassifierArnHasBeenSet() const { return m_documentClassifierArnHasBeenSet; }
64 inline void SetDocumentClassifierArn(const Aws::String& value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn = value; }
65 inline void SetDocumentClassifierArn(Aws::String&& value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn = std::move(value); }
66 inline void SetDocumentClassifierArn(const char* value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn.assign(value); }
71
73
76 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
77 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
78 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
79 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
83
85
88 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
89 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
90 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
91 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
95
97
101 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
102 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
103 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
104 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
105 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
108 inline StartDocumentClassificationJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
110
112
116 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
117 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
118 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
119 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
120 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
125
127
137 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
138 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
139 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
140 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
141 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
144 inline StartDocumentClassificationJobRequest& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
146
148
155 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
156 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
157 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
158 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
159 inline StartDocumentClassificationJobRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
160 inline StartDocumentClassificationJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
162
164
170 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
171 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
172 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
173 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
174 inline StartDocumentClassificationJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
175 inline StartDocumentClassificationJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
176 inline StartDocumentClassificationJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
177 inline StartDocumentClassificationJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
179
181
185 inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; }
186 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
187 inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; }
188 inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); }
189 inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); }
191 inline StartDocumentClassificationJobRequest& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;}
192 inline StartDocumentClassificationJobRequest& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;}
194 private:
195
196 Aws::String m_jobName;
197 bool m_jobNameHasBeenSet = false;
198
199 Aws::String m_documentClassifierArn;
200 bool m_documentClassifierArnHasBeenSet = false;
201
202 InputDataConfig m_inputDataConfig;
203 bool m_inputDataConfigHasBeenSet = false;
204
205 OutputDataConfig m_outputDataConfig;
206 bool m_outputDataConfigHasBeenSet = false;
207
208 Aws::String m_dataAccessRoleArn;
209 bool m_dataAccessRoleArnHasBeenSet = false;
210
211 Aws::String m_clientRequestToken;
212 bool m_clientRequestTokenHasBeenSet = false;
213
214 Aws::String m_volumeKmsKeyId;
215 bool m_volumeKmsKeyIdHasBeenSet = false;
216
217 VpcConfig m_vpcConfig;
218 bool m_vpcConfigHasBeenSet = false;
219
220 Aws::Vector<Tag> m_tags;
221 bool m_tagsHasBeenSet = false;
222
223 Aws::String m_flywheelArn;
224 bool m_flywheelArnHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace Comprehend
229} // namespace Aws
StartDocumentClassificationJobRequest & WithTags(const Aws::Vector< Tag > &value)
StartDocumentClassificationJobRequest & WithDataAccessRoleArn(const char *value)
StartDocumentClassificationJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
StartDocumentClassificationJobRequest & WithVpcConfig(const VpcConfig &value)
StartDocumentClassificationJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
StartDocumentClassificationJobRequest & AddTags(const Tag &value)
StartDocumentClassificationJobRequest & WithVpcConfig(VpcConfig &&value)
StartDocumentClassificationJobRequest & WithVolumeKmsKeyId(const Aws::String &value)
StartDocumentClassificationJobRequest & WithDataAccessRoleArn(Aws::String &&value)
StartDocumentClassificationJobRequest & WithVolumeKmsKeyId(Aws::String &&value)
StartDocumentClassificationJobRequest & WithFlywheelArn(const char *value)
StartDocumentClassificationJobRequest & WithClientRequestToken(const char *value)
StartDocumentClassificationJobRequest & WithJobName(const Aws::String &value)
StartDocumentClassificationJobRequest & WithDocumentClassifierArn(Aws::String &&value)
StartDocumentClassificationJobRequest & WithInputDataConfig(const InputDataConfig &value)
StartDocumentClassificationJobRequest & WithJobName(const char *value)
StartDocumentClassificationJobRequest & WithInputDataConfig(InputDataConfig &&value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartDocumentClassificationJobRequest & WithFlywheelArn(Aws::String &&value)
StartDocumentClassificationJobRequest & WithDocumentClassifierArn(const Aws::String &value)
StartDocumentClassificationJobRequest & WithTags(Aws::Vector< Tag > &&value)
StartDocumentClassificationJobRequest & WithFlywheelArn(const Aws::String &value)
StartDocumentClassificationJobRequest & WithJobName(Aws::String &&value)
StartDocumentClassificationJobRequest & WithClientRequestToken(const Aws::String &value)
StartDocumentClassificationJobRequest & WithDocumentClassifierArn(const char *value)
StartDocumentClassificationJobRequest & WithVolumeKmsKeyId(const char *value)
StartDocumentClassificationJobRequest & WithClientRequestToken(Aws::String &&value)
StartDocumentClassificationJobRequest & WithDataAccessRoleArn(const Aws::String &value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector