AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DocumentClassifierProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/ClassifierMetadata.h>
9#include <aws/comprehend/model/DocumentClassifierInputDataConfig.h>
10#include <aws/comprehend/model/DocumentClassifierMode.h>
11#include <aws/comprehend/model/DocumentClassifierOutputDataConfig.h>
12#include <aws/comprehend/model/LanguageCode.h>
13#include <aws/comprehend/model/ModelStatus.h>
14#include <aws/comprehend/model/VpcConfig.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Comprehend {
28namespace Model {
29
37 public:
38 AWS_COMPREHEND_API DocumentClassifierProperties() = default;
41 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline const Aws::String& GetDocumentClassifierArn() const { return m_documentClassifierArn; }
48 inline bool DocumentClassifierArnHasBeenSet() const { return m_documentClassifierArnHasBeenSet; }
49 template <typename DocumentClassifierArnT = Aws::String>
50 void SetDocumentClassifierArn(DocumentClassifierArnT&& value) {
51 m_documentClassifierArnHasBeenSet = true;
52 m_documentClassifierArn = std::forward<DocumentClassifierArnT>(value);
53 }
54 template <typename DocumentClassifierArnT = Aws::String>
56 SetDocumentClassifierArn(std::forward<DocumentClassifierArnT>(value));
57 return *this;
58 }
60
62
66 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
67 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
68 inline void SetLanguageCode(LanguageCode value) {
69 m_languageCodeHasBeenSet = true;
70 m_languageCode = value;
71 }
73 SetLanguageCode(value);
74 return *this;
75 }
77
79
88 inline ModelStatus GetStatus() const { return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(ModelStatus value) {
91 m_statusHasBeenSet = true;
92 m_status = value;
93 }
95 SetStatus(value);
96 return *this;
97 }
99
101
104 inline const Aws::String& GetMessage() const { return m_message; }
105 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
106 template <typename MessageT = Aws::String>
107 void SetMessage(MessageT&& value) {
108 m_messageHasBeenSet = true;
109 m_message = std::forward<MessageT>(value);
110 }
111 template <typename MessageT = Aws::String>
113 SetMessage(std::forward<MessageT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
123 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
124 template <typename SubmitTimeT = Aws::Utils::DateTime>
125 void SetSubmitTime(SubmitTimeT&& value) {
126 m_submitTimeHasBeenSet = true;
127 m_submitTime = std::forward<SubmitTimeT>(value);
128 }
129 template <typename SubmitTimeT = Aws::Utils::DateTime>
131 SetSubmitTime(std::forward<SubmitTimeT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
141 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
142 template <typename EndTimeT = Aws::Utils::DateTime>
143 void SetEndTime(EndTimeT&& value) {
144 m_endTimeHasBeenSet = true;
145 m_endTime = std::forward<EndTimeT>(value);
146 }
147 template <typename EndTimeT = Aws::Utils::DateTime>
149 SetEndTime(std::forward<EndTimeT>(value));
150 return *this;
151 }
153
155
160 inline const Aws::Utils::DateTime& GetTrainingStartTime() const { return m_trainingStartTime; }
161 inline bool TrainingStartTimeHasBeenSet() const { return m_trainingStartTimeHasBeenSet; }
162 template <typename TrainingStartTimeT = Aws::Utils::DateTime>
163 void SetTrainingStartTime(TrainingStartTimeT&& value) {
164 m_trainingStartTimeHasBeenSet = true;
165 m_trainingStartTime = std::forward<TrainingStartTimeT>(value);
166 }
167 template <typename TrainingStartTimeT = Aws::Utils::DateTime>
169 SetTrainingStartTime(std::forward<TrainingStartTimeT>(value));
170 return *this;
171 }
173
175
181 inline const Aws::Utils::DateTime& GetTrainingEndTime() const { return m_trainingEndTime; }
182 inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
183 template <typename TrainingEndTimeT = Aws::Utils::DateTime>
184 void SetTrainingEndTime(TrainingEndTimeT&& value) {
185 m_trainingEndTimeHasBeenSet = true;
186 m_trainingEndTime = std::forward<TrainingEndTimeT>(value);
187 }
188 template <typename TrainingEndTimeT = Aws::Utils::DateTime>
190 SetTrainingEndTime(std::forward<TrainingEndTimeT>(value));
191 return *this;
192 }
194
196
200 inline const DocumentClassifierInputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
201 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
202 template <typename InputDataConfigT = DocumentClassifierInputDataConfig>
203 void SetInputDataConfig(InputDataConfigT&& value) {
204 m_inputDataConfigHasBeenSet = true;
205 m_inputDataConfig = std::forward<InputDataConfigT>(value);
206 }
207 template <typename InputDataConfigT = DocumentClassifierInputDataConfig>
209 SetInputDataConfig(std::forward<InputDataConfigT>(value));
210 return *this;
211 }
213
215
219 inline const DocumentClassifierOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
220 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
221 template <typename OutputDataConfigT = DocumentClassifierOutputDataConfig>
222 void SetOutputDataConfig(OutputDataConfigT&& value) {
223 m_outputDataConfigHasBeenSet = true;
224 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
225 }
226 template <typename OutputDataConfigT = DocumentClassifierOutputDataConfig>
228 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
229 return *this;
230 }
232
234
239 inline const ClassifierMetadata& GetClassifierMetadata() const { return m_classifierMetadata; }
240 inline bool ClassifierMetadataHasBeenSet() const { return m_classifierMetadataHasBeenSet; }
241 template <typename ClassifierMetadataT = ClassifierMetadata>
242 void SetClassifierMetadata(ClassifierMetadataT&& value) {
243 m_classifierMetadataHasBeenSet = true;
244 m_classifierMetadata = std::forward<ClassifierMetadataT>(value);
245 }
246 template <typename ClassifierMetadataT = ClassifierMetadata>
248 SetClassifierMetadata(std::forward<ClassifierMetadataT>(value));
249 return *this;
250 }
252
254
258 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
259 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
260 template <typename DataAccessRoleArnT = Aws::String>
261 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
262 m_dataAccessRoleArnHasBeenSet = true;
263 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
264 }
265 template <typename DataAccessRoleArnT = Aws::String>
267 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
268 return *this;
269 }
271
273
283 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
284 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
285 template <typename VolumeKmsKeyIdT = Aws::String>
286 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
287 m_volumeKmsKeyIdHasBeenSet = true;
288 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
289 }
290 template <typename VolumeKmsKeyIdT = Aws::String>
292 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
293 return *this;
294 }
296
298
305 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
306 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
307 template <typename VpcConfigT = VpcConfig>
308 void SetVpcConfig(VpcConfigT&& value) {
309 m_vpcConfigHasBeenSet = true;
310 m_vpcConfig = std::forward<VpcConfigT>(value);
311 }
312 template <typename VpcConfigT = VpcConfig>
314 SetVpcConfig(std::forward<VpcConfigT>(value));
315 return *this;
316 }
318
320
326 inline DocumentClassifierMode GetMode() const { return m_mode; }
327 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
328 inline void SetMode(DocumentClassifierMode value) {
329 m_modeHasBeenSet = true;
330 m_mode = value;
331 }
333 SetMode(value);
334 return *this;
335 }
337
339
347 inline const Aws::String& GetModelKmsKeyId() const { return m_modelKmsKeyId; }
348 inline bool ModelKmsKeyIdHasBeenSet() const { return m_modelKmsKeyIdHasBeenSet; }
349 template <typename ModelKmsKeyIdT = Aws::String>
350 void SetModelKmsKeyId(ModelKmsKeyIdT&& value) {
351 m_modelKmsKeyIdHasBeenSet = true;
352 m_modelKmsKeyId = std::forward<ModelKmsKeyIdT>(value);
353 }
354 template <typename ModelKmsKeyIdT = Aws::String>
356 SetModelKmsKeyId(std::forward<ModelKmsKeyIdT>(value));
357 return *this;
358 }
360
362
365 inline const Aws::String& GetVersionName() const { return m_versionName; }
366 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
367 template <typename VersionNameT = Aws::String>
368 void SetVersionName(VersionNameT&& value) {
369 m_versionNameHasBeenSet = true;
370 m_versionName = std::forward<VersionNameT>(value);
371 }
372 template <typename VersionNameT = Aws::String>
374 SetVersionName(std::forward<VersionNameT>(value));
375 return *this;
376 }
378
380
385 inline const Aws::String& GetSourceModelArn() const { return m_sourceModelArn; }
386 inline bool SourceModelArnHasBeenSet() const { return m_sourceModelArnHasBeenSet; }
387 template <typename SourceModelArnT = Aws::String>
388 void SetSourceModelArn(SourceModelArnT&& value) {
389 m_sourceModelArnHasBeenSet = true;
390 m_sourceModelArn = std::forward<SourceModelArnT>(value);
391 }
392 template <typename SourceModelArnT = Aws::String>
394 SetSourceModelArn(std::forward<SourceModelArnT>(value));
395 return *this;
396 }
398
400
403 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
404 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
405 template <typename FlywheelArnT = Aws::String>
406 void SetFlywheelArn(FlywheelArnT&& value) {
407 m_flywheelArnHasBeenSet = true;
408 m_flywheelArn = std::forward<FlywheelArnT>(value);
409 }
410 template <typename FlywheelArnT = Aws::String>
412 SetFlywheelArn(std::forward<FlywheelArnT>(value));
413 return *this;
414 }
416 private:
417 Aws::String m_documentClassifierArn;
418
419 LanguageCode m_languageCode{LanguageCode::NOT_SET};
420
422
423 Aws::String m_message;
424
425 Aws::Utils::DateTime m_submitTime{};
426
427 Aws::Utils::DateTime m_endTime{};
428
429 Aws::Utils::DateTime m_trainingStartTime{};
430
431 Aws::Utils::DateTime m_trainingEndTime{};
432
433 DocumentClassifierInputDataConfig m_inputDataConfig;
434
435 DocumentClassifierOutputDataConfig m_outputDataConfig;
436
437 ClassifierMetadata m_classifierMetadata;
438
439 Aws::String m_dataAccessRoleArn;
440
441 Aws::String m_volumeKmsKeyId;
442
443 VpcConfig m_vpcConfig;
444
446
447 Aws::String m_modelKmsKeyId;
448
449 Aws::String m_versionName;
450
451 Aws::String m_sourceModelArn;
452
453 Aws::String m_flywheelArn;
454 bool m_documentClassifierArnHasBeenSet = false;
455 bool m_languageCodeHasBeenSet = false;
456 bool m_statusHasBeenSet = false;
457 bool m_messageHasBeenSet = false;
458 bool m_submitTimeHasBeenSet = false;
459 bool m_endTimeHasBeenSet = false;
460 bool m_trainingStartTimeHasBeenSet = false;
461 bool m_trainingEndTimeHasBeenSet = false;
462 bool m_inputDataConfigHasBeenSet = false;
463 bool m_outputDataConfigHasBeenSet = false;
464 bool m_classifierMetadataHasBeenSet = false;
465 bool m_dataAccessRoleArnHasBeenSet = false;
466 bool m_volumeKmsKeyIdHasBeenSet = false;
467 bool m_vpcConfigHasBeenSet = false;
468 bool m_modeHasBeenSet = false;
469 bool m_modelKmsKeyIdHasBeenSet = false;
470 bool m_versionNameHasBeenSet = false;
471 bool m_sourceModelArnHasBeenSet = false;
472 bool m_flywheelArnHasBeenSet = false;
473};
474
475} // namespace Model
476} // namespace Comprehend
477} // namespace Aws
DocumentClassifierProperties & WithMessage(MessageT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API DocumentClassifierProperties()=default
DocumentClassifierProperties & WithOutputDataConfig(OutputDataConfigT &&value)
DocumentClassifierProperties & WithTrainingStartTime(TrainingStartTimeT &&value)
DocumentClassifierProperties & WithStatus(ModelStatus value)
DocumentClassifierProperties & WithDocumentClassifierArn(DocumentClassifierArnT &&value)
DocumentClassifierProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
DocumentClassifierProperties & WithMode(DocumentClassifierMode value)
DocumentClassifierProperties & WithVpcConfig(VpcConfigT &&value)
DocumentClassifierProperties & WithSourceModelArn(SourceModelArnT &&value)
AWS_COMPREHEND_API DocumentClassifierProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentClassifierProperties & WithClassifierMetadata(ClassifierMetadataT &&value)
DocumentClassifierProperties & WithModelKmsKeyId(ModelKmsKeyIdT &&value)
DocumentClassifierProperties & WithInputDataConfig(InputDataConfigT &&value)
DocumentClassifierProperties & WithSubmitTime(SubmitTimeT &&value)
DocumentClassifierProperties & WithLanguageCode(LanguageCode value)
DocumentClassifierProperties & WithVersionName(VersionNameT &&value)
AWS_COMPREHEND_API DocumentClassifierProperties(Aws::Utils::Json::JsonView jsonValue)
const DocumentClassifierOutputDataConfig & GetOutputDataConfig() const
DocumentClassifierProperties & WithFlywheelArn(FlywheelArnT &&value)
DocumentClassifierProperties & WithEndTime(EndTimeT &&value)
const DocumentClassifierInputDataConfig & GetInputDataConfig() const
DocumentClassifierProperties & WithTrainingEndTime(TrainingEndTimeT &&value)
DocumentClassifierProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue