AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentClassificationJobProperties.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/VpcConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Comprehend
27{
28namespace Model
29{
30
38 {
39 public:
43 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetJobId() const{ return m_jobId; }
51 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
52 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
53 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
54 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
55 inline DocumentClassificationJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
56 inline DocumentClassificationJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
57 inline DocumentClassificationJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;}
59
61
71 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
72 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
73 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
74 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
75 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
76 inline DocumentClassificationJobProperties& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
77 inline DocumentClassificationJobProperties& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
78 inline DocumentClassificationJobProperties& WithJobArn(const char* value) { SetJobArn(value); return *this;}
80
82
85 inline const Aws::String& GetJobName() const{ return m_jobName; }
86 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
87 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
88 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
89 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
90 inline DocumentClassificationJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
91 inline DocumentClassificationJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
92 inline DocumentClassificationJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;}
94
96
101 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
102 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
103 inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
104 inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
105 inline DocumentClassificationJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
106 inline DocumentClassificationJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetMessage() const{ return m_message; }
114 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
115 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
116 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
117 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
118 inline DocumentClassificationJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
119 inline DocumentClassificationJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
120 inline DocumentClassificationJobProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
122
124
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); }
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); }
145 inline DocumentClassificationJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
147
149
152 inline const Aws::String& GetDocumentClassifierArn() const{ return m_documentClassifierArn; }
153 inline bool DocumentClassifierArnHasBeenSet() const { return m_documentClassifierArnHasBeenSet; }
154 inline void SetDocumentClassifierArn(const Aws::String& value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn = value; }
155 inline void SetDocumentClassifierArn(Aws::String&& value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn = std::move(value); }
156 inline void SetDocumentClassifierArn(const char* value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn.assign(value); }
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
193 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
194 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
195 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
196 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
197 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
200 inline DocumentClassificationJobProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
202
204
214 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
215 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
216 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
217 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
218 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
220 inline DocumentClassificationJobProperties& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
221 inline DocumentClassificationJobProperties& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
223
225
232 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
233 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
234 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
235 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
236 inline DocumentClassificationJobProperties& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
237 inline DocumentClassificationJobProperties& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
239
241
244 inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; }
245 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
246 inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; }
247 inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); }
248 inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); }
250 inline DocumentClassificationJobProperties& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;}
251 inline DocumentClassificationJobProperties& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;}
253 private:
254
255 Aws::String m_jobId;
256 bool m_jobIdHasBeenSet = false;
257
258 Aws::String m_jobArn;
259 bool m_jobArnHasBeenSet = false;
260
261 Aws::String m_jobName;
262 bool m_jobNameHasBeenSet = false;
263
264 JobStatus m_jobStatus;
265 bool m_jobStatusHasBeenSet = false;
266
267 Aws::String m_message;
268 bool m_messageHasBeenSet = false;
269
270 Aws::Utils::DateTime m_submitTime;
271 bool m_submitTimeHasBeenSet = false;
272
273 Aws::Utils::DateTime m_endTime;
274 bool m_endTimeHasBeenSet = false;
275
276 Aws::String m_documentClassifierArn;
277 bool m_documentClassifierArnHasBeenSet = false;
278
279 InputDataConfig m_inputDataConfig;
280 bool m_inputDataConfigHasBeenSet = false;
281
282 OutputDataConfig m_outputDataConfig;
283 bool m_outputDataConfigHasBeenSet = false;
284
285 Aws::String m_dataAccessRoleArn;
286 bool m_dataAccessRoleArnHasBeenSet = false;
287
288 Aws::String m_volumeKmsKeyId;
289 bool m_volumeKmsKeyIdHasBeenSet = false;
290
291 VpcConfig m_vpcConfig;
292 bool m_vpcConfigHasBeenSet = false;
293
294 Aws::String m_flywheelArn;
295 bool m_flywheelArnHasBeenSet = false;
296 };
297
298} // namespace Model
299} // namespace Comprehend
300} // namespace Aws
DocumentClassificationJobProperties & WithInputDataConfig(const InputDataConfig &value)
AWS_COMPREHEND_API DocumentClassificationJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentClassificationJobProperties & WithDocumentClassifierArn(const char *value)
DocumentClassificationJobProperties & WithVpcConfig(const VpcConfig &value)
DocumentClassificationJobProperties & WithInputDataConfig(InputDataConfig &&value)
DocumentClassificationJobProperties & WithEndTime(const Aws::Utils::DateTime &value)
DocumentClassificationJobProperties & WithJobStatus(const JobStatus &value)
DocumentClassificationJobProperties & WithMessage(Aws::String &&value)
DocumentClassificationJobProperties & WithOutputDataConfig(OutputDataConfig &&value)
DocumentClassificationJobProperties & WithJobId(const Aws::String &value)
DocumentClassificationJobProperties & WithSubmitTime(const Aws::Utils::DateTime &value)
DocumentClassificationJobProperties & WithJobId(const char *value)
DocumentClassificationJobProperties & WithVolumeKmsKeyId(const Aws::String &value)
DocumentClassificationJobProperties & WithOutputDataConfig(const OutputDataConfig &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentClassificationJobProperties & WithMessage(const Aws::String &value)
DocumentClassificationJobProperties & WithFlywheelArn(Aws::String &&value)
DocumentClassificationJobProperties & WithFlywheelArn(const Aws::String &value)
DocumentClassificationJobProperties & WithMessage(const char *value)
DocumentClassificationJobProperties & WithDataAccessRoleArn(Aws::String &&value)
DocumentClassificationJobProperties & WithFlywheelArn(const char *value)
DocumentClassificationJobProperties & WithJobName(Aws::String &&value)
DocumentClassificationJobProperties & WithVpcConfig(VpcConfig &&value)
DocumentClassificationJobProperties & WithVolumeKmsKeyId(const char *value)
DocumentClassificationJobProperties & WithJobName(const char *value)
DocumentClassificationJobProperties & WithDocumentClassifierArn(const Aws::String &value)
DocumentClassificationJobProperties & WithEndTime(Aws::Utils::DateTime &&value)
DocumentClassificationJobProperties & WithJobArn(const char *value)
DocumentClassificationJobProperties & WithJobId(Aws::String &&value)
DocumentClassificationJobProperties & WithDataAccessRoleArn(const char *value)
DocumentClassificationJobProperties & WithJobArn(Aws::String &&value)
DocumentClassificationJobProperties & WithSubmitTime(Aws::Utils::DateTime &&value)
DocumentClassificationJobProperties & WithVolumeKmsKeyId(Aws::String &&value)
DocumentClassificationJobProperties & WithDocumentClassifierArn(Aws::String &&value)
DocumentClassificationJobProperties & WithJobArn(const Aws::String &value)
DocumentClassificationJobProperties & WithDataAccessRoleArn(const Aws::String &value)
DocumentClassificationJobProperties & WithJobName(const Aws::String &value)
DocumentClassificationJobProperties & WithJobStatus(JobStatus &&value)
AWS_COMPREHEND_API DocumentClassificationJobProperties(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue