AWS SDK for C++  1.9.132
AWS SDK for C++
EntityRecognizerInputDataConfig.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace Comprehend
28 {
29 namespace Model
30 {
31 
39  {
40  public:
45 
46 
64  inline const EntityRecognizerDataFormat& GetDataFormat() const{ return m_dataFormat; }
65 
83  inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
84 
102  inline void SetDataFormat(const EntityRecognizerDataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
103 
121  inline void SetDataFormat(EntityRecognizerDataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); }
122 
140  inline EntityRecognizerInputDataConfig& WithDataFormat(const EntityRecognizerDataFormat& value) { SetDataFormat(value); return *this;}
141 
159  inline EntityRecognizerInputDataConfig& WithDataFormat(EntityRecognizerDataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
160 
161 
171  inline const Aws::Vector<EntityTypesListItem>& GetEntityTypes() const{ return m_entityTypes; }
172 
182  inline bool EntityTypesHasBeenSet() const { return m_entityTypesHasBeenSet; }
183 
193  inline void SetEntityTypes(const Aws::Vector<EntityTypesListItem>& value) { m_entityTypesHasBeenSet = true; m_entityTypes = value; }
194 
204  inline void SetEntityTypes(Aws::Vector<EntityTypesListItem>&& value) { m_entityTypesHasBeenSet = true; m_entityTypes = std::move(value); }
205 
215  inline EntityRecognizerInputDataConfig& WithEntityTypes(const Aws::Vector<EntityTypesListItem>& value) { SetEntityTypes(value); return *this;}
216 
226  inline EntityRecognizerInputDataConfig& WithEntityTypes(Aws::Vector<EntityTypesListItem>&& value) { SetEntityTypes(std::move(value)); return *this;}
227 
237  inline EntityRecognizerInputDataConfig& AddEntityTypes(const EntityTypesListItem& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; }
238 
248  inline EntityRecognizerInputDataConfig& AddEntityTypes(EntityTypesListItem&& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(std::move(value)); return *this; }
249 
250 
256  inline const EntityRecognizerDocuments& GetDocuments() const{ return m_documents; }
257 
263  inline bool DocumentsHasBeenSet() const { return m_documentsHasBeenSet; }
264 
270  inline void SetDocuments(const EntityRecognizerDocuments& value) { m_documentsHasBeenSet = true; m_documents = value; }
271 
277  inline void SetDocuments(EntityRecognizerDocuments&& value) { m_documentsHasBeenSet = true; m_documents = std::move(value); }
278 
284  inline EntityRecognizerInputDataConfig& WithDocuments(const EntityRecognizerDocuments& value) { SetDocuments(value); return *this;}
285 
291  inline EntityRecognizerInputDataConfig& WithDocuments(EntityRecognizerDocuments&& value) { SetDocuments(std::move(value)); return *this;}
292 
293 
297  inline const EntityRecognizerAnnotations& GetAnnotations() const{ return m_annotations; }
298 
302  inline bool AnnotationsHasBeenSet() const { return m_annotationsHasBeenSet; }
303 
307  inline void SetAnnotations(const EntityRecognizerAnnotations& value) { m_annotationsHasBeenSet = true; m_annotations = value; }
308 
312  inline void SetAnnotations(EntityRecognizerAnnotations&& value) { m_annotationsHasBeenSet = true; m_annotations = std::move(value); }
313 
317  inline EntityRecognizerInputDataConfig& WithAnnotations(const EntityRecognizerAnnotations& value) { SetAnnotations(value); return *this;}
318 
322  inline EntityRecognizerInputDataConfig& WithAnnotations(EntityRecognizerAnnotations&& value) { SetAnnotations(std::move(value)); return *this;}
323 
324 
329  inline const EntityRecognizerEntityList& GetEntityList() const{ return m_entityList; }
330 
335  inline bool EntityListHasBeenSet() const { return m_entityListHasBeenSet; }
336 
341  inline void SetEntityList(const EntityRecognizerEntityList& value) { m_entityListHasBeenSet = true; m_entityList = value; }
342 
347  inline void SetEntityList(EntityRecognizerEntityList&& value) { m_entityListHasBeenSet = true; m_entityList = std::move(value); }
348 
353  inline EntityRecognizerInputDataConfig& WithEntityList(const EntityRecognizerEntityList& value) { SetEntityList(value); return *this;}
354 
359  inline EntityRecognizerInputDataConfig& WithEntityList(EntityRecognizerEntityList&& value) { SetEntityList(std::move(value)); return *this;}
360 
361 
368  inline const Aws::Vector<AugmentedManifestsListItem>& GetAugmentedManifests() const{ return m_augmentedManifests; }
369 
376  inline bool AugmentedManifestsHasBeenSet() const { return m_augmentedManifestsHasBeenSet; }
377 
384  inline void SetAugmentedManifests(const Aws::Vector<AugmentedManifestsListItem>& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = value; }
385 
392  inline void SetAugmentedManifests(Aws::Vector<AugmentedManifestsListItem>&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = std::move(value); }
393 
400  inline EntityRecognizerInputDataConfig& WithAugmentedManifests(const Aws::Vector<AugmentedManifestsListItem>& value) { SetAugmentedManifests(value); return *this;}
401 
408  inline EntityRecognizerInputDataConfig& WithAugmentedManifests(Aws::Vector<AugmentedManifestsListItem>&& value) { SetAugmentedManifests(std::move(value)); return *this;}
409 
416  inline EntityRecognizerInputDataConfig& AddAugmentedManifests(const AugmentedManifestsListItem& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.push_back(value); return *this; }
417 
424  inline EntityRecognizerInputDataConfig& AddAugmentedManifests(AugmentedManifestsListItem&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.push_back(std::move(value)); return *this; }
425 
426  private:
427 
428  EntityRecognizerDataFormat m_dataFormat;
429  bool m_dataFormatHasBeenSet;
430 
431  Aws::Vector<EntityTypesListItem> m_entityTypes;
432  bool m_entityTypesHasBeenSet;
433 
434  EntityRecognizerDocuments m_documents;
435  bool m_documentsHasBeenSet;
436 
437  EntityRecognizerAnnotations m_annotations;
438  bool m_annotationsHasBeenSet;
439 
440  EntityRecognizerEntityList m_entityList;
441  bool m_entityListHasBeenSet;
442 
443  Aws::Vector<AugmentedManifestsListItem> m_augmentedManifests;
444  bool m_augmentedManifestsHasBeenSet;
445  };
446 
447 } // namespace Model
448 } // namespace Comprehend
449 } // namespace Aws
Aws::Comprehend::Model::EntityRecognizerInputDataConfig
Definition: EntityRecognizerInputDataConfig.h:39
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetAugmentedManifests
void SetAugmentedManifests(const Aws::Vector< AugmentedManifestsListItem > &value)
Definition: EntityRecognizerInputDataConfig.h:384
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetEntityTypes
void SetEntityTypes(const Aws::Vector< EntityTypesListItem > &value)
Definition: EntityRecognizerInputDataConfig.h:193
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::DocumentsHasBeenSet
bool DocumentsHasBeenSet() const
Definition: EntityRecognizerInputDataConfig.h:263
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetEntityList
void SetEntityList(const EntityRecognizerEntityList &value)
Definition: EntityRecognizerInputDataConfig.h:341
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::operator=
EntityRecognizerInputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetAugmentedManifests
void SetAugmentedManifests(Aws::Vector< AugmentedManifestsListItem > &&value)
Definition: EntityRecognizerInputDataConfig.h:392
AugmentedManifestsListItem.h
Aws::Comprehend::Model::AugmentedManifestsListItem
Definition: AugmentedManifestsListItem.h:37
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithDocuments
EntityRecognizerInputDataConfig & WithDocuments(const EntityRecognizerDocuments &value)
Definition: EntityRecognizerInputDataConfig.h:284
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithDataFormat
EntityRecognizerInputDataConfig & WithDataFormat(const EntityRecognizerDataFormat &value)
Definition: EntityRecognizerInputDataConfig.h:140
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::AddEntityTypes
EntityRecognizerInputDataConfig & AddEntityTypes(const EntityTypesListItem &value)
Definition: EntityRecognizerInputDataConfig.h:237
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithDataFormat
EntityRecognizerInputDataConfig & WithDataFormat(EntityRecognizerDataFormat &&value)
Definition: EntityRecognizerInputDataConfig.h:159
EntityRecognizerEntityList.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithAnnotations
EntityRecognizerInputDataConfig & WithAnnotations(const EntityRecognizerAnnotations &value)
Definition: EntityRecognizerInputDataConfig.h:317
Aws::Comprehend::Model::EntityRecognizerAnnotations
Definition: EntityRecognizerAnnotations.h:33
AWSVector.h
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::DataFormatHasBeenSet
bool DataFormatHasBeenSet() const
Definition: EntityRecognizerInputDataConfig.h:83
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetDocuments
void SetDocuments(const EntityRecognizerDocuments &value)
Definition: EntityRecognizerInputDataConfig.h:270
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::GetDocuments
const EntityRecognizerDocuments & GetDocuments() const
Definition: EntityRecognizerInputDataConfig.h:256
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithEntityTypes
EntityRecognizerInputDataConfig & WithEntityTypes(const Aws::Vector< EntityTypesListItem > &value)
Definition: EntityRecognizerInputDataConfig.h:215
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithAugmentedManifests
EntityRecognizerInputDataConfig & WithAugmentedManifests(const Aws::Vector< AugmentedManifestsListItem > &value)
Definition: EntityRecognizerInputDataConfig.h:400
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithEntityList
EntityRecognizerInputDataConfig & WithEntityList(const EntityRecognizerEntityList &value)
Definition: EntityRecognizerInputDataConfig.h:353
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithDocuments
EntityRecognizerInputDataConfig & WithDocuments(EntityRecognizerDocuments &&value)
Definition: EntityRecognizerInputDataConfig.h:291
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithAnnotations
EntityRecognizerInputDataConfig & WithAnnotations(EntityRecognizerAnnotations &&value)
Definition: EntityRecognizerInputDataConfig.h:322
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithEntityTypes
EntityRecognizerInputDataConfig & WithEntityTypes(Aws::Vector< EntityTypesListItem > &&value)
Definition: EntityRecognizerInputDataConfig.h:226
Aws::Comprehend::Model::EntityRecognizerEntityList
Definition: EntityRecognizerEntityList.h:33
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::GetAnnotations
const EntityRecognizerAnnotations & GetAnnotations() const
Definition: EntityRecognizerInputDataConfig.h:297
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::EntityTypesHasBeenSet
bool EntityTypesHasBeenSet() const
Definition: EntityRecognizerInputDataConfig.h:182
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::EntityRecognizerInputDataConfig
EntityRecognizerInputDataConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::GetEntityTypes
const Aws::Vector< EntityTypesListItem > & GetEntityTypes() const
Definition: EntityRecognizerInputDataConfig.h:171
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::GetEntityList
const EntityRecognizerEntityList & GetEntityList() const
Definition: EntityRecognizerInputDataConfig.h:329
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetDocuments
void SetDocuments(EntityRecognizerDocuments &&value)
Definition: EntityRecognizerInputDataConfig.h:277
Aws::Comprehend::Model::EntityRecognizerDocuments
Definition: EntityRecognizerDocuments.h:34
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithEntityList
EntityRecognizerInputDataConfig & WithEntityList(EntityRecognizerEntityList &&value)
Definition: EntityRecognizerInputDataConfig.h:359
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetDataFormat
void SetDataFormat(EntityRecognizerDataFormat &&value)
Definition: EntityRecognizerInputDataConfig.h:121
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetEntityTypes
void SetEntityTypes(Aws::Vector< EntityTypesListItem > &&value)
Definition: EntityRecognizerInputDataConfig.h:204
Aws::Comprehend::Model::EntityTypesListItem
Definition: EntityTypesListItem.h:33
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::WithAugmentedManifests
EntityRecognizerInputDataConfig & WithAugmentedManifests(Aws::Vector< AugmentedManifestsListItem > &&value)
Definition: EntityRecognizerInputDataConfig.h:408
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetDataFormat
void SetDataFormat(const EntityRecognizerDataFormat &value)
Definition: EntityRecognizerInputDataConfig.h:102
EntityRecognizerDocuments.h
Aws::Comprehend::Model::EntityRecognizerDataFormat
EntityRecognizerDataFormat
Definition: EntityRecognizerDataFormat.h:17
Comprehend_EXPORTS.h
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetEntityList
void SetEntityList(EntityRecognizerEntityList &&value)
Definition: EntityRecognizerInputDataConfig.h:347
Aws
Definition: AccessManagementClient.h:15
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::EntityListHasBeenSet
bool EntityListHasBeenSet() const
Definition: EntityRecognizerInputDataConfig.h:335
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::AddAugmentedManifests
EntityRecognizerInputDataConfig & AddAugmentedManifests(AugmentedManifestsListItem &&value)
Definition: EntityRecognizerInputDataConfig.h:424
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::EntityRecognizerInputDataConfig
EntityRecognizerInputDataConfig()
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::AddAugmentedManifests
EntityRecognizerInputDataConfig & AddAugmentedManifests(const AugmentedManifestsListItem &value)
Definition: EntityRecognizerInputDataConfig.h:416
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetAnnotations
void SetAnnotations(const EntityRecognizerAnnotations &value)
Definition: EntityRecognizerInputDataConfig.h:307
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::AnnotationsHasBeenSet
bool AnnotationsHasBeenSet() const
Definition: EntityRecognizerInputDataConfig.h:302
EntityTypesListItem.h
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::GetDataFormat
const EntityRecognizerDataFormat & GetDataFormat() const
Definition: EntityRecognizerInputDataConfig.h:64
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::AugmentedManifestsHasBeenSet
bool AugmentedManifestsHasBeenSet() const
Definition: EntityRecognizerInputDataConfig.h:376
EntityRecognizerAnnotations.h
EntityRecognizerDataFormat.h
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::GetAugmentedManifests
const Aws::Vector< AugmentedManifestsListItem > & GetAugmentedManifests() const
Definition: EntityRecognizerInputDataConfig.h:368
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::AddEntityTypes
EntityRecognizerInputDataConfig & AddEntityTypes(EntityTypesListItem &&value)
Definition: EntityRecognizerInputDataConfig.h:248
Aws::Comprehend::Model::EntityRecognizerInputDataConfig::SetAnnotations
void SetAnnotations(EntityRecognizerAnnotations &&value)
Definition: EntityRecognizerInputDataConfig.h:312