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