AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentClassifierProperties.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/LanguageCode.h>
10#include <aws/comprehend/model/ModelStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/comprehend/model/DocumentClassifierInputDataConfig.h>
13#include <aws/comprehend/model/DocumentClassifierOutputDataConfig.h>
14#include <aws/comprehend/model/ClassifierMetadata.h>
15#include <aws/comprehend/model/VpcConfig.h>
16#include <aws/comprehend/model/DocumentClassifierMode.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Comprehend
30{
31namespace Model
32{
33
41 {
42 public:
43 AWS_COMPREHEND_API DocumentClassifierProperties();
46 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetDocumentClassifierArn() const{ return m_documentClassifierArn; }
54 inline bool DocumentClassifierArnHasBeenSet() const { return m_documentClassifierArnHasBeenSet; }
55 inline void SetDocumentClassifierArn(const Aws::String& value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn = value; }
56 inline void SetDocumentClassifierArn(Aws::String&& value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn = std::move(value); }
57 inline void SetDocumentClassifierArn(const char* value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn.assign(value); }
60 inline DocumentClassifierProperties& WithDocumentClassifierArn(const char* value) { SetDocumentClassifierArn(value); return *this;}
62
64
68 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
69 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
70 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
71 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
72 inline DocumentClassifierProperties& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
73 inline DocumentClassifierProperties& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
75
77
86 inline const ModelStatus& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const ModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(ModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline DocumentClassifierProperties& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;}
91 inline DocumentClassifierProperties& WithStatus(ModelStatus&& value) { SetStatus(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetMessage() const{ return m_message; }
99 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
100 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
101 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
102 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
103 inline DocumentClassifierProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
104 inline DocumentClassifierProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
105 inline DocumentClassifierProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
113 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
114 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
115 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
117 inline DocumentClassifierProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
125 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
126 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
127 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
128 inline DocumentClassifierProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
129 inline DocumentClassifierProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
131
133
138 inline const Aws::Utils::DateTime& GetTrainingStartTime() const{ return m_trainingStartTime; }
139 inline bool TrainingStartTimeHasBeenSet() const { return m_trainingStartTimeHasBeenSet; }
140 inline void SetTrainingStartTime(const Aws::Utils::DateTime& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = value; }
141 inline void SetTrainingStartTime(Aws::Utils::DateTime&& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = std::move(value); }
145
147
153 inline const Aws::Utils::DateTime& GetTrainingEndTime() const{ return m_trainingEndTime; }
154 inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
155 inline void SetTrainingEndTime(const Aws::Utils::DateTime& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = value; }
156 inline void SetTrainingEndTime(Aws::Utils::DateTime&& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = std::move(value); }
160
162
166 inline const DocumentClassifierInputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
167 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
168 inline void SetInputDataConfig(const DocumentClassifierInputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
169 inline void SetInputDataConfig(DocumentClassifierInputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
173
175
179 inline const DocumentClassifierOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
180 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
181 inline void SetOutputDataConfig(const DocumentClassifierOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
182 inline void SetOutputDataConfig(DocumentClassifierOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
186
188
193 inline const ClassifierMetadata& GetClassifierMetadata() const{ return m_classifierMetadata; }
194 inline bool ClassifierMetadataHasBeenSet() const { return m_classifierMetadataHasBeenSet; }
195 inline void SetClassifierMetadata(const ClassifierMetadata& value) { m_classifierMetadataHasBeenSet = true; m_classifierMetadata = value; }
196 inline void SetClassifierMetadata(ClassifierMetadata&& value) { m_classifierMetadataHasBeenSet = true; m_classifierMetadata = std::move(value); }
200
202
206 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
207 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
208 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
209 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
210 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
212 inline DocumentClassifierProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
213 inline DocumentClassifierProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
215
217
227 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
228 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
229 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
230 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
231 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
233 inline DocumentClassifierProperties& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
234 inline DocumentClassifierProperties& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
236
238
245 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
246 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
247 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
248 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
249 inline DocumentClassifierProperties& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
250 inline DocumentClassifierProperties& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
252
254
260 inline const DocumentClassifierMode& GetMode() const{ return m_mode; }
261 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
262 inline void SetMode(const DocumentClassifierMode& value) { m_modeHasBeenSet = true; m_mode = value; }
263 inline void SetMode(DocumentClassifierMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
264 inline DocumentClassifierProperties& WithMode(const DocumentClassifierMode& value) { SetMode(value); return *this;}
265 inline DocumentClassifierProperties& WithMode(DocumentClassifierMode&& value) { SetMode(std::move(value)); return *this;}
267
269
277 inline const Aws::String& GetModelKmsKeyId() const{ return m_modelKmsKeyId; }
278 inline bool ModelKmsKeyIdHasBeenSet() const { return m_modelKmsKeyIdHasBeenSet; }
279 inline void SetModelKmsKeyId(const Aws::String& value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId = value; }
280 inline void SetModelKmsKeyId(Aws::String&& value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId = std::move(value); }
281 inline void SetModelKmsKeyId(const char* value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId.assign(value); }
282 inline DocumentClassifierProperties& WithModelKmsKeyId(const Aws::String& value) { SetModelKmsKeyId(value); return *this;}
283 inline DocumentClassifierProperties& WithModelKmsKeyId(Aws::String&& value) { SetModelKmsKeyId(std::move(value)); return *this;}
284 inline DocumentClassifierProperties& WithModelKmsKeyId(const char* value) { SetModelKmsKeyId(value); return *this;}
286
288
291 inline const Aws::String& GetVersionName() const{ return m_versionName; }
292 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
293 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
294 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
295 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
296 inline DocumentClassifierProperties& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
297 inline DocumentClassifierProperties& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
298 inline DocumentClassifierProperties& WithVersionName(const char* value) { SetVersionName(value); return *this;}
300
302
307 inline const Aws::String& GetSourceModelArn() const{ return m_sourceModelArn; }
308 inline bool SourceModelArnHasBeenSet() const { return m_sourceModelArnHasBeenSet; }
309 inline void SetSourceModelArn(const Aws::String& value) { m_sourceModelArnHasBeenSet = true; m_sourceModelArn = value; }
310 inline void SetSourceModelArn(Aws::String&& value) { m_sourceModelArnHasBeenSet = true; m_sourceModelArn = std::move(value); }
311 inline void SetSourceModelArn(const char* value) { m_sourceModelArnHasBeenSet = true; m_sourceModelArn.assign(value); }
313 inline DocumentClassifierProperties& WithSourceModelArn(Aws::String&& value) { SetSourceModelArn(std::move(value)); return *this;}
314 inline DocumentClassifierProperties& WithSourceModelArn(const char* value) { SetSourceModelArn(value); return *this;}
316
318
321 inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; }
322 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
323 inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; }
324 inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); }
325 inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); }
326 inline DocumentClassifierProperties& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;}
327 inline DocumentClassifierProperties& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;}
328 inline DocumentClassifierProperties& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;}
330 private:
331
332 Aws::String m_documentClassifierArn;
333 bool m_documentClassifierArnHasBeenSet = false;
334
335 LanguageCode m_languageCode;
336 bool m_languageCodeHasBeenSet = false;
337
338 ModelStatus m_status;
339 bool m_statusHasBeenSet = false;
340
341 Aws::String m_message;
342 bool m_messageHasBeenSet = false;
343
344 Aws::Utils::DateTime m_submitTime;
345 bool m_submitTimeHasBeenSet = false;
346
347 Aws::Utils::DateTime m_endTime;
348 bool m_endTimeHasBeenSet = false;
349
350 Aws::Utils::DateTime m_trainingStartTime;
351 bool m_trainingStartTimeHasBeenSet = false;
352
353 Aws::Utils::DateTime m_trainingEndTime;
354 bool m_trainingEndTimeHasBeenSet = false;
355
356 DocumentClassifierInputDataConfig m_inputDataConfig;
357 bool m_inputDataConfigHasBeenSet = false;
358
359 DocumentClassifierOutputDataConfig m_outputDataConfig;
360 bool m_outputDataConfigHasBeenSet = false;
361
362 ClassifierMetadata m_classifierMetadata;
363 bool m_classifierMetadataHasBeenSet = false;
364
365 Aws::String m_dataAccessRoleArn;
366 bool m_dataAccessRoleArnHasBeenSet = false;
367
368 Aws::String m_volumeKmsKeyId;
369 bool m_volumeKmsKeyIdHasBeenSet = false;
370
371 VpcConfig m_vpcConfig;
372 bool m_vpcConfigHasBeenSet = false;
373
375 bool m_modeHasBeenSet = false;
376
377 Aws::String m_modelKmsKeyId;
378 bool m_modelKmsKeyIdHasBeenSet = false;
379
380 Aws::String m_versionName;
381 bool m_versionNameHasBeenSet = false;
382
383 Aws::String m_sourceModelArn;
384 bool m_sourceModelArnHasBeenSet = false;
385
386 Aws::String m_flywheelArn;
387 bool m_flywheelArnHasBeenSet = false;
388 };
389
390} // namespace Model
391} // namespace Comprehend
392} // namespace Aws
DocumentClassifierProperties & WithSourceModelArn(const Aws::String &value)
void SetInputDataConfig(const DocumentClassifierInputDataConfig &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentClassifierProperties & WithMessage(Aws::String &&value)
DocumentClassifierProperties & WithTrainingEndTime(const Aws::Utils::DateTime &value)
DocumentClassifierProperties & WithVolumeKmsKeyId(const char *value)
DocumentClassifierProperties & WithVolumeKmsKeyId(const Aws::String &value)
DocumentClassifierProperties & WithVersionName(Aws::String &&value)
void SetInputDataConfig(DocumentClassifierInputDataConfig &&value)
DocumentClassifierProperties & WithEndTime(const Aws::Utils::DateTime &value)
void SetOutputDataConfig(const DocumentClassifierOutputDataConfig &value)
DocumentClassifierProperties & WithClassifierMetadata(ClassifierMetadata &&value)
DocumentClassifierProperties & WithMessage(const char *value)
DocumentClassifierProperties & WithMode(DocumentClassifierMode &&value)
DocumentClassifierProperties & WithDataAccessRoleArn(const Aws::String &value)
DocumentClassifierProperties & WithSubmitTime(Aws::Utils::DateTime &&value)
DocumentClassifierProperties & WithFlywheelArn(const Aws::String &value)
void SetOutputDataConfig(DocumentClassifierOutputDataConfig &&value)
DocumentClassifierProperties & WithLanguageCode(const LanguageCode &value)
DocumentClassifierProperties & WithMode(const DocumentClassifierMode &value)
DocumentClassifierProperties & WithTrainingEndTime(Aws::Utils::DateTime &&value)
DocumentClassifierProperties & WithTrainingStartTime(Aws::Utils::DateTime &&value)
DocumentClassifierProperties & WithInputDataConfig(DocumentClassifierInputDataConfig &&value)
DocumentClassifierProperties & WithInputDataConfig(const DocumentClassifierInputDataConfig &value)
DocumentClassifierProperties & WithVpcConfig(const VpcConfig &value)
DocumentClassifierProperties & WithStatus(const ModelStatus &value)
DocumentClassifierProperties & WithStatus(ModelStatus &&value)
DocumentClassifierProperties & WithOutputDataConfig(DocumentClassifierOutputDataConfig &&value)
DocumentClassifierProperties & WithEndTime(Aws::Utils::DateTime &&value)
DocumentClassifierProperties & WithDocumentClassifierArn(Aws::String &&value)
DocumentClassifierProperties & WithTrainingStartTime(const Aws::Utils::DateTime &value)
DocumentClassifierProperties & WithLanguageCode(LanguageCode &&value)
DocumentClassifierProperties & WithDocumentClassifierArn(const Aws::String &value)
DocumentClassifierProperties & WithFlywheelArn(const char *value)
DocumentClassifierProperties & WithVolumeKmsKeyId(Aws::String &&value)
DocumentClassifierProperties & WithFlywheelArn(Aws::String &&value)
DocumentClassifierProperties & WithMessage(const Aws::String &value)
DocumentClassifierProperties & WithDataAccessRoleArn(Aws::String &&value)
AWS_COMPREHEND_API DocumentClassifierProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentClassifierProperties & WithSubmitTime(const Aws::Utils::DateTime &value)
DocumentClassifierProperties & WithOutputDataConfig(const DocumentClassifierOutputDataConfig &value)
DocumentClassifierProperties & WithDataAccessRoleArn(const char *value)
DocumentClassifierProperties & WithDocumentClassifierArn(const char *value)
DocumentClassifierProperties & WithVpcConfig(VpcConfig &&value)
DocumentClassifierProperties & WithModelKmsKeyId(Aws::String &&value)
DocumentClassifierProperties & WithClassifierMetadata(const ClassifierMetadata &value)
DocumentClassifierProperties & WithModelKmsKeyId(const char *value)
DocumentClassifierProperties & WithSourceModelArn(Aws::String &&value)
DocumentClassifierProperties & WithVersionName(const char *value)
DocumentClassifierProperties & WithModelKmsKeyId(const Aws::String &value)
DocumentClassifierProperties & WithSourceModelArn(const char *value)
AWS_COMPREHEND_API DocumentClassifierProperties(Aws::Utils::Json::JsonView jsonValue)
const DocumentClassifierOutputDataConfig & GetOutputDataConfig() const
DocumentClassifierProperties & WithVersionName(const Aws::String &value)
const DocumentClassifierInputDataConfig & GetInputDataConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue