AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntityRecognizerProperties.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/EntityRecognizerInputDataConfig.h>
13#include <aws/comprehend/model/EntityRecognizerMetadata.h>
14#include <aws/comprehend/model/VpcConfig.h>
15#include <aws/comprehend/model/EntityRecognizerOutputDataConfig.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Comprehend
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_COMPREHEND_API EntityRecognizerProperties();
45 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetEntityRecognizerArn() const{ return m_entityRecognizerArn; }
53 inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; }
54 inline void SetEntityRecognizerArn(const Aws::String& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = value; }
55 inline void SetEntityRecognizerArn(Aws::String&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::move(value); }
56 inline void SetEntityRecognizerArn(const char* value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn.assign(value); }
58 inline EntityRecognizerProperties& WithEntityRecognizerArn(Aws::String&& value) { SetEntityRecognizerArn(std::move(value)); return *this;}
59 inline EntityRecognizerProperties& WithEntityRecognizerArn(const char* value) { SetEntityRecognizerArn(value); return *this;}
61
63
67 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
68 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
69 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
70 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
71 inline EntityRecognizerProperties& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
72 inline EntityRecognizerProperties& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
74
76
79 inline const ModelStatus& GetStatus() const{ return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(const ModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
82 inline void SetStatus(ModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
83 inline EntityRecognizerProperties& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;}
84 inline EntityRecognizerProperties& WithStatus(ModelStatus&& value) { SetStatus(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetMessage() const{ return m_message; }
92 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
93 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
94 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
95 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
96 inline EntityRecognizerProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
97 inline EntityRecognizerProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
98 inline EntityRecognizerProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
106 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
107 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
108 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
110 inline EntityRecognizerProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
118 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
119 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
120 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
121 inline EntityRecognizerProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
122 inline EntityRecognizerProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetTrainingStartTime() const{ return m_trainingStartTime; }
130 inline bool TrainingStartTimeHasBeenSet() const { return m_trainingStartTimeHasBeenSet; }
131 inline void SetTrainingStartTime(const Aws::Utils::DateTime& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = value; }
132 inline void SetTrainingStartTime(Aws::Utils::DateTime&& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = std::move(value); }
136
138
141 inline const Aws::Utils::DateTime& GetTrainingEndTime() const{ return m_trainingEndTime; }
142 inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
143 inline void SetTrainingEndTime(const Aws::Utils::DateTime& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = value; }
144 inline void SetTrainingEndTime(Aws::Utils::DateTime&& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = std::move(value); }
148
150
153 inline const EntityRecognizerInputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
154 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
155 inline void SetInputDataConfig(const EntityRecognizerInputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
156 inline void SetInputDataConfig(EntityRecognizerInputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
160
162
165 inline const EntityRecognizerMetadata& GetRecognizerMetadata() const{ return m_recognizerMetadata; }
166 inline bool RecognizerMetadataHasBeenSet() const { return m_recognizerMetadataHasBeenSet; }
167 inline void SetRecognizerMetadata(const EntityRecognizerMetadata& value) { m_recognizerMetadataHasBeenSet = true; m_recognizerMetadata = value; }
168 inline void SetRecognizerMetadata(EntityRecognizerMetadata&& value) { m_recognizerMetadataHasBeenSet = true; m_recognizerMetadata = std::move(value); }
172
174
178 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
179 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
180 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
181 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
182 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
184 inline EntityRecognizerProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
185 inline EntityRecognizerProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
187
189
199 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
200 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
201 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
202 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
203 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
204 inline EntityRecognizerProperties& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
205 inline EntityRecognizerProperties& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
206 inline EntityRecognizerProperties& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
208
210
217 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
218 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
219 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
220 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
221 inline EntityRecognizerProperties& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
222 inline EntityRecognizerProperties& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
224
226
234 inline const Aws::String& GetModelKmsKeyId() const{ return m_modelKmsKeyId; }
235 inline bool ModelKmsKeyIdHasBeenSet() const { return m_modelKmsKeyIdHasBeenSet; }
236 inline void SetModelKmsKeyId(const Aws::String& value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId = value; }
237 inline void SetModelKmsKeyId(Aws::String&& value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId = std::move(value); }
238 inline void SetModelKmsKeyId(const char* value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId.assign(value); }
239 inline EntityRecognizerProperties& WithModelKmsKeyId(const Aws::String& value) { SetModelKmsKeyId(value); return *this;}
240 inline EntityRecognizerProperties& WithModelKmsKeyId(Aws::String&& value) { SetModelKmsKeyId(std::move(value)); return *this;}
241 inline EntityRecognizerProperties& WithModelKmsKeyId(const char* value) { SetModelKmsKeyId(value); return *this;}
243
245
248 inline const Aws::String& GetVersionName() const{ return m_versionName; }
249 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
250 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
251 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
252 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
253 inline EntityRecognizerProperties& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
254 inline EntityRecognizerProperties& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
255 inline EntityRecognizerProperties& WithVersionName(const char* value) { SetVersionName(value); return *this;}
257
259
264 inline const Aws::String& GetSourceModelArn() const{ return m_sourceModelArn; }
265 inline bool SourceModelArnHasBeenSet() const { return m_sourceModelArnHasBeenSet; }
266 inline void SetSourceModelArn(const Aws::String& value) { m_sourceModelArnHasBeenSet = true; m_sourceModelArn = value; }
267 inline void SetSourceModelArn(Aws::String&& value) { m_sourceModelArnHasBeenSet = true; m_sourceModelArn = std::move(value); }
268 inline void SetSourceModelArn(const char* value) { m_sourceModelArnHasBeenSet = true; m_sourceModelArn.assign(value); }
269 inline EntityRecognizerProperties& WithSourceModelArn(const Aws::String& value) { SetSourceModelArn(value); return *this;}
270 inline EntityRecognizerProperties& WithSourceModelArn(Aws::String&& value) { SetSourceModelArn(std::move(value)); return *this;}
271 inline EntityRecognizerProperties& WithSourceModelArn(const char* value) { SetSourceModelArn(value); return *this;}
273
275
278 inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; }
279 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
280 inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; }
281 inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); }
282 inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); }
283 inline EntityRecognizerProperties& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;}
284 inline EntityRecognizerProperties& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;}
285 inline EntityRecognizerProperties& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;}
287
289
292 inline const EntityRecognizerOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
293 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
294 inline void SetOutputDataConfig(const EntityRecognizerOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
295 inline void SetOutputDataConfig(EntityRecognizerOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
299 private:
300
301 Aws::String m_entityRecognizerArn;
302 bool m_entityRecognizerArnHasBeenSet = false;
303
304 LanguageCode m_languageCode;
305 bool m_languageCodeHasBeenSet = false;
306
307 ModelStatus m_status;
308 bool m_statusHasBeenSet = false;
309
310 Aws::String m_message;
311 bool m_messageHasBeenSet = false;
312
313 Aws::Utils::DateTime m_submitTime;
314 bool m_submitTimeHasBeenSet = false;
315
316 Aws::Utils::DateTime m_endTime;
317 bool m_endTimeHasBeenSet = false;
318
319 Aws::Utils::DateTime m_trainingStartTime;
320 bool m_trainingStartTimeHasBeenSet = false;
321
322 Aws::Utils::DateTime m_trainingEndTime;
323 bool m_trainingEndTimeHasBeenSet = false;
324
325 EntityRecognizerInputDataConfig m_inputDataConfig;
326 bool m_inputDataConfigHasBeenSet = false;
327
328 EntityRecognizerMetadata m_recognizerMetadata;
329 bool m_recognizerMetadataHasBeenSet = false;
330
331 Aws::String m_dataAccessRoleArn;
332 bool m_dataAccessRoleArnHasBeenSet = false;
333
334 Aws::String m_volumeKmsKeyId;
335 bool m_volumeKmsKeyIdHasBeenSet = false;
336
337 VpcConfig m_vpcConfig;
338 bool m_vpcConfigHasBeenSet = false;
339
340 Aws::String m_modelKmsKeyId;
341 bool m_modelKmsKeyIdHasBeenSet = false;
342
343 Aws::String m_versionName;
344 bool m_versionNameHasBeenSet = false;
345
346 Aws::String m_sourceModelArn;
347 bool m_sourceModelArnHasBeenSet = false;
348
349 Aws::String m_flywheelArn;
350 bool m_flywheelArnHasBeenSet = false;
351
352 EntityRecognizerOutputDataConfig m_outputDataConfig;
353 bool m_outputDataConfigHasBeenSet = false;
354 };
355
356} // namespace Model
357} // namespace Comprehend
358} // namespace Aws
EntityRecognizerProperties & WithTrainingEndTime(Aws::Utils::DateTime &&value)
EntityRecognizerProperties & WithVolumeKmsKeyId(const char *value)
EntityRecognizerProperties & WithDataAccessRoleArn(const Aws::String &value)
AWS_COMPREHEND_API EntityRecognizerProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityRecognizerProperties & WithEntityRecognizerArn(const Aws::String &value)
EntityRecognizerProperties & WithVolumeKmsKeyId(const Aws::String &value)
EntityRecognizerProperties & WithLanguageCode(LanguageCode &&value)
EntityRecognizerProperties & WithFlywheelArn(const Aws::String &value)
void SetRecognizerMetadata(const EntityRecognizerMetadata &value)
void SetOutputDataConfig(EntityRecognizerOutputDataConfig &&value)
void SetInputDataConfig(const EntityRecognizerInputDataConfig &value)
void SetTrainingEndTime(const Aws::Utils::DateTime &value)
EntityRecognizerProperties & WithRecognizerMetadata(EntityRecognizerMetadata &&value)
EntityRecognizerProperties & WithVersionName(const Aws::String &value)
EntityRecognizerProperties & WithModelKmsKeyId(const Aws::String &value)
EntityRecognizerProperties & WithMessage(Aws::String &&value)
EntityRecognizerProperties & WithModelKmsKeyId(Aws::String &&value)
EntityRecognizerProperties & WithSourceModelArn(const Aws::String &value)
EntityRecognizerProperties & WithEndTime(Aws::Utils::DateTime &&value)
EntityRecognizerProperties & WithVersionName(const char *value)
EntityRecognizerProperties & WithOutputDataConfig(const EntityRecognizerOutputDataConfig &value)
EntityRecognizerProperties & WithInputDataConfig(EntityRecognizerInputDataConfig &&value)
EntityRecognizerProperties & WithVolumeKmsKeyId(Aws::String &&value)
EntityRecognizerProperties & WithLanguageCode(const LanguageCode &value)
EntityRecognizerProperties & WithMessage(const char *value)
void SetInputDataConfig(EntityRecognizerInputDataConfig &&value)
EntityRecognizerProperties & WithTrainingEndTime(const Aws::Utils::DateTime &value)
EntityRecognizerProperties & WithStatus(ModelStatus &&value)
EntityRecognizerProperties & WithSubmitTime(Aws::Utils::DateTime &&value)
EntityRecognizerProperties & WithVpcConfig(VpcConfig &&value)
EntityRecognizerProperties & WithSourceModelArn(Aws::String &&value)
EntityRecognizerProperties & WithFlywheelArn(Aws::String &&value)
EntityRecognizerProperties & WithMessage(const Aws::String &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
EntityRecognizerProperties & WithOutputDataConfig(EntityRecognizerOutputDataConfig &&value)
const EntityRecognizerOutputDataConfig & GetOutputDataConfig() const
EntityRecognizerProperties & WithSubmitTime(const Aws::Utils::DateTime &value)
AWS_COMPREHEND_API EntityRecognizerProperties(Aws::Utils::Json::JsonView jsonValue)
EntityRecognizerProperties & WithRecognizerMetadata(const EntityRecognizerMetadata &value)
EntityRecognizerProperties & WithInputDataConfig(const EntityRecognizerInputDataConfig &value)
EntityRecognizerProperties & WithFlywheelArn(const char *value)
EntityRecognizerProperties & WithDataAccessRoleArn(const char *value)
EntityRecognizerProperties & WithSourceModelArn(const char *value)
EntityRecognizerProperties & WithModelKmsKeyId(const char *value)
EntityRecognizerProperties & WithDataAccessRoleArn(Aws::String &&value)
void SetTrainingStartTime(const Aws::Utils::DateTime &value)
EntityRecognizerProperties & WithEndTime(const Aws::Utils::DateTime &value)
const EntityRecognizerInputDataConfig & GetInputDataConfig() const
void SetRecognizerMetadata(EntityRecognizerMetadata &&value)
EntityRecognizerProperties & WithTrainingStartTime(const Aws::Utils::DateTime &value)
EntityRecognizerProperties & WithStatus(const ModelStatus &value)
EntityRecognizerProperties & WithTrainingStartTime(Aws::Utils::DateTime &&value)
EntityRecognizerProperties & WithEntityRecognizerArn(Aws::String &&value)
EntityRecognizerProperties & WithEntityRecognizerArn(const char *value)
const EntityRecognizerMetadata & GetRecognizerMetadata() const
EntityRecognizerProperties & WithVpcConfig(const VpcConfig &value)
EntityRecognizerProperties & WithVersionName(Aws::String &&value)
void SetOutputDataConfig(const EntityRecognizerOutputDataConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue