1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 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 17 namespace Aws 18 { 19 namespace Utils 20 { 21 namespace Json 22 { 23 class JsonValue; 24 class JsonView; 25 } // namespace Json 26 } // namespace Utils 27 namespace Comprehend 28 { 29 namespace Model 30 { 31 32 /** 33 * <p>Provides information about an entities detection job.</p><p><h3>See 34 * Also:</h3> <a 35 * href="http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EntitiesDetectionJobProperties">AWS 36 * API Reference</a></p> 37 */ 38 class AWS_COMPREHEND_API EntitiesDetectionJobProperties 39 { 40 public: 41 EntitiesDetectionJobProperties(); 42 EntitiesDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue); 43 EntitiesDetectionJobProperties& operator=(Aws::Utils::Json::JsonView jsonValue); 44 Aws::Utils::Json::JsonValue Jsonize() const; 45 46 47 /** 48 * <p>The identifier assigned to the entities detection job.</p> 49 */ GetJobId()50 inline const Aws::String& GetJobId() const{ return m_jobId; } 51 52 /** 53 * <p>The identifier assigned to the entities detection job.</p> 54 */ JobIdHasBeenSet()55 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } 56 57 /** 58 * <p>The identifier assigned to the entities detection job.</p> 59 */ SetJobId(const Aws::String & value)60 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } 61 62 /** 63 * <p>The identifier assigned to the entities detection job.</p> 64 */ SetJobId(Aws::String && value)65 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } 66 67 /** 68 * <p>The identifier assigned to the entities detection job.</p> 69 */ SetJobId(const char * value)70 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } 71 72 /** 73 * <p>The identifier assigned to the entities detection job.</p> 74 */ WithJobId(const Aws::String & value)75 inline EntitiesDetectionJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} 76 77 /** 78 * <p>The identifier assigned to the entities detection job.</p> 79 */ WithJobId(Aws::String && value)80 inline EntitiesDetectionJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} 81 82 /** 83 * <p>The identifier assigned to the entities detection job.</p> 84 */ WithJobId(const char * value)85 inline EntitiesDetectionJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;} 86 87 88 /** 89 * <p>The Amazon Resource Name (ARN) of the entities detection job. It is a unique, 90 * fully qualified identifier for the job. It includes the AWS account, Region, and 91 * the job ID. The format of the ARN is as follows:</p> <p> 92 * <code>arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id></code> 93 * </p> <p>The following is an example job ARN:</p> <p> 94 * <code>arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab</code> 95 * </p> 96 */ GetJobArn()97 inline const Aws::String& GetJobArn() const{ return m_jobArn; } 98 99 /** 100 * <p>The Amazon Resource Name (ARN) of the entities detection job. It is a unique, 101 * fully qualified identifier for the job. It includes the AWS account, Region, and 102 * the job ID. The format of the ARN is as follows:</p> <p> 103 * <code>arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id></code> 104 * </p> <p>The following is an example job ARN:</p> <p> 105 * <code>arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab</code> 106 * </p> 107 */ JobArnHasBeenSet()108 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; } 109 110 /** 111 * <p>The Amazon Resource Name (ARN) of the entities detection job. It is a unique, 112 * fully qualified identifier for the job. It includes the AWS account, Region, and 113 * the job ID. The format of the ARN is as follows:</p> <p> 114 * <code>arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id></code> 115 * </p> <p>The following is an example job ARN:</p> <p> 116 * <code>arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab</code> 117 * </p> 118 */ SetJobArn(const Aws::String & value)119 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; } 120 121 /** 122 * <p>The Amazon Resource Name (ARN) of the entities detection job. It is a unique, 123 * fully qualified identifier for the job. It includes the AWS account, Region, and 124 * the job ID. The format of the ARN is as follows:</p> <p> 125 * <code>arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id></code> 126 * </p> <p>The following is an example job ARN:</p> <p> 127 * <code>arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab</code> 128 * </p> 129 */ SetJobArn(Aws::String && value)130 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); } 131 132 /** 133 * <p>The Amazon Resource Name (ARN) of the entities detection job. It is a unique, 134 * fully qualified identifier for the job. It includes the AWS account, Region, and 135 * the job ID. The format of the ARN is as follows:</p> <p> 136 * <code>arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id></code> 137 * </p> <p>The following is an example job ARN:</p> <p> 138 * <code>arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab</code> 139 * </p> 140 */ SetJobArn(const char * value)141 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); } 142 143 /** 144 * <p>The Amazon Resource Name (ARN) of the entities detection job. It is a unique, 145 * fully qualified identifier for the job. It includes the AWS account, Region, and 146 * the job ID. The format of the ARN is as follows:</p> <p> 147 * <code>arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id></code> 148 * </p> <p>The following is an example job ARN:</p> <p> 149 * <code>arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab</code> 150 * </p> 151 */ WithJobArn(const Aws::String & value)152 inline EntitiesDetectionJobProperties& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;} 153 154 /** 155 * <p>The Amazon Resource Name (ARN) of the entities detection job. It is a unique, 156 * fully qualified identifier for the job. It includes the AWS account, Region, and 157 * the job ID. The format of the ARN is as follows:</p> <p> 158 * <code>arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id></code> 159 * </p> <p>The following is an example job ARN:</p> <p> 160 * <code>arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab</code> 161 * </p> 162 */ WithJobArn(Aws::String && value)163 inline EntitiesDetectionJobProperties& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;} 164 165 /** 166 * <p>The Amazon Resource Name (ARN) of the entities detection job. It is a unique, 167 * fully qualified identifier for the job. It includes the AWS account, Region, and 168 * the job ID. The format of the ARN is as follows:</p> <p> 169 * <code>arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id></code> 170 * </p> <p>The following is an example job ARN:</p> <p> 171 * <code>arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab</code> 172 * </p> 173 */ WithJobArn(const char * value)174 inline EntitiesDetectionJobProperties& WithJobArn(const char* value) { SetJobArn(value); return *this;} 175 176 177 /** 178 * <p>The name that you assigned the entities detection job.</p> 179 */ GetJobName()180 inline const Aws::String& GetJobName() const{ return m_jobName; } 181 182 /** 183 * <p>The name that you assigned the entities detection job.</p> 184 */ JobNameHasBeenSet()185 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } 186 187 /** 188 * <p>The name that you assigned the entities detection job.</p> 189 */ SetJobName(const Aws::String & value)190 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } 191 192 /** 193 * <p>The name that you assigned the entities detection job.</p> 194 */ SetJobName(Aws::String && value)195 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } 196 197 /** 198 * <p>The name that you assigned the entities detection job.</p> 199 */ SetJobName(const char * value)200 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } 201 202 /** 203 * <p>The name that you assigned the entities detection job.</p> 204 */ WithJobName(const Aws::String & value)205 inline EntitiesDetectionJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} 206 207 /** 208 * <p>The name that you assigned the entities detection job.</p> 209 */ WithJobName(Aws::String && value)210 inline EntitiesDetectionJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} 211 212 /** 213 * <p>The name that you assigned the entities detection job.</p> 214 */ WithJobName(const char * value)215 inline EntitiesDetectionJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;} 216 217 218 /** 219 * <p>The current status of the entities detection job. If the status is 220 * <code>FAILED</code>, the <code>Message</code> field shows the reason for the 221 * failure.</p> 222 */ GetJobStatus()223 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; } 224 225 /** 226 * <p>The current status of the entities detection job. If the status is 227 * <code>FAILED</code>, the <code>Message</code> field shows the reason for the 228 * failure.</p> 229 */ JobStatusHasBeenSet()230 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; } 231 232 /** 233 * <p>The current status of the entities detection job. If the status is 234 * <code>FAILED</code>, the <code>Message</code> field shows the reason for the 235 * failure.</p> 236 */ SetJobStatus(const JobStatus & value)237 inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; } 238 239 /** 240 * <p>The current status of the entities detection job. If the status is 241 * <code>FAILED</code>, the <code>Message</code> field shows the reason for the 242 * failure.</p> 243 */ SetJobStatus(JobStatus && value)244 inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); } 245 246 /** 247 * <p>The current status of the entities detection job. If the status is 248 * <code>FAILED</code>, the <code>Message</code> field shows the reason for the 249 * failure.</p> 250 */ WithJobStatus(const JobStatus & value)251 inline EntitiesDetectionJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;} 252 253 /** 254 * <p>The current status of the entities detection job. If the status is 255 * <code>FAILED</code>, the <code>Message</code> field shows the reason for the 256 * failure.</p> 257 */ WithJobStatus(JobStatus && value)258 inline EntitiesDetectionJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;} 259 260 261 /** 262 * <p>A description of the status of a job.</p> 263 */ GetMessage()264 inline const Aws::String& GetMessage() const{ return m_message; } 265 266 /** 267 * <p>A description of the status of a job.</p> 268 */ MessageHasBeenSet()269 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } 270 271 /** 272 * <p>A description of the status of a job.</p> 273 */ SetMessage(const Aws::String & value)274 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } 275 276 /** 277 * <p>A description of the status of a job.</p> 278 */ SetMessage(Aws::String && value)279 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } 280 281 /** 282 * <p>A description of the status of a job.</p> 283 */ SetMessage(const char * value)284 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } 285 286 /** 287 * <p>A description of the status of a job.</p> 288 */ WithMessage(const Aws::String & value)289 inline EntitiesDetectionJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} 290 291 /** 292 * <p>A description of the status of a job.</p> 293 */ WithMessage(Aws::String && value)294 inline EntitiesDetectionJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} 295 296 /** 297 * <p>A description of the status of a job.</p> 298 */ WithMessage(const char * value)299 inline EntitiesDetectionJobProperties& WithMessage(const char* value) { SetMessage(value); return *this;} 300 301 302 /** 303 * <p>The time that the entities detection job was submitted for processing.</p> 304 */ GetSubmitTime()305 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; } 306 307 /** 308 * <p>The time that the entities detection job was submitted for processing.</p> 309 */ SubmitTimeHasBeenSet()310 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; } 311 312 /** 313 * <p>The time that the entities detection job was submitted for processing.</p> 314 */ SetSubmitTime(const Aws::Utils::DateTime & value)315 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; } 316 317 /** 318 * <p>The time that the entities detection job was submitted for processing.</p> 319 */ SetSubmitTime(Aws::Utils::DateTime && value)320 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); } 321 322 /** 323 * <p>The time that the entities detection job was submitted for processing.</p> 324 */ WithSubmitTime(const Aws::Utils::DateTime & value)325 inline EntitiesDetectionJobProperties& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;} 326 327 /** 328 * <p>The time that the entities detection job was submitted for processing.</p> 329 */ WithSubmitTime(Aws::Utils::DateTime && value)330 inline EntitiesDetectionJobProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;} 331 332 333 /** 334 * <p>The time that the entities detection job completed</p> 335 */ GetEndTime()336 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } 337 338 /** 339 * <p>The time that the entities detection job completed</p> 340 */ EndTimeHasBeenSet()341 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } 342 343 /** 344 * <p>The time that the entities detection job completed</p> 345 */ SetEndTime(const Aws::Utils::DateTime & value)346 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } 347 348 /** 349 * <p>The time that the entities detection job completed</p> 350 */ SetEndTime(Aws::Utils::DateTime && value)351 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } 352 353 /** 354 * <p>The time that the entities detection job completed</p> 355 */ WithEndTime(const Aws::Utils::DateTime & value)356 inline EntitiesDetectionJobProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} 357 358 /** 359 * <p>The time that the entities detection job completed</p> 360 */ WithEndTime(Aws::Utils::DateTime && value)361 inline EntitiesDetectionJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} 362 363 364 /** 365 * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p> 366 */ GetEntityRecognizerArn()367 inline const Aws::String& GetEntityRecognizerArn() const{ return m_entityRecognizerArn; } 368 369 /** 370 * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p> 371 */ EntityRecognizerArnHasBeenSet()372 inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; } 373 374 /** 375 * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p> 376 */ SetEntityRecognizerArn(const Aws::String & value)377 inline void SetEntityRecognizerArn(const Aws::String& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = value; } 378 379 /** 380 * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p> 381 */ SetEntityRecognizerArn(Aws::String && value)382 inline void SetEntityRecognizerArn(Aws::String&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::move(value); } 383 384 /** 385 * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p> 386 */ SetEntityRecognizerArn(const char * value)387 inline void SetEntityRecognizerArn(const char* value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn.assign(value); } 388 389 /** 390 * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p> 391 */ WithEntityRecognizerArn(const Aws::String & value)392 inline EntitiesDetectionJobProperties& WithEntityRecognizerArn(const Aws::String& value) { SetEntityRecognizerArn(value); return *this;} 393 394 /** 395 * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p> 396 */ WithEntityRecognizerArn(Aws::String && value)397 inline EntitiesDetectionJobProperties& WithEntityRecognizerArn(Aws::String&& value) { SetEntityRecognizerArn(std::move(value)); return *this;} 398 399 /** 400 * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p> 401 */ WithEntityRecognizerArn(const char * value)402 inline EntitiesDetectionJobProperties& WithEntityRecognizerArn(const char* value) { SetEntityRecognizerArn(value); return *this;} 403 404 405 /** 406 * <p>The input data configuration that you supplied when you created the entities 407 * detection job.</p> 408 */ GetInputDataConfig()409 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; } 410 411 /** 412 * <p>The input data configuration that you supplied when you created the entities 413 * detection job.</p> 414 */ InputDataConfigHasBeenSet()415 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; } 416 417 /** 418 * <p>The input data configuration that you supplied when you created the entities 419 * detection job.</p> 420 */ SetInputDataConfig(const InputDataConfig & value)421 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; } 422 423 /** 424 * <p>The input data configuration that you supplied when you created the entities 425 * detection job.</p> 426 */ SetInputDataConfig(InputDataConfig && value)427 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); } 428 429 /** 430 * <p>The input data configuration that you supplied when you created the entities 431 * detection job.</p> 432 */ WithInputDataConfig(const InputDataConfig & value)433 inline EntitiesDetectionJobProperties& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;} 434 435 /** 436 * <p>The input data configuration that you supplied when you created the entities 437 * detection job.</p> 438 */ WithInputDataConfig(InputDataConfig && value)439 inline EntitiesDetectionJobProperties& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;} 440 441 442 /** 443 * <p>The output data configuration that you supplied when you created the entities 444 * detection job. </p> 445 */ GetOutputDataConfig()446 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } 447 448 /** 449 * <p>The output data configuration that you supplied when you created the entities 450 * detection job. </p> 451 */ OutputDataConfigHasBeenSet()452 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; } 453 454 /** 455 * <p>The output data configuration that you supplied when you created the entities 456 * detection job. </p> 457 */ SetOutputDataConfig(const OutputDataConfig & value)458 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; } 459 460 /** 461 * <p>The output data configuration that you supplied when you created the entities 462 * detection job. </p> 463 */ SetOutputDataConfig(OutputDataConfig && value)464 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); } 465 466 /** 467 * <p>The output data configuration that you supplied when you created the entities 468 * detection job. </p> 469 */ WithOutputDataConfig(const OutputDataConfig & value)470 inline EntitiesDetectionJobProperties& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;} 471 472 /** 473 * <p>The output data configuration that you supplied when you created the entities 474 * detection job. </p> 475 */ WithOutputDataConfig(OutputDataConfig && value)476 inline EntitiesDetectionJobProperties& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} 477 478 479 /** 480 * <p>The language code of the input documents.</p> 481 */ GetLanguageCode()482 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; } 483 484 /** 485 * <p>The language code of the input documents.</p> 486 */ LanguageCodeHasBeenSet()487 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; } 488 489 /** 490 * <p>The language code of the input documents.</p> 491 */ SetLanguageCode(const LanguageCode & value)492 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; } 493 494 /** 495 * <p>The language code of the input documents.</p> 496 */ SetLanguageCode(LanguageCode && value)497 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); } 498 499 /** 500 * <p>The language code of the input documents.</p> 501 */ WithLanguageCode(const LanguageCode & value)502 inline EntitiesDetectionJobProperties& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;} 503 504 /** 505 * <p>The language code of the input documents.</p> 506 */ WithLanguageCode(LanguageCode && value)507 inline EntitiesDetectionJobProperties& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;} 508 509 510 /** 511 * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to 512 * your input data.</p> 513 */ GetDataAccessRoleArn()514 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; } 515 516 /** 517 * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to 518 * your input data.</p> 519 */ DataAccessRoleArnHasBeenSet()520 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; } 521 522 /** 523 * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to 524 * your input data.</p> 525 */ SetDataAccessRoleArn(const Aws::String & value)526 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; } 527 528 /** 529 * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to 530 * your input data.</p> 531 */ SetDataAccessRoleArn(Aws::String && value)532 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); } 533 534 /** 535 * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to 536 * your input data.</p> 537 */ SetDataAccessRoleArn(const char * value)538 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); } 539 540 /** 541 * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to 542 * your input data.</p> 543 */ WithDataAccessRoleArn(const Aws::String & value)544 inline EntitiesDetectionJobProperties& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} 545 546 /** 547 * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to 548 * your input data.</p> 549 */ WithDataAccessRoleArn(Aws::String && value)550 inline EntitiesDetectionJobProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;} 551 552 /** 553 * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to 554 * your input data.</p> 555 */ WithDataAccessRoleArn(const char * value)556 inline EntitiesDetectionJobProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;} 557 558 559 /** 560 * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses 561 * to encrypt data on the storage volume attached to the ML compute instance(s) 562 * that process the analysis job. The VolumeKmsKeyId can be either of the following 563 * formats:</p> <ul> <li> <p>KMS Key ID: 564 * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon 565 * Resource Name (ARN) of a KMS Key: 566 * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> 567 * </p> </li> </ul> 568 */ GetVolumeKmsKeyId()569 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; } 570 571 /** 572 * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses 573 * to encrypt data on the storage volume attached to the ML compute instance(s) 574 * that process the analysis job. The VolumeKmsKeyId can be either of the following 575 * formats:</p> <ul> <li> <p>KMS Key ID: 576 * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon 577 * Resource Name (ARN) of a KMS Key: 578 * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> 579 * </p> </li> </ul> 580 */ VolumeKmsKeyIdHasBeenSet()581 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; } 582 583 /** 584 * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses 585 * to encrypt data on the storage volume attached to the ML compute instance(s) 586 * that process the analysis job. The VolumeKmsKeyId can be either of the following 587 * formats:</p> <ul> <li> <p>KMS Key ID: 588 * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon 589 * Resource Name (ARN) of a KMS Key: 590 * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> 591 * </p> </li> </ul> 592 */ SetVolumeKmsKeyId(const Aws::String & value)593 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; } 594 595 /** 596 * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses 597 * to encrypt data on the storage volume attached to the ML compute instance(s) 598 * that process the analysis job. The VolumeKmsKeyId can be either of the following 599 * formats:</p> <ul> <li> <p>KMS Key ID: 600 * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon 601 * Resource Name (ARN) of a KMS Key: 602 * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> 603 * </p> </li> </ul> 604 */ SetVolumeKmsKeyId(Aws::String && value)605 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); } 606 607 /** 608 * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses 609 * to encrypt data on the storage volume attached to the ML compute instance(s) 610 * that process the analysis job. The VolumeKmsKeyId can be either of the following 611 * formats:</p> <ul> <li> <p>KMS Key ID: 612 * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon 613 * Resource Name (ARN) of a KMS Key: 614 * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> 615 * </p> </li> </ul> 616 */ SetVolumeKmsKeyId(const char * value)617 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); } 618 619 /** 620 * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses 621 * to encrypt data on the storage volume attached to the ML compute instance(s) 622 * that process the analysis job. The VolumeKmsKeyId can be either of the following 623 * formats:</p> <ul> <li> <p>KMS Key ID: 624 * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon 625 * Resource Name (ARN) of a KMS Key: 626 * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> 627 * </p> </li> </ul> 628 */ WithVolumeKmsKeyId(const Aws::String & value)629 inline EntitiesDetectionJobProperties& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;} 630 631 /** 632 * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses 633 * to encrypt data on the storage volume attached to the ML compute instance(s) 634 * that process the analysis job. The VolumeKmsKeyId can be either of the following 635 * formats:</p> <ul> <li> <p>KMS Key ID: 636 * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon 637 * Resource Name (ARN) of a KMS Key: 638 * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> 639 * </p> </li> </ul> 640 */ WithVolumeKmsKeyId(Aws::String && value)641 inline EntitiesDetectionJobProperties& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;} 642 643 /** 644 * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses 645 * to encrypt data on the storage volume attached to the ML compute instance(s) 646 * that process the analysis job. The VolumeKmsKeyId can be either of the following 647 * formats:</p> <ul> <li> <p>KMS Key ID: 648 * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon 649 * Resource Name (ARN) of a KMS Key: 650 * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> 651 * </p> </li> </ul> 652 */ WithVolumeKmsKeyId(const char * value)653 inline EntitiesDetectionJobProperties& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;} 654 655 656 /** 657 * <p> Configuration parameters for a private Virtual Private Cloud (VPC) 658 * containing the resources you are using for your entity detection job. For more 659 * information, see <a 660 * href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon 661 * VPC</a>. </p> 662 */ GetVpcConfig()663 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } 664 665 /** 666 * <p> Configuration parameters for a private Virtual Private Cloud (VPC) 667 * containing the resources you are using for your entity detection job. For more 668 * information, see <a 669 * href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon 670 * VPC</a>. </p> 671 */ VpcConfigHasBeenSet()672 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } 673 674 /** 675 * <p> Configuration parameters for a private Virtual Private Cloud (VPC) 676 * containing the resources you are using for your entity detection job. For more 677 * information, see <a 678 * href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon 679 * VPC</a>. </p> 680 */ SetVpcConfig(const VpcConfig & value)681 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } 682 683 /** 684 * <p> Configuration parameters for a private Virtual Private Cloud (VPC) 685 * containing the resources you are using for your entity detection job. For more 686 * information, see <a 687 * href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon 688 * VPC</a>. </p> 689 */ SetVpcConfig(VpcConfig && value)690 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } 691 692 /** 693 * <p> Configuration parameters for a private Virtual Private Cloud (VPC) 694 * containing the resources you are using for your entity detection job. For more 695 * information, see <a 696 * href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon 697 * VPC</a>. </p> 698 */ WithVpcConfig(const VpcConfig & value)699 inline EntitiesDetectionJobProperties& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;} 700 701 /** 702 * <p> Configuration parameters for a private Virtual Private Cloud (VPC) 703 * containing the resources you are using for your entity detection job. For more 704 * information, see <a 705 * href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon 706 * VPC</a>. </p> 707 */ WithVpcConfig(VpcConfig && value)708 inline EntitiesDetectionJobProperties& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} 709 710 private: 711 712 Aws::String m_jobId; 713 bool m_jobIdHasBeenSet; 714 715 Aws::String m_jobArn; 716 bool m_jobArnHasBeenSet; 717 718 Aws::String m_jobName; 719 bool m_jobNameHasBeenSet; 720 721 JobStatus m_jobStatus; 722 bool m_jobStatusHasBeenSet; 723 724 Aws::String m_message; 725 bool m_messageHasBeenSet; 726 727 Aws::Utils::DateTime m_submitTime; 728 bool m_submitTimeHasBeenSet; 729 730 Aws::Utils::DateTime m_endTime; 731 bool m_endTimeHasBeenSet; 732 733 Aws::String m_entityRecognizerArn; 734 bool m_entityRecognizerArnHasBeenSet; 735 736 InputDataConfig m_inputDataConfig; 737 bool m_inputDataConfigHasBeenSet; 738 739 OutputDataConfig m_outputDataConfig; 740 bool m_outputDataConfigHasBeenSet; 741 742 LanguageCode m_languageCode; 743 bool m_languageCodeHasBeenSet; 744 745 Aws::String m_dataAccessRoleArn; 746 bool m_dataAccessRoleArnHasBeenSet; 747 748 Aws::String m_volumeKmsKeyId; 749 bool m_volumeKmsKeyIdHasBeenSet; 750 751 VpcConfig m_vpcConfig; 752 bool m_vpcConfigHasBeenSet; 753 }; 754 755 } // namespace Model 756 } // namespace Comprehend 757 } // namespace Aws 758