AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename EntityRecognizerArnT = Aws::String>
55 void SetEntityRecognizerArn(EntityRecognizerArnT&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::forward<EntityRecognizerArnT>(value); }
56 template<typename EntityRecognizerArnT = Aws::String>
57 EntityRecognizerProperties& WithEntityRecognizerArn(EntityRecognizerArnT&& value) { SetEntityRecognizerArn(std::forward<EntityRecognizerArnT>(value)); return *this;}
59
61
65 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
66 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
67 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
70
72
75 inline ModelStatus GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(ModelStatus value) { m_statusHasBeenSet = true; m_status = value; }
78 inline EntityRecognizerProperties& WithStatus(ModelStatus value) { SetStatus(value); return *this;}
80
82
85 inline const Aws::String& GetMessage() const { return m_message; }
86 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
87 template<typename MessageT = Aws::String>
88 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
89 template<typename MessageT = Aws::String>
90 EntityRecognizerProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
98 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
99 template<typename SubmitTimeT = Aws::Utils::DateTime>
100 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
101 template<typename SubmitTimeT = Aws::Utils::DateTime>
102 EntityRecognizerProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
110 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
111 template<typename EndTimeT = Aws::Utils::DateTime>
112 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
113 template<typename EndTimeT = Aws::Utils::DateTime>
114 EntityRecognizerProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetTrainingStartTime() const { return m_trainingStartTime; }
122 inline bool TrainingStartTimeHasBeenSet() const { return m_trainingStartTimeHasBeenSet; }
123 template<typename TrainingStartTimeT = Aws::Utils::DateTime>
124 void SetTrainingStartTime(TrainingStartTimeT&& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = std::forward<TrainingStartTimeT>(value); }
125 template<typename TrainingStartTimeT = Aws::Utils::DateTime>
126 EntityRecognizerProperties& WithTrainingStartTime(TrainingStartTimeT&& value) { SetTrainingStartTime(std::forward<TrainingStartTimeT>(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetTrainingEndTime() const { return m_trainingEndTime; }
134 inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
135 template<typename TrainingEndTimeT = Aws::Utils::DateTime>
136 void SetTrainingEndTime(TrainingEndTimeT&& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = std::forward<TrainingEndTimeT>(value); }
137 template<typename TrainingEndTimeT = Aws::Utils::DateTime>
138 EntityRecognizerProperties& WithTrainingEndTime(TrainingEndTimeT&& value) { SetTrainingEndTime(std::forward<TrainingEndTimeT>(value)); return *this;}
140
142
145 inline const EntityRecognizerInputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
146 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
147 template<typename InputDataConfigT = EntityRecognizerInputDataConfig>
148 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
149 template<typename InputDataConfigT = EntityRecognizerInputDataConfig>
150 EntityRecognizerProperties& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
152
154
157 inline const EntityRecognizerMetadata& GetRecognizerMetadata() const { return m_recognizerMetadata; }
158 inline bool RecognizerMetadataHasBeenSet() const { return m_recognizerMetadataHasBeenSet; }
159 template<typename RecognizerMetadataT = EntityRecognizerMetadata>
160 void SetRecognizerMetadata(RecognizerMetadataT&& value) { m_recognizerMetadataHasBeenSet = true; m_recognizerMetadata = std::forward<RecognizerMetadataT>(value); }
161 template<typename RecognizerMetadataT = EntityRecognizerMetadata>
162 EntityRecognizerProperties& WithRecognizerMetadata(RecognizerMetadataT&& value) { SetRecognizerMetadata(std::forward<RecognizerMetadataT>(value)); return *this;}
164
166
170 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
171 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
172 template<typename DataAccessRoleArnT = Aws::String>
173 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
174 template<typename DataAccessRoleArnT = Aws::String>
175 EntityRecognizerProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
177
179
189 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
190 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
191 template<typename VolumeKmsKeyIdT = Aws::String>
192 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
193 template<typename VolumeKmsKeyIdT = Aws::String>
194 EntityRecognizerProperties& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
196
198
205 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
206 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
207 template<typename VpcConfigT = VpcConfig>
208 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
209 template<typename VpcConfigT = VpcConfig>
210 EntityRecognizerProperties& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
212
214
222 inline const Aws::String& GetModelKmsKeyId() const { return m_modelKmsKeyId; }
223 inline bool ModelKmsKeyIdHasBeenSet() const { return m_modelKmsKeyIdHasBeenSet; }
224 template<typename ModelKmsKeyIdT = Aws::String>
225 void SetModelKmsKeyId(ModelKmsKeyIdT&& value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId = std::forward<ModelKmsKeyIdT>(value); }
226 template<typename ModelKmsKeyIdT = Aws::String>
227 EntityRecognizerProperties& WithModelKmsKeyId(ModelKmsKeyIdT&& value) { SetModelKmsKeyId(std::forward<ModelKmsKeyIdT>(value)); return *this;}
229
231
234 inline const Aws::String& GetVersionName() const { return m_versionName; }
235 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
236 template<typename VersionNameT = Aws::String>
237 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
238 template<typename VersionNameT = Aws::String>
239 EntityRecognizerProperties& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
241
243
248 inline const Aws::String& GetSourceModelArn() const { return m_sourceModelArn; }
249 inline bool SourceModelArnHasBeenSet() const { return m_sourceModelArnHasBeenSet; }
250 template<typename SourceModelArnT = Aws::String>
251 void SetSourceModelArn(SourceModelArnT&& value) { m_sourceModelArnHasBeenSet = true; m_sourceModelArn = std::forward<SourceModelArnT>(value); }
252 template<typename SourceModelArnT = Aws::String>
253 EntityRecognizerProperties& WithSourceModelArn(SourceModelArnT&& value) { SetSourceModelArn(std::forward<SourceModelArnT>(value)); return *this;}
255
257
260 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
261 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
262 template<typename FlywheelArnT = Aws::String>
263 void SetFlywheelArn(FlywheelArnT&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::forward<FlywheelArnT>(value); }
264 template<typename FlywheelArnT = Aws::String>
265 EntityRecognizerProperties& WithFlywheelArn(FlywheelArnT&& value) { SetFlywheelArn(std::forward<FlywheelArnT>(value)); return *this;}
267
269
272 inline const EntityRecognizerOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
273 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
274 template<typename OutputDataConfigT = EntityRecognizerOutputDataConfig>
275 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
276 template<typename OutputDataConfigT = EntityRecognizerOutputDataConfig>
277 EntityRecognizerProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
279 private:
280
281 Aws::String m_entityRecognizerArn;
282 bool m_entityRecognizerArnHasBeenSet = false;
283
284 LanguageCode m_languageCode{LanguageCode::NOT_SET};
285 bool m_languageCodeHasBeenSet = false;
286
288 bool m_statusHasBeenSet = false;
289
290 Aws::String m_message;
291 bool m_messageHasBeenSet = false;
292
293 Aws::Utils::DateTime m_submitTime{};
294 bool m_submitTimeHasBeenSet = false;
295
296 Aws::Utils::DateTime m_endTime{};
297 bool m_endTimeHasBeenSet = false;
298
299 Aws::Utils::DateTime m_trainingStartTime{};
300 bool m_trainingStartTimeHasBeenSet = false;
301
302 Aws::Utils::DateTime m_trainingEndTime{};
303 bool m_trainingEndTimeHasBeenSet = false;
304
305 EntityRecognizerInputDataConfig m_inputDataConfig;
306 bool m_inputDataConfigHasBeenSet = false;
307
308 EntityRecognizerMetadata m_recognizerMetadata;
309 bool m_recognizerMetadataHasBeenSet = false;
310
311 Aws::String m_dataAccessRoleArn;
312 bool m_dataAccessRoleArnHasBeenSet = false;
313
314 Aws::String m_volumeKmsKeyId;
315 bool m_volumeKmsKeyIdHasBeenSet = false;
316
317 VpcConfig m_vpcConfig;
318 bool m_vpcConfigHasBeenSet = false;
319
320 Aws::String m_modelKmsKeyId;
321 bool m_modelKmsKeyIdHasBeenSet = false;
322
323 Aws::String m_versionName;
324 bool m_versionNameHasBeenSet = false;
325
326 Aws::String m_sourceModelArn;
327 bool m_sourceModelArnHasBeenSet = false;
328
329 Aws::String m_flywheelArn;
330 bool m_flywheelArnHasBeenSet = false;
331
332 EntityRecognizerOutputDataConfig m_outputDataConfig;
333 bool m_outputDataConfigHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace Comprehend
338} // 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