AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DocumentClassificationJobProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/InputDataConfig.h>
9#include <aws/comprehend/model/JobStatus.h>
10#include <aws/comprehend/model/OutputDataConfig.h>
11#include <aws/comprehend/model/VpcConfig.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Comprehend {
25namespace Model {
26
34 public:
35 AWS_COMPREHEND_API DocumentClassificationJobProperties() = default;
38 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetJobId() const { return m_jobId; }
45 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
46 template <typename JobIdT = Aws::String>
47 void SetJobId(JobIdT&& value) {
48 m_jobIdHasBeenSet = true;
49 m_jobId = std::forward<JobIdT>(value);
50 }
51 template <typename JobIdT = Aws::String>
53 SetJobId(std::forward<JobIdT>(value));
54 return *this;
55 }
57
59
69 inline const Aws::String& GetJobArn() const { return m_jobArn; }
70 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
71 template <typename JobArnT = Aws::String>
72 void SetJobArn(JobArnT&& value) {
73 m_jobArnHasBeenSet = true;
74 m_jobArn = std::forward<JobArnT>(value);
75 }
76 template <typename JobArnT = Aws::String>
78 SetJobArn(std::forward<JobArnT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetJobName() const { return m_jobName; }
88 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
89 template <typename JobNameT = Aws::String>
90 void SetJobName(JobNameT&& value) {
91 m_jobNameHasBeenSet = true;
92 m_jobName = std::forward<JobNameT>(value);
93 }
94 template <typename JobNameT = Aws::String>
96 SetJobName(std::forward<JobNameT>(value));
97 return *this;
98 }
100
102
107 inline JobStatus GetJobStatus() const { return m_jobStatus; }
108 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
109 inline void SetJobStatus(JobStatus value) {
110 m_jobStatusHasBeenSet = true;
111 m_jobStatus = value;
112 }
114 SetJobStatus(value);
115 return *this;
116 }
118
120
123 inline const Aws::String& GetMessage() const { return m_message; }
124 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
125 template <typename MessageT = Aws::String>
126 void SetMessage(MessageT&& value) {
127 m_messageHasBeenSet = true;
128 m_message = std::forward<MessageT>(value);
129 }
130 template <typename MessageT = Aws::String>
132 SetMessage(std::forward<MessageT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
143 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
144 template <typename SubmitTimeT = Aws::Utils::DateTime>
145 void SetSubmitTime(SubmitTimeT&& value) {
146 m_submitTimeHasBeenSet = true;
147 m_submitTime = std::forward<SubmitTimeT>(value);
148 }
149 template <typename SubmitTimeT = Aws::Utils::DateTime>
151 SetSubmitTime(std::forward<SubmitTimeT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
161 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
162 template <typename EndTimeT = Aws::Utils::DateTime>
163 void SetEndTime(EndTimeT&& value) {
164 m_endTimeHasBeenSet = true;
165 m_endTime = std::forward<EndTimeT>(value);
166 }
167 template <typename EndTimeT = Aws::Utils::DateTime>
169 SetEndTime(std::forward<EndTimeT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetDocumentClassifierArn() const { return m_documentClassifierArn; }
179 inline bool DocumentClassifierArnHasBeenSet() const { return m_documentClassifierArnHasBeenSet; }
180 template <typename DocumentClassifierArnT = Aws::String>
181 void SetDocumentClassifierArn(DocumentClassifierArnT&& value) {
182 m_documentClassifierArnHasBeenSet = true;
183 m_documentClassifierArn = std::forward<DocumentClassifierArnT>(value);
184 }
185 template <typename DocumentClassifierArnT = Aws::String>
187 SetDocumentClassifierArn(std::forward<DocumentClassifierArnT>(value));
188 return *this;
189 }
191
193
197 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
198 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
199 template <typename InputDataConfigT = InputDataConfig>
200 void SetInputDataConfig(InputDataConfigT&& value) {
201 m_inputDataConfigHasBeenSet = true;
202 m_inputDataConfig = std::forward<InputDataConfigT>(value);
203 }
204 template <typename InputDataConfigT = InputDataConfig>
206 SetInputDataConfig(std::forward<InputDataConfigT>(value));
207 return *this;
208 }
210
212
216 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
217 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
218 template <typename OutputDataConfigT = OutputDataConfig>
219 void SetOutputDataConfig(OutputDataConfigT&& value) {
220 m_outputDataConfigHasBeenSet = true;
221 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
222 }
223 template <typename OutputDataConfigT = OutputDataConfig>
225 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
226 return *this;
227 }
229
231
235 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
236 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
237 template <typename DataAccessRoleArnT = Aws::String>
238 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
239 m_dataAccessRoleArnHasBeenSet = true;
240 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
241 }
242 template <typename DataAccessRoleArnT = Aws::String>
244 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
245 return *this;
246 }
248
250
260 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
261 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
262 template <typename VolumeKmsKeyIdT = Aws::String>
263 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
264 m_volumeKmsKeyIdHasBeenSet = true;
265 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
266 }
267 template <typename VolumeKmsKeyIdT = Aws::String>
269 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
270 return *this;
271 }
273
275
282 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
283 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
284 template <typename VpcConfigT = VpcConfig>
285 void SetVpcConfig(VpcConfigT&& value) {
286 m_vpcConfigHasBeenSet = true;
287 m_vpcConfig = std::forward<VpcConfigT>(value);
288 }
289 template <typename VpcConfigT = VpcConfig>
291 SetVpcConfig(std::forward<VpcConfigT>(value));
292 return *this;
293 }
295
297
300 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
301 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
302 template <typename FlywheelArnT = Aws::String>
303 void SetFlywheelArn(FlywheelArnT&& value) {
304 m_flywheelArnHasBeenSet = true;
305 m_flywheelArn = std::forward<FlywheelArnT>(value);
306 }
307 template <typename FlywheelArnT = Aws::String>
309 SetFlywheelArn(std::forward<FlywheelArnT>(value));
310 return *this;
311 }
313 private:
314 Aws::String m_jobId;
315
316 Aws::String m_jobArn;
317
318 Aws::String m_jobName;
319
320 JobStatus m_jobStatus{JobStatus::NOT_SET};
321
322 Aws::String m_message;
323
324 Aws::Utils::DateTime m_submitTime{};
325
326 Aws::Utils::DateTime m_endTime{};
327
328 Aws::String m_documentClassifierArn;
329
330 InputDataConfig m_inputDataConfig;
331
332 OutputDataConfig m_outputDataConfig;
333
334 Aws::String m_dataAccessRoleArn;
335
336 Aws::String m_volumeKmsKeyId;
337
338 VpcConfig m_vpcConfig;
339
340 Aws::String m_flywheelArn;
341 bool m_jobIdHasBeenSet = false;
342 bool m_jobArnHasBeenSet = false;
343 bool m_jobNameHasBeenSet = false;
344 bool m_jobStatusHasBeenSet = false;
345 bool m_messageHasBeenSet = false;
346 bool m_submitTimeHasBeenSet = false;
347 bool m_endTimeHasBeenSet = false;
348 bool m_documentClassifierArnHasBeenSet = false;
349 bool m_inputDataConfigHasBeenSet = false;
350 bool m_outputDataConfigHasBeenSet = false;
351 bool m_dataAccessRoleArnHasBeenSet = false;
352 bool m_volumeKmsKeyIdHasBeenSet = false;
353 bool m_vpcConfigHasBeenSet = false;
354 bool m_flywheelArnHasBeenSet = false;
355};
356
357} // namespace Model
358} // namespace Comprehend
359} // namespace Aws
DocumentClassificationJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
DocumentClassificationJobProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
AWS_COMPREHEND_API DocumentClassificationJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentClassificationJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
AWS_COMPREHEND_API DocumentClassificationJobProperties()=default
DocumentClassificationJobProperties & WithEndTime(EndTimeT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentClassificationJobProperties & WithInputDataConfig(InputDataConfigT &&value)
DocumentClassificationJobProperties & WithDocumentClassifierArn(DocumentClassifierArnT &&value)
DocumentClassificationJobProperties & WithJobId(JobIdT &&value)
DocumentClassificationJobProperties & WithJobStatus(JobStatus value)
DocumentClassificationJobProperties & WithMessage(MessageT &&value)
DocumentClassificationJobProperties & WithJobName(JobNameT &&value)
DocumentClassificationJobProperties & WithJobArn(JobArnT &&value)
DocumentClassificationJobProperties & WithFlywheelArn(FlywheelArnT &&value)
DocumentClassificationJobProperties & WithSubmitTime(SubmitTimeT &&value)
DocumentClassificationJobProperties & WithVpcConfig(VpcConfigT &&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