AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntitiesDetectionJobProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/JobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/comprehend/model/InputDataConfig.h>
12#include <aws/comprehend/model/OutputDataConfig.h>
13#include <aws/comprehend/model/LanguageCode.h>
14#include <aws/comprehend/model/VpcConfig.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Comprehend
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_COMPREHEND_API EntitiesDetectionJobProperties();
44 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetJobId() const{ return m_jobId; }
52 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
53 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
54 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
55 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
56 inline EntitiesDetectionJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
57 inline EntitiesDetectionJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
58 inline EntitiesDetectionJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;}
60
62
72 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
73 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
74 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
75 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
76 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
77 inline EntitiesDetectionJobProperties& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
78 inline EntitiesDetectionJobProperties& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
79 inline EntitiesDetectionJobProperties& WithJobArn(const char* value) { SetJobArn(value); return *this;}
81
83
86 inline const Aws::String& GetJobName() const{ return m_jobName; }
87 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
88 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
89 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
90 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
91 inline EntitiesDetectionJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
92 inline EntitiesDetectionJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
93 inline EntitiesDetectionJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;}
95
97
102 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
103 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
104 inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
105 inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
106 inline EntitiesDetectionJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
107 inline EntitiesDetectionJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetMessage() const{ return m_message; }
115 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
116 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
117 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
118 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
119 inline EntitiesDetectionJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
120 inline EntitiesDetectionJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
121 inline EntitiesDetectionJobProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
129 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
130 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
131 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
133 inline EntitiesDetectionJobProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
141 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
142 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
143 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
144 inline EntitiesDetectionJobProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
145 inline EntitiesDetectionJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
147
149
152 inline const Aws::String& GetEntityRecognizerArn() const{ return m_entityRecognizerArn; }
153 inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; }
154 inline void SetEntityRecognizerArn(const Aws::String& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = value; }
155 inline void SetEntityRecognizerArn(Aws::String&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::move(value); }
156 inline void SetEntityRecognizerArn(const char* value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn.assign(value); }
159 inline EntitiesDetectionJobProperties& WithEntityRecognizerArn(const char* value) { SetEntityRecognizerArn(value); return *this;}
161
163
167 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
168 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
169 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
170 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
174
176
180 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
181 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
182 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
183 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
187
189
192 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
193 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
194 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
195 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
197 inline EntitiesDetectionJobProperties& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
199
201
205 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
206 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
207 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
208 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
209 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
212 inline EntitiesDetectionJobProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
214
216
226 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
227 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
228 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
229 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
230 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
232 inline EntitiesDetectionJobProperties& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
233 inline EntitiesDetectionJobProperties& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
235
237
244 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
245 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
246 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
247 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
248 inline EntitiesDetectionJobProperties& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
249 inline EntitiesDetectionJobProperties& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
251
253
256 inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; }
257 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
258 inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; }
259 inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); }
260 inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); }
261 inline EntitiesDetectionJobProperties& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;}
262 inline EntitiesDetectionJobProperties& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;}
263 inline EntitiesDetectionJobProperties& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;}
265 private:
266
267 Aws::String m_jobId;
268 bool m_jobIdHasBeenSet = false;
269
270 Aws::String m_jobArn;
271 bool m_jobArnHasBeenSet = false;
272
273 Aws::String m_jobName;
274 bool m_jobNameHasBeenSet = false;
275
276 JobStatus m_jobStatus;
277 bool m_jobStatusHasBeenSet = false;
278
279 Aws::String m_message;
280 bool m_messageHasBeenSet = false;
281
282 Aws::Utils::DateTime m_submitTime;
283 bool m_submitTimeHasBeenSet = false;
284
285 Aws::Utils::DateTime m_endTime;
286 bool m_endTimeHasBeenSet = false;
287
288 Aws::String m_entityRecognizerArn;
289 bool m_entityRecognizerArnHasBeenSet = false;
290
291 InputDataConfig m_inputDataConfig;
292 bool m_inputDataConfigHasBeenSet = false;
293
294 OutputDataConfig m_outputDataConfig;
295 bool m_outputDataConfigHasBeenSet = false;
296
297 LanguageCode m_languageCode;
298 bool m_languageCodeHasBeenSet = false;
299
300 Aws::String m_dataAccessRoleArn;
301 bool m_dataAccessRoleArnHasBeenSet = false;
302
303 Aws::String m_volumeKmsKeyId;
304 bool m_volumeKmsKeyIdHasBeenSet = false;
305
306 VpcConfig m_vpcConfig;
307 bool m_vpcConfigHasBeenSet = false;
308
309 Aws::String m_flywheelArn;
310 bool m_flywheelArnHasBeenSet = false;
311 };
312
313} // namespace Model
314} // namespace Comprehend
315} // namespace Aws
EntitiesDetectionJobProperties & WithLanguageCode(LanguageCode &&value)
EntitiesDetectionJobProperties & WithVolumeKmsKeyId(const Aws::String &value)
EntitiesDetectionJobProperties & WithFlywheelArn(const Aws::String &value)
EntitiesDetectionJobProperties & WithEntityRecognizerArn(const char *value)
EntitiesDetectionJobProperties & WithSubmitTime(const Aws::Utils::DateTime &value)
EntitiesDetectionJobProperties & WithOutputDataConfig(OutputDataConfig &&value)
EntitiesDetectionJobProperties & WithSubmitTime(Aws::Utils::DateTime &&value)
EntitiesDetectionJobProperties & WithJobStatus(const JobStatus &value)
EntitiesDetectionJobProperties & WithVpcConfig(VpcConfig &&value)
EntitiesDetectionJobProperties & WithInputDataConfig(InputDataConfig &&value)
EntitiesDetectionJobProperties & WithVpcConfig(const VpcConfig &value)
EntitiesDetectionJobProperties & WithJobName(const Aws::String &value)
AWS_COMPREHEND_API EntitiesDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
EntitiesDetectionJobProperties & WithJobArn(const Aws::String &value)
EntitiesDetectionJobProperties & WithDataAccessRoleArn(const Aws::String &value)
EntitiesDetectionJobProperties & WithMessage(const char *value)
EntitiesDetectionJobProperties & WithLanguageCode(const LanguageCode &value)
EntitiesDetectionJobProperties & WithJobName(Aws::String &&value)
EntitiesDetectionJobProperties & WithJobId(const char *value)
EntitiesDetectionJobProperties & WithFlywheelArn(const char *value)
EntitiesDetectionJobProperties & WithOutputDataConfig(const OutputDataConfig &value)
EntitiesDetectionJobProperties & WithJobName(const char *value)
EntitiesDetectionJobProperties & WithVolumeKmsKeyId(Aws::String &&value)
EntitiesDetectionJobProperties & WithMessage(Aws::String &&value)
EntitiesDetectionJobProperties & WithDataAccessRoleArn(const char *value)
EntitiesDetectionJobProperties & WithEndTime(const Aws::Utils::DateTime &value)
AWS_COMPREHEND_API EntitiesDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
EntitiesDetectionJobProperties & WithInputDataConfig(const InputDataConfig &value)
EntitiesDetectionJobProperties & WithJobStatus(JobStatus &&value)
EntitiesDetectionJobProperties & WithMessage(const Aws::String &value)
EntitiesDetectionJobProperties & WithJobId(Aws::String &&value)
EntitiesDetectionJobProperties & WithFlywheelArn(Aws::String &&value)
EntitiesDetectionJobProperties & WithEntityRecognizerArn(Aws::String &&value)
EntitiesDetectionJobProperties & WithEntityRecognizerArn(const Aws::String &value)
EntitiesDetectionJobProperties & WithJobArn(Aws::String &&value)
EntitiesDetectionJobProperties & WithJobArn(const char *value)
EntitiesDetectionJobProperties & WithJobId(const Aws::String &value)
EntitiesDetectionJobProperties & WithVolumeKmsKeyId(const char *value)
EntitiesDetectionJobProperties & WithDataAccessRoleArn(Aws::String &&value)
EntitiesDetectionJobProperties & WithEndTime(Aws::Utils::DateTime &&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