AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EntityRecognizerProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/EntityRecognizerInputDataConfig.h>
9#include <aws/comprehend/model/EntityRecognizerMetadata.h>
10#include <aws/comprehend/model/EntityRecognizerOutputDataConfig.h>
11#include <aws/comprehend/model/LanguageCode.h>
12#include <aws/comprehend/model/ModelStatus.h>
13#include <aws/comprehend/model/VpcConfig.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Comprehend {
27namespace Model {
28
36 public:
37 AWS_COMPREHEND_API EntityRecognizerProperties() = default;
40 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetEntityRecognizerArn() const { return m_entityRecognizerArn; }
47 inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; }
48 template <typename EntityRecognizerArnT = Aws::String>
49 void SetEntityRecognizerArn(EntityRecognizerArnT&& value) {
50 m_entityRecognizerArnHasBeenSet = true;
51 m_entityRecognizerArn = std::forward<EntityRecognizerArnT>(value);
52 }
53 template <typename EntityRecognizerArnT = Aws::String>
54 EntityRecognizerProperties& WithEntityRecognizerArn(EntityRecognizerArnT&& value) {
55 SetEntityRecognizerArn(std::forward<EntityRecognizerArnT>(value));
56 return *this;
57 }
59
61
65 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
66 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
67 inline void SetLanguageCode(LanguageCode value) {
68 m_languageCodeHasBeenSet = true;
69 m_languageCode = value;
70 }
72 SetLanguageCode(value);
73 return *this;
74 }
76
78
81 inline ModelStatus GetStatus() const { return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 inline void SetStatus(ModelStatus value) {
84 m_statusHasBeenSet = true;
85 m_status = value;
86 }
88 SetStatus(value);
89 return *this;
90 }
92
94
97 inline const Aws::String& GetMessage() const { return m_message; }
98 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
99 template <typename MessageT = Aws::String>
100 void SetMessage(MessageT&& value) {
101 m_messageHasBeenSet = true;
102 m_message = std::forward<MessageT>(value);
103 }
104 template <typename MessageT = Aws::String>
106 SetMessage(std::forward<MessageT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
116 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
117 template <typename SubmitTimeT = Aws::Utils::DateTime>
118 void SetSubmitTime(SubmitTimeT&& value) {
119 m_submitTimeHasBeenSet = true;
120 m_submitTime = std::forward<SubmitTimeT>(value);
121 }
122 template <typename SubmitTimeT = Aws::Utils::DateTime>
124 SetSubmitTime(std::forward<SubmitTimeT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
134 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
135 template <typename EndTimeT = Aws::Utils::DateTime>
136 void SetEndTime(EndTimeT&& value) {
137 m_endTimeHasBeenSet = true;
138 m_endTime = std::forward<EndTimeT>(value);
139 }
140 template <typename EndTimeT = Aws::Utils::DateTime>
142 SetEndTime(std::forward<EndTimeT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetTrainingStartTime() const { return m_trainingStartTime; }
152 inline bool TrainingStartTimeHasBeenSet() const { return m_trainingStartTimeHasBeenSet; }
153 template <typename TrainingStartTimeT = Aws::Utils::DateTime>
154 void SetTrainingStartTime(TrainingStartTimeT&& value) {
155 m_trainingStartTimeHasBeenSet = true;
156 m_trainingStartTime = std::forward<TrainingStartTimeT>(value);
157 }
158 template <typename TrainingStartTimeT = Aws::Utils::DateTime>
160 SetTrainingStartTime(std::forward<TrainingStartTimeT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Utils::DateTime& GetTrainingEndTime() const { return m_trainingEndTime; }
170 inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
171 template <typename TrainingEndTimeT = Aws::Utils::DateTime>
172 void SetTrainingEndTime(TrainingEndTimeT&& value) {
173 m_trainingEndTimeHasBeenSet = true;
174 m_trainingEndTime = std::forward<TrainingEndTimeT>(value);
175 }
176 template <typename TrainingEndTimeT = Aws::Utils::DateTime>
178 SetTrainingEndTime(std::forward<TrainingEndTimeT>(value));
179 return *this;
180 }
182
184
187 inline const EntityRecognizerInputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
188 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
189 template <typename InputDataConfigT = EntityRecognizerInputDataConfig>
190 void SetInputDataConfig(InputDataConfigT&& value) {
191 m_inputDataConfigHasBeenSet = true;
192 m_inputDataConfig = std::forward<InputDataConfigT>(value);
193 }
194 template <typename InputDataConfigT = EntityRecognizerInputDataConfig>
196 SetInputDataConfig(std::forward<InputDataConfigT>(value));
197 return *this;
198 }
200
202
205 inline const EntityRecognizerMetadata& GetRecognizerMetadata() const { return m_recognizerMetadata; }
206 inline bool RecognizerMetadataHasBeenSet() const { return m_recognizerMetadataHasBeenSet; }
207 template <typename RecognizerMetadataT = EntityRecognizerMetadata>
208 void SetRecognizerMetadata(RecognizerMetadataT&& value) {
209 m_recognizerMetadataHasBeenSet = true;
210 m_recognizerMetadata = std::forward<RecognizerMetadataT>(value);
211 }
212 template <typename RecognizerMetadataT = EntityRecognizerMetadata>
214 SetRecognizerMetadata(std::forward<RecognizerMetadataT>(value));
215 return *this;
216 }
218
220
224 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
225 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
226 template <typename DataAccessRoleArnT = Aws::String>
227 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
228 m_dataAccessRoleArnHasBeenSet = true;
229 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
230 }
231 template <typename DataAccessRoleArnT = Aws::String>
233 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
234 return *this;
235 }
237
239
249 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
250 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
251 template <typename VolumeKmsKeyIdT = Aws::String>
252 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
253 m_volumeKmsKeyIdHasBeenSet = true;
254 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
255 }
256 template <typename VolumeKmsKeyIdT = Aws::String>
258 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
259 return *this;
260 }
262
264
271 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
272 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
273 template <typename VpcConfigT = VpcConfig>
274 void SetVpcConfig(VpcConfigT&& value) {
275 m_vpcConfigHasBeenSet = true;
276 m_vpcConfig = std::forward<VpcConfigT>(value);
277 }
278 template <typename VpcConfigT = VpcConfig>
280 SetVpcConfig(std::forward<VpcConfigT>(value));
281 return *this;
282 }
284
286
294 inline const Aws::String& GetModelKmsKeyId() const { return m_modelKmsKeyId; }
295 inline bool ModelKmsKeyIdHasBeenSet() const { return m_modelKmsKeyIdHasBeenSet; }
296 template <typename ModelKmsKeyIdT = Aws::String>
297 void SetModelKmsKeyId(ModelKmsKeyIdT&& value) {
298 m_modelKmsKeyIdHasBeenSet = true;
299 m_modelKmsKeyId = std::forward<ModelKmsKeyIdT>(value);
300 }
301 template <typename ModelKmsKeyIdT = Aws::String>
303 SetModelKmsKeyId(std::forward<ModelKmsKeyIdT>(value));
304 return *this;
305 }
307
309
312 inline const Aws::String& GetVersionName() const { return m_versionName; }
313 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
314 template <typename VersionNameT = Aws::String>
315 void SetVersionName(VersionNameT&& value) {
316 m_versionNameHasBeenSet = true;
317 m_versionName = std::forward<VersionNameT>(value);
318 }
319 template <typename VersionNameT = Aws::String>
321 SetVersionName(std::forward<VersionNameT>(value));
322 return *this;
323 }
325
327
332 inline const Aws::String& GetSourceModelArn() const { return m_sourceModelArn; }
333 inline bool SourceModelArnHasBeenSet() const { return m_sourceModelArnHasBeenSet; }
334 template <typename SourceModelArnT = Aws::String>
335 void SetSourceModelArn(SourceModelArnT&& value) {
336 m_sourceModelArnHasBeenSet = true;
337 m_sourceModelArn = std::forward<SourceModelArnT>(value);
338 }
339 template <typename SourceModelArnT = Aws::String>
341 SetSourceModelArn(std::forward<SourceModelArnT>(value));
342 return *this;
343 }
345
347
350 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
351 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
352 template <typename FlywheelArnT = Aws::String>
353 void SetFlywheelArn(FlywheelArnT&& value) {
354 m_flywheelArnHasBeenSet = true;
355 m_flywheelArn = std::forward<FlywheelArnT>(value);
356 }
357 template <typename FlywheelArnT = Aws::String>
359 SetFlywheelArn(std::forward<FlywheelArnT>(value));
360 return *this;
361 }
363
365
368 inline const EntityRecognizerOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
369 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
370 template <typename OutputDataConfigT = EntityRecognizerOutputDataConfig>
371 void SetOutputDataConfig(OutputDataConfigT&& value) {
372 m_outputDataConfigHasBeenSet = true;
373 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
374 }
375 template <typename OutputDataConfigT = EntityRecognizerOutputDataConfig>
377 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
378 return *this;
379 }
381 private:
382 Aws::String m_entityRecognizerArn;
383
384 LanguageCode m_languageCode{LanguageCode::NOT_SET};
385
387
388 Aws::String m_message;
389
390 Aws::Utils::DateTime m_submitTime{};
391
392 Aws::Utils::DateTime m_endTime{};
393
394 Aws::Utils::DateTime m_trainingStartTime{};
395
396 Aws::Utils::DateTime m_trainingEndTime{};
397
398 EntityRecognizerInputDataConfig m_inputDataConfig;
399
400 EntityRecognizerMetadata m_recognizerMetadata;
401
402 Aws::String m_dataAccessRoleArn;
403
404 Aws::String m_volumeKmsKeyId;
405
406 VpcConfig m_vpcConfig;
407
408 Aws::String m_modelKmsKeyId;
409
410 Aws::String m_versionName;
411
412 Aws::String m_sourceModelArn;
413
414 Aws::String m_flywheelArn;
415
416 EntityRecognizerOutputDataConfig m_outputDataConfig;
417 bool m_entityRecognizerArnHasBeenSet = false;
418 bool m_languageCodeHasBeenSet = false;
419 bool m_statusHasBeenSet = false;
420 bool m_messageHasBeenSet = false;
421 bool m_submitTimeHasBeenSet = false;
422 bool m_endTimeHasBeenSet = false;
423 bool m_trainingStartTimeHasBeenSet = false;
424 bool m_trainingEndTimeHasBeenSet = false;
425 bool m_inputDataConfigHasBeenSet = false;
426 bool m_recognizerMetadataHasBeenSet = false;
427 bool m_dataAccessRoleArnHasBeenSet = false;
428 bool m_volumeKmsKeyIdHasBeenSet = false;
429 bool m_vpcConfigHasBeenSet = false;
430 bool m_modelKmsKeyIdHasBeenSet = false;
431 bool m_versionNameHasBeenSet = false;
432 bool m_sourceModelArnHasBeenSet = false;
433 bool m_flywheelArnHasBeenSet = false;
434 bool m_outputDataConfigHasBeenSet = false;
435};
436
437} // namespace Model
438} // namespace Comprehend
439} // namespace Aws
AWS_COMPREHEND_API EntityRecognizerProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityRecognizerProperties & WithInputDataConfig(InputDataConfigT &&value)
EntityRecognizerProperties & WithEntityRecognizerArn(EntityRecognizerArnT &&value)
EntityRecognizerProperties & WithEndTime(EndTimeT &&value)
EntityRecognizerProperties & WithOutputDataConfig(OutputDataConfigT &&value)
AWS_COMPREHEND_API EntityRecognizerProperties()=default
EntityRecognizerProperties & WithSourceModelArn(SourceModelArnT &&value)
EntityRecognizerProperties & WithMessage(MessageT &&value)
EntityRecognizerProperties & WithVersionName(VersionNameT &&value)
EntityRecognizerProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
EntityRecognizerProperties & WithVpcConfig(VpcConfigT &&value)
EntityRecognizerProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
EntityRecognizerProperties & WithStatus(ModelStatus value)
EntityRecognizerProperties & WithLanguageCode(LanguageCode value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
const EntityRecognizerOutputDataConfig & GetOutputDataConfig() const
AWS_COMPREHEND_API EntityRecognizerProperties(Aws::Utils::Json::JsonView jsonValue)
EntityRecognizerProperties & WithModelKmsKeyId(ModelKmsKeyIdT &&value)
const EntityRecognizerInputDataConfig & GetInputDataConfig() const
EntityRecognizerProperties & WithTrainingEndTime(TrainingEndTimeT &&value)
EntityRecognizerProperties & WithRecognizerMetadata(RecognizerMetadataT &&value)
const EntityRecognizerMetadata & GetRecognizerMetadata() const
EntityRecognizerProperties & WithFlywheelArn(FlywheelArnT &&value)
EntityRecognizerProperties & WithTrainingStartTime(TrainingStartTimeT &&value)
EntityRecognizerProperties & WithSubmitTime(SubmitTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue