AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename DocumentClassifierArnT = Aws::String>
56 void SetDocumentClassifierArn(DocumentClassifierArnT&& value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn = std::forward<DocumentClassifierArnT>(value); }
57 template<typename DocumentClassifierArnT = Aws::String>
58 DocumentClassifierProperties& WithDocumentClassifierArn(DocumentClassifierArnT&& value) { SetDocumentClassifierArn(std::forward<DocumentClassifierArnT>(value)); return *this;}
60
62
66 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
67 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
68 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
71
73
82 inline ModelStatus GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(ModelStatus value) { m_statusHasBeenSet = true; m_status = value; }
85 inline DocumentClassifierProperties& WithStatus(ModelStatus value) { SetStatus(value); return *this;}
87
89
92 inline const Aws::String& GetMessage() const { return m_message; }
93 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
94 template<typename MessageT = Aws::String>
95 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
96 template<typename MessageT = Aws::String>
97 DocumentClassifierProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
105 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
106 template<typename SubmitTimeT = Aws::Utils::DateTime>
107 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
108 template<typename SubmitTimeT = Aws::Utils::DateTime>
109 DocumentClassifierProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
117 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
118 template<typename EndTimeT = Aws::Utils::DateTime>
119 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
120 template<typename EndTimeT = Aws::Utils::DateTime>
121 DocumentClassifierProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
123
125
130 inline const Aws::Utils::DateTime& GetTrainingStartTime() const { return m_trainingStartTime; }
131 inline bool TrainingStartTimeHasBeenSet() const { return m_trainingStartTimeHasBeenSet; }
132 template<typename TrainingStartTimeT = Aws::Utils::DateTime>
133 void SetTrainingStartTime(TrainingStartTimeT&& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = std::forward<TrainingStartTimeT>(value); }
134 template<typename TrainingStartTimeT = Aws::Utils::DateTime>
135 DocumentClassifierProperties& WithTrainingStartTime(TrainingStartTimeT&& value) { SetTrainingStartTime(std::forward<TrainingStartTimeT>(value)); return *this;}
137
139
145 inline const Aws::Utils::DateTime& GetTrainingEndTime() const { return m_trainingEndTime; }
146 inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
147 template<typename TrainingEndTimeT = Aws::Utils::DateTime>
148 void SetTrainingEndTime(TrainingEndTimeT&& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = std::forward<TrainingEndTimeT>(value); }
149 template<typename TrainingEndTimeT = Aws::Utils::DateTime>
150 DocumentClassifierProperties& WithTrainingEndTime(TrainingEndTimeT&& value) { SetTrainingEndTime(std::forward<TrainingEndTimeT>(value)); return *this;}
152
154
158 inline const DocumentClassifierInputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
159 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
160 template<typename InputDataConfigT = DocumentClassifierInputDataConfig>
161 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
162 template<typename InputDataConfigT = DocumentClassifierInputDataConfig>
163 DocumentClassifierProperties& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
165
167
171 inline const DocumentClassifierOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
172 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
173 template<typename OutputDataConfigT = DocumentClassifierOutputDataConfig>
174 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
175 template<typename OutputDataConfigT = DocumentClassifierOutputDataConfig>
176 DocumentClassifierProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
178
180
185 inline const ClassifierMetadata& GetClassifierMetadata() const { return m_classifierMetadata; }
186 inline bool ClassifierMetadataHasBeenSet() const { return m_classifierMetadataHasBeenSet; }
187 template<typename ClassifierMetadataT = ClassifierMetadata>
188 void SetClassifierMetadata(ClassifierMetadataT&& value) { m_classifierMetadataHasBeenSet = true; m_classifierMetadata = std::forward<ClassifierMetadataT>(value); }
189 template<typename ClassifierMetadataT = ClassifierMetadata>
190 DocumentClassifierProperties& WithClassifierMetadata(ClassifierMetadataT&& value) { SetClassifierMetadata(std::forward<ClassifierMetadataT>(value)); return *this;}
192
194
198 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
199 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
200 template<typename DataAccessRoleArnT = Aws::String>
201 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
202 template<typename DataAccessRoleArnT = Aws::String>
203 DocumentClassifierProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
205
207
217 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
218 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
219 template<typename VolumeKmsKeyIdT = Aws::String>
220 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
221 template<typename VolumeKmsKeyIdT = Aws::String>
222 DocumentClassifierProperties& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
224
226
233 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
234 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
235 template<typename VpcConfigT = VpcConfig>
236 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
237 template<typename VpcConfigT = VpcConfig>
238 DocumentClassifierProperties& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
240
242
248 inline DocumentClassifierMode GetMode() const { return m_mode; }
249 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
250 inline void SetMode(DocumentClassifierMode value) { m_modeHasBeenSet = true; m_mode = value; }
253
255
263 inline const Aws::String& GetModelKmsKeyId() const { return m_modelKmsKeyId; }
264 inline bool ModelKmsKeyIdHasBeenSet() const { return m_modelKmsKeyIdHasBeenSet; }
265 template<typename ModelKmsKeyIdT = Aws::String>
266 void SetModelKmsKeyId(ModelKmsKeyIdT&& value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId = std::forward<ModelKmsKeyIdT>(value); }
267 template<typename ModelKmsKeyIdT = Aws::String>
268 DocumentClassifierProperties& WithModelKmsKeyId(ModelKmsKeyIdT&& value) { SetModelKmsKeyId(std::forward<ModelKmsKeyIdT>(value)); return *this;}
270
272
275 inline const Aws::String& GetVersionName() const { return m_versionName; }
276 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
277 template<typename VersionNameT = Aws::String>
278 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
279 template<typename VersionNameT = Aws::String>
280 DocumentClassifierProperties& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
282
284
289 inline const Aws::String& GetSourceModelArn() const { return m_sourceModelArn; }
290 inline bool SourceModelArnHasBeenSet() const { return m_sourceModelArnHasBeenSet; }
291 template<typename SourceModelArnT = Aws::String>
292 void SetSourceModelArn(SourceModelArnT&& value) { m_sourceModelArnHasBeenSet = true; m_sourceModelArn = std::forward<SourceModelArnT>(value); }
293 template<typename SourceModelArnT = Aws::String>
294 DocumentClassifierProperties& WithSourceModelArn(SourceModelArnT&& value) { SetSourceModelArn(std::forward<SourceModelArnT>(value)); return *this;}
296
298
301 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
302 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
303 template<typename FlywheelArnT = Aws::String>
304 void SetFlywheelArn(FlywheelArnT&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::forward<FlywheelArnT>(value); }
305 template<typename FlywheelArnT = Aws::String>
306 DocumentClassifierProperties& WithFlywheelArn(FlywheelArnT&& value) { SetFlywheelArn(std::forward<FlywheelArnT>(value)); return *this;}
308 private:
309
310 Aws::String m_documentClassifierArn;
311 bool m_documentClassifierArnHasBeenSet = false;
312
313 LanguageCode m_languageCode{LanguageCode::NOT_SET};
314 bool m_languageCodeHasBeenSet = false;
315
317 bool m_statusHasBeenSet = false;
318
319 Aws::String m_message;
320 bool m_messageHasBeenSet = false;
321
322 Aws::Utils::DateTime m_submitTime{};
323 bool m_submitTimeHasBeenSet = false;
324
325 Aws::Utils::DateTime m_endTime{};
326 bool m_endTimeHasBeenSet = false;
327
328 Aws::Utils::DateTime m_trainingStartTime{};
329 bool m_trainingStartTimeHasBeenSet = false;
330
331 Aws::Utils::DateTime m_trainingEndTime{};
332 bool m_trainingEndTimeHasBeenSet = false;
333
334 DocumentClassifierInputDataConfig m_inputDataConfig;
335 bool m_inputDataConfigHasBeenSet = false;
336
337 DocumentClassifierOutputDataConfig m_outputDataConfig;
338 bool m_outputDataConfigHasBeenSet = false;
339
340 ClassifierMetadata m_classifierMetadata;
341 bool m_classifierMetadataHasBeenSet = false;
342
343 Aws::String m_dataAccessRoleArn;
344 bool m_dataAccessRoleArnHasBeenSet = false;
345
346 Aws::String m_volumeKmsKeyId;
347 bool m_volumeKmsKeyIdHasBeenSet = false;
348
349 VpcConfig m_vpcConfig;
350 bool m_vpcConfigHasBeenSet = false;
351
353 bool m_modeHasBeenSet = false;
354
355 Aws::String m_modelKmsKeyId;
356 bool m_modelKmsKeyIdHasBeenSet = false;
357
358 Aws::String m_versionName;
359 bool m_versionNameHasBeenSet = false;
360
361 Aws::String m_sourceModelArn;
362 bool m_sourceModelArnHasBeenSet = false;
363
364 Aws::String m_flywheelArn;
365 bool m_flywheelArnHasBeenSet = false;
366 };
367
368} // namespace Model
369} // namespace Comprehend
370} // 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