AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartEntitiesDetectionJobRequest.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/ComprehendRequest.h>
9#include <aws/comprehend/model/InputDataConfig.h>
10#include <aws/comprehend/model/OutputDataConfig.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/comprehend/model/LanguageCode.h>
13#include <aws/comprehend/model/VpcConfig.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/comprehend/model/Tag.h>
16#include <utility>
17#include <aws/core/utils/UUID.h>
18
19namespace Aws
20{
21namespace Comprehend
22{
23namespace Model
24{
25
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "StartEntitiesDetectionJob"; }
38
39 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
40
42
43
45
48 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
49 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
50 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
51 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
55
57
60 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
61 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
62 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
63 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
67
69
75 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
76 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
77 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
78 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
79 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
82 inline StartEntitiesDetectionJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
84
86
89 inline const Aws::String& GetJobName() const{ return m_jobName; }
90 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
91 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
92 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
93 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
94 inline StartEntitiesDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
95 inline StartEntitiesDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
96 inline StartEntitiesDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
98
100
105 inline const Aws::String& GetEntityRecognizerArn() const{ return m_entityRecognizerArn; }
106 inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; }
107 inline void SetEntityRecognizerArn(const Aws::String& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = value; }
108 inline void SetEntityRecognizerArn(Aws::String&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::move(value); }
109 inline void SetEntityRecognizerArn(const char* value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn.assign(value); }
112 inline StartEntitiesDetectionJobRequest& WithEntityRecognizerArn(const char* value) { SetEntityRecognizerArn(value); return *this;}
114
116
122 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
123 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
124 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
125 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
127 inline StartEntitiesDetectionJobRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
129
131
135 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
136 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
137 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
138 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
139 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
142 inline StartEntitiesDetectionJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
144
146
156 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
157 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
158 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
159 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
160 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
162 inline StartEntitiesDetectionJobRequest& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
163 inline StartEntitiesDetectionJobRequest& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
165
167
174 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
175 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
176 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
177 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
178 inline StartEntitiesDetectionJobRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
179 inline StartEntitiesDetectionJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
181
183
189 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
190 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
191 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
192 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
193 inline StartEntitiesDetectionJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
194 inline StartEntitiesDetectionJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
195 inline StartEntitiesDetectionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
196 inline StartEntitiesDetectionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
198
200
204 inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; }
205 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
206 inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; }
207 inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); }
208 inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); }
209 inline StartEntitiesDetectionJobRequest& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;}
210 inline StartEntitiesDetectionJobRequest& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;}
211 inline StartEntitiesDetectionJobRequest& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;}
213 private:
214
215 InputDataConfig m_inputDataConfig;
216 bool m_inputDataConfigHasBeenSet = false;
217
218 OutputDataConfig m_outputDataConfig;
219 bool m_outputDataConfigHasBeenSet = false;
220
221 Aws::String m_dataAccessRoleArn;
222 bool m_dataAccessRoleArnHasBeenSet = false;
223
224 Aws::String m_jobName;
225 bool m_jobNameHasBeenSet = false;
226
227 Aws::String m_entityRecognizerArn;
228 bool m_entityRecognizerArnHasBeenSet = false;
229
230 LanguageCode m_languageCode;
231 bool m_languageCodeHasBeenSet = false;
232
233 Aws::String m_clientRequestToken;
234 bool m_clientRequestTokenHasBeenSet = false;
235
236 Aws::String m_volumeKmsKeyId;
237 bool m_volumeKmsKeyIdHasBeenSet = false;
238
239 VpcConfig m_vpcConfig;
240 bool m_vpcConfigHasBeenSet = false;
241
242 Aws::Vector<Tag> m_tags;
243 bool m_tagsHasBeenSet = false;
244
245 Aws::String m_flywheelArn;
246 bool m_flywheelArnHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace Comprehend
251} // namespace Aws
StartEntitiesDetectionJobRequest & WithEntityRecognizerArn(const char *value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartEntitiesDetectionJobRequest & WithVolumeKmsKeyId(const Aws::String &value)
StartEntitiesDetectionJobRequest & WithVolumeKmsKeyId(const char *value)
StartEntitiesDetectionJobRequest & WithLanguageCode(const LanguageCode &value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
StartEntitiesDetectionJobRequest & WithJobName(Aws::String &&value)
StartEntitiesDetectionJobRequest & WithEntityRecognizerArn(const Aws::String &value)
StartEntitiesDetectionJobRequest & WithDataAccessRoleArn(const Aws::String &value)
StartEntitiesDetectionJobRequest & WithFlywheelArn(const char *value)
StartEntitiesDetectionJobRequest & WithVpcConfig(VpcConfig &&value)
StartEntitiesDetectionJobRequest & WithClientRequestToken(const char *value)
StartEntitiesDetectionJobRequest & WithDataAccessRoleArn(const char *value)
StartEntitiesDetectionJobRequest & WithInputDataConfig(const InputDataConfig &value)
StartEntitiesDetectionJobRequest & WithDataAccessRoleArn(Aws::String &&value)
StartEntitiesDetectionJobRequest & WithEntityRecognizerArn(Aws::String &&value)
StartEntitiesDetectionJobRequest & WithTags(const Aws::Vector< Tag > &value)
StartEntitiesDetectionJobRequest & WithFlywheelArn(const Aws::String &value)
StartEntitiesDetectionJobRequest & WithJobName(const Aws::String &value)
StartEntitiesDetectionJobRequest & WithTags(Aws::Vector< Tag > &&value)
StartEntitiesDetectionJobRequest & AddTags(const Tag &value)
StartEntitiesDetectionJobRequest & WithVolumeKmsKeyId(Aws::String &&value)
StartEntitiesDetectionJobRequest & WithFlywheelArn(Aws::String &&value)
StartEntitiesDetectionJobRequest & WithJobName(const char *value)
StartEntitiesDetectionJobRequest & WithVpcConfig(const VpcConfig &value)
StartEntitiesDetectionJobRequest & WithLanguageCode(LanguageCode &&value)
StartEntitiesDetectionJobRequest & WithClientRequestToken(Aws::String &&value)
StartEntitiesDetectionJobRequest & WithClientRequestToken(const Aws::String &value)
StartEntitiesDetectionJobRequest & WithInputDataConfig(InputDataConfig &&value)
StartEntitiesDetectionJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
StartEntitiesDetectionJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
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