AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EntitiesDetectionJobProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/InputDataConfig.h>
9#include <aws/comprehend/model/JobStatus.h>
10#include <aws/comprehend/model/LanguageCode.h>
11#include <aws/comprehend/model/OutputDataConfig.h>
12#include <aws/comprehend/model/VpcConfig.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Comprehend {
26namespace Model {
27
35 public:
36 AWS_COMPREHEND_API EntitiesDetectionJobProperties() = default;
39 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetJobId() const { return m_jobId; }
46 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
47 template <typename JobIdT = Aws::String>
48 void SetJobId(JobIdT&& value) {
49 m_jobIdHasBeenSet = true;
50 m_jobId = std::forward<JobIdT>(value);
51 }
52 template <typename JobIdT = Aws::String>
54 SetJobId(std::forward<JobIdT>(value));
55 return *this;
56 }
58
60
70 inline const Aws::String& GetJobArn() const { return m_jobArn; }
71 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
72 template <typename JobArnT = Aws::String>
73 void SetJobArn(JobArnT&& value) {
74 m_jobArnHasBeenSet = true;
75 m_jobArn = std::forward<JobArnT>(value);
76 }
77 template <typename JobArnT = Aws::String>
79 SetJobArn(std::forward<JobArnT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetJobName() const { return m_jobName; }
89 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
90 template <typename JobNameT = Aws::String>
91 void SetJobName(JobNameT&& value) {
92 m_jobNameHasBeenSet = true;
93 m_jobName = std::forward<JobNameT>(value);
94 }
95 template <typename JobNameT = Aws::String>
97 SetJobName(std::forward<JobNameT>(value));
98 return *this;
99 }
101
103
108 inline JobStatus GetJobStatus() const { return m_jobStatus; }
109 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
110 inline void SetJobStatus(JobStatus value) {
111 m_jobStatusHasBeenSet = true;
112 m_jobStatus = value;
113 }
115 SetJobStatus(value);
116 return *this;
117 }
119
121
124 inline const Aws::String& GetMessage() const { return m_message; }
125 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
126 template <typename MessageT = Aws::String>
127 void SetMessage(MessageT&& value) {
128 m_messageHasBeenSet = true;
129 m_message = std::forward<MessageT>(value);
130 }
131 template <typename MessageT = Aws::String>
133 SetMessage(std::forward<MessageT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
143 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
144 template <typename SubmitTimeT = Aws::Utils::DateTime>
145 void SetSubmitTime(SubmitTimeT&& value) {
146 m_submitTimeHasBeenSet = true;
147 m_submitTime = std::forward<SubmitTimeT>(value);
148 }
149 template <typename SubmitTimeT = Aws::Utils::DateTime>
151 SetSubmitTime(std::forward<SubmitTimeT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
161 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
162 template <typename EndTimeT = Aws::Utils::DateTime>
163 void SetEndTime(EndTimeT&& value) {
164 m_endTimeHasBeenSet = true;
165 m_endTime = std::forward<EndTimeT>(value);
166 }
167 template <typename EndTimeT = Aws::Utils::DateTime>
169 SetEndTime(std::forward<EndTimeT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetEntityRecognizerArn() const { return m_entityRecognizerArn; }
179 inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; }
180 template <typename EntityRecognizerArnT = Aws::String>
181 void SetEntityRecognizerArn(EntityRecognizerArnT&& value) {
182 m_entityRecognizerArnHasBeenSet = true;
183 m_entityRecognizerArn = std::forward<EntityRecognizerArnT>(value);
184 }
185 template <typename EntityRecognizerArnT = Aws::String>
187 SetEntityRecognizerArn(std::forward<EntityRecognizerArnT>(value));
188 return *this;
189 }
191
193
197 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
198 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
199 template <typename InputDataConfigT = InputDataConfig>
200 void SetInputDataConfig(InputDataConfigT&& value) {
201 m_inputDataConfigHasBeenSet = true;
202 m_inputDataConfig = std::forward<InputDataConfigT>(value);
203 }
204 template <typename InputDataConfigT = InputDataConfig>
206 SetInputDataConfig(std::forward<InputDataConfigT>(value));
207 return *this;
208 }
210
212
216 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
217 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
218 template <typename OutputDataConfigT = OutputDataConfig>
219 void SetOutputDataConfig(OutputDataConfigT&& value) {
220 m_outputDataConfigHasBeenSet = true;
221 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
222 }
223 template <typename OutputDataConfigT = OutputDataConfig>
225 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
226 return *this;
227 }
229
231
234 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
235 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
236 inline void SetLanguageCode(LanguageCode value) {
237 m_languageCodeHasBeenSet = true;
238 m_languageCode = value;
239 }
241 SetLanguageCode(value);
242 return *this;
243 }
245
247
251 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
252 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
253 template <typename DataAccessRoleArnT = Aws::String>
254 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
255 m_dataAccessRoleArnHasBeenSet = true;
256 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
257 }
258 template <typename DataAccessRoleArnT = Aws::String>
260 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
261 return *this;
262 }
264
266
276 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
277 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
278 template <typename VolumeKmsKeyIdT = Aws::String>
279 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
280 m_volumeKmsKeyIdHasBeenSet = true;
281 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
282 }
283 template <typename VolumeKmsKeyIdT = Aws::String>
285 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
286 return *this;
287 }
289
291
298 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
299 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
300 template <typename VpcConfigT = VpcConfig>
301 void SetVpcConfig(VpcConfigT&& value) {
302 m_vpcConfigHasBeenSet = true;
303 m_vpcConfig = std::forward<VpcConfigT>(value);
304 }
305 template <typename VpcConfigT = VpcConfig>
307 SetVpcConfig(std::forward<VpcConfigT>(value));
308 return *this;
309 }
311
313
316 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
317 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
318 template <typename FlywheelArnT = Aws::String>
319 void SetFlywheelArn(FlywheelArnT&& value) {
320 m_flywheelArnHasBeenSet = true;
321 m_flywheelArn = std::forward<FlywheelArnT>(value);
322 }
323 template <typename FlywheelArnT = Aws::String>
325 SetFlywheelArn(std::forward<FlywheelArnT>(value));
326 return *this;
327 }
329 private:
330 Aws::String m_jobId;
331
332 Aws::String m_jobArn;
333
334 Aws::String m_jobName;
335
336 JobStatus m_jobStatus{JobStatus::NOT_SET};
337
338 Aws::String m_message;
339
340 Aws::Utils::DateTime m_submitTime{};
341
342 Aws::Utils::DateTime m_endTime{};
343
344 Aws::String m_entityRecognizerArn;
345
346 InputDataConfig m_inputDataConfig;
347
348 OutputDataConfig m_outputDataConfig;
349
350 LanguageCode m_languageCode{LanguageCode::NOT_SET};
351
352 Aws::String m_dataAccessRoleArn;
353
354 Aws::String m_volumeKmsKeyId;
355
356 VpcConfig m_vpcConfig;
357
358 Aws::String m_flywheelArn;
359 bool m_jobIdHasBeenSet = false;
360 bool m_jobArnHasBeenSet = false;
361 bool m_jobNameHasBeenSet = false;
362 bool m_jobStatusHasBeenSet = false;
363 bool m_messageHasBeenSet = false;
364 bool m_submitTimeHasBeenSet = false;
365 bool m_endTimeHasBeenSet = false;
366 bool m_entityRecognizerArnHasBeenSet = false;
367 bool m_inputDataConfigHasBeenSet = false;
368 bool m_outputDataConfigHasBeenSet = false;
369 bool m_languageCodeHasBeenSet = false;
370 bool m_dataAccessRoleArnHasBeenSet = false;
371 bool m_volumeKmsKeyIdHasBeenSet = false;
372 bool m_vpcConfigHasBeenSet = false;
373 bool m_flywheelArnHasBeenSet = false;
374};
375
376} // namespace Model
377} // namespace Comprehend
378} // namespace Aws
EntitiesDetectionJobProperties & WithFlywheelArn(FlywheelArnT &&value)
EntitiesDetectionJobProperties & WithJobArn(JobArnT &&value)
EntitiesDetectionJobProperties & WithJobId(JobIdT &&value)
EntitiesDetectionJobProperties & WithLanguageCode(LanguageCode value)
EntitiesDetectionJobProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
AWS_COMPREHEND_API EntitiesDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
EntitiesDetectionJobProperties & WithInputDataConfig(InputDataConfigT &&value)
EntitiesDetectionJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
EntitiesDetectionJobProperties & WithEndTime(EndTimeT &&value)
AWS_COMPREHEND_API EntitiesDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
EntitiesDetectionJobProperties & WithEntityRecognizerArn(EntityRecognizerArnT &&value)
AWS_COMPREHEND_API EntitiesDetectionJobProperties()=default
EntitiesDetectionJobProperties & WithJobStatus(JobStatus value)
EntitiesDetectionJobProperties & WithJobName(JobNameT &&value)
EntitiesDetectionJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
EntitiesDetectionJobProperties & WithVpcConfig(VpcConfigT &&value)
EntitiesDetectionJobProperties & WithMessage(MessageT &&value)
EntitiesDetectionJobProperties & WithSubmitTime(SubmitTimeT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue