AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
31 AWS_COMPREHEND_API StartEntitiesDetectionJobRequest() = default;
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 template<typename InputDataConfigT = InputDataConfig>
51 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
52 template<typename InputDataConfigT = InputDataConfig>
53 StartEntitiesDetectionJobRequest& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
55
57
60 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
61 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
62 template<typename OutputDataConfigT = OutputDataConfig>
63 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
64 template<typename OutputDataConfigT = OutputDataConfig>
65 StartEntitiesDetectionJobRequest& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
67
69
75 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
76 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
77 template<typename DataAccessRoleArnT = Aws::String>
78 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
79 template<typename DataAccessRoleArnT = Aws::String>
80 StartEntitiesDetectionJobRequest& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
82
84
87 inline const Aws::String& GetJobName() const { return m_jobName; }
88 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
89 template<typename JobNameT = Aws::String>
90 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
91 template<typename JobNameT = Aws::String>
92 StartEntitiesDetectionJobRequest& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
94
96
101 inline const Aws::String& GetEntityRecognizerArn() const { return m_entityRecognizerArn; }
102 inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; }
103 template<typename EntityRecognizerArnT = Aws::String>
104 void SetEntityRecognizerArn(EntityRecognizerArnT&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::forward<EntityRecognizerArnT>(value); }
105 template<typename EntityRecognizerArnT = Aws::String>
106 StartEntitiesDetectionJobRequest& WithEntityRecognizerArn(EntityRecognizerArnT&& value) { SetEntityRecognizerArn(std::forward<EntityRecognizerArnT>(value)); return *this;}
108
110
116 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
117 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
118 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
121
123
127 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
128 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
129 template<typename ClientRequestTokenT = Aws::String>
130 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
131 template<typename ClientRequestTokenT = Aws::String>
132 StartEntitiesDetectionJobRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
134
136
146 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
147 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
148 template<typename VolumeKmsKeyIdT = Aws::String>
149 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
150 template<typename VolumeKmsKeyIdT = Aws::String>
151 StartEntitiesDetectionJobRequest& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
153
155
162 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
163 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
164 template<typename VpcConfigT = VpcConfig>
165 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
166 template<typename VpcConfigT = VpcConfig>
167 StartEntitiesDetectionJobRequest& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
169
171
177 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
178 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
179 template<typename TagsT = Aws::Vector<Tag>>
180 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
181 template<typename TagsT = Aws::Vector<Tag>>
182 StartEntitiesDetectionJobRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
183 template<typename TagsT = Tag>
184 StartEntitiesDetectionJobRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
186
188
192 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
193 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
194 template<typename FlywheelArnT = Aws::String>
195 void SetFlywheelArn(FlywheelArnT&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::forward<FlywheelArnT>(value); }
196 template<typename FlywheelArnT = Aws::String>
197 StartEntitiesDetectionJobRequest& WithFlywheelArn(FlywheelArnT&& value) { SetFlywheelArn(std::forward<FlywheelArnT>(value)); return *this;}
199 private:
200
201 InputDataConfig m_inputDataConfig;
202 bool m_inputDataConfigHasBeenSet = false;
203
204 OutputDataConfig m_outputDataConfig;
205 bool m_outputDataConfigHasBeenSet = false;
206
207 Aws::String m_dataAccessRoleArn;
208 bool m_dataAccessRoleArnHasBeenSet = false;
209
210 Aws::String m_jobName;
211 bool m_jobNameHasBeenSet = false;
212
213 Aws::String m_entityRecognizerArn;
214 bool m_entityRecognizerArnHasBeenSet = false;
215
216 LanguageCode m_languageCode{LanguageCode::NOT_SET};
217 bool m_languageCodeHasBeenSet = false;
218
219 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
220 bool m_clientRequestTokenHasBeenSet = true;
221
222 Aws::String m_volumeKmsKeyId;
223 bool m_volumeKmsKeyIdHasBeenSet = false;
224
225 VpcConfig m_vpcConfig;
226 bool m_vpcConfigHasBeenSet = false;
227
228 Aws::Vector<Tag> m_tags;
229 bool m_tagsHasBeenSet = false;
230
231 Aws::String m_flywheelArn;
232 bool m_flywheelArnHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace Comprehend
237} // namespace Aws
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartEntitiesDetectionJobRequest & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
StartEntitiesDetectionJobRequest & WithFlywheelArn(FlywheelArnT &&value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
StartEntitiesDetectionJobRequest & WithOutputDataConfig(OutputDataConfigT &&value)
StartEntitiesDetectionJobRequest & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
StartEntitiesDetectionJobRequest & WithInputDataConfig(InputDataConfigT &&value)
AWS_COMPREHEND_API StartEntitiesDetectionJobRequest()=default
StartEntitiesDetectionJobRequest & WithClientRequestToken(ClientRequestTokenT &&value)
StartEntitiesDetectionJobRequest & WithEntityRecognizerArn(EntityRecognizerArnT &&value)
StartEntitiesDetectionJobRequest & WithVpcConfig(VpcConfigT &&value)
StartEntitiesDetectionJobRequest & WithJobName(JobNameT &&value)
StartEntitiesDetectionJobRequest & WithLanguageCode(LanguageCode value)
static Aws::Utils::UUID PseudoRandomUUID()
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