AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntityRecognizerInputDataConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/EntityRecognizerDataFormat.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/comprehend/model/EntityRecognizerDocuments.h>
11#include <aws/comprehend/model/EntityRecognizerAnnotations.h>
12#include <aws/comprehend/model/EntityRecognizerEntityList.h>
13#include <aws/comprehend/model/EntityTypesListItem.h>
14#include <aws/comprehend/model/AugmentedManifestsListItem.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Comprehend
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_COMPREHEND_API EntityRecognizerInputDataConfig();
44 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
65 inline const EntityRecognizerDataFormat& GetDataFormat() const{ return m_dataFormat; }
66 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
67 inline void SetDataFormat(const EntityRecognizerDataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
68 inline void SetDataFormat(EntityRecognizerDataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); }
72
74
83 inline const Aws::Vector<EntityTypesListItem>& GetEntityTypes() const{ return m_entityTypes; }
84 inline bool EntityTypesHasBeenSet() const { return m_entityTypesHasBeenSet; }
85 inline void SetEntityTypes(const Aws::Vector<EntityTypesListItem>& value) { m_entityTypesHasBeenSet = true; m_entityTypes = value; }
86 inline void SetEntityTypes(Aws::Vector<EntityTypesListItem>&& value) { m_entityTypesHasBeenSet = true; m_entityTypes = std::move(value); }
89 inline EntityRecognizerInputDataConfig& AddEntityTypes(const EntityTypesListItem& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; }
90 inline EntityRecognizerInputDataConfig& AddEntityTypes(EntityTypesListItem&& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(std::move(value)); return *this; }
92
94
99 inline const EntityRecognizerDocuments& GetDocuments() const{ return m_documents; }
100 inline bool DocumentsHasBeenSet() const { return m_documentsHasBeenSet; }
101 inline void SetDocuments(const EntityRecognizerDocuments& value) { m_documentsHasBeenSet = true; m_documents = value; }
102 inline void SetDocuments(EntityRecognizerDocuments&& value) { m_documentsHasBeenSet = true; m_documents = std::move(value); }
104 inline EntityRecognizerInputDataConfig& WithDocuments(EntityRecognizerDocuments&& value) { SetDocuments(std::move(value)); return *this;}
106
108
111 inline const EntityRecognizerAnnotations& GetAnnotations() const{ return m_annotations; }
112 inline bool AnnotationsHasBeenSet() const { return m_annotationsHasBeenSet; }
113 inline void SetAnnotations(const EntityRecognizerAnnotations& value) { m_annotationsHasBeenSet = true; m_annotations = value; }
114 inline void SetAnnotations(EntityRecognizerAnnotations&& value) { m_annotationsHasBeenSet = true; m_annotations = std::move(value); }
118
120
124 inline const EntityRecognizerEntityList& GetEntityList() const{ return m_entityList; }
125 inline bool EntityListHasBeenSet() const { return m_entityListHasBeenSet; }
126 inline void SetEntityList(const EntityRecognizerEntityList& value) { m_entityListHasBeenSet = true; m_entityList = value; }
127 inline void SetEntityList(EntityRecognizerEntityList&& value) { m_entityListHasBeenSet = true; m_entityList = std::move(value); }
131
133
139 inline const Aws::Vector<AugmentedManifestsListItem>& GetAugmentedManifests() const{ return m_augmentedManifests; }
140 inline bool AugmentedManifestsHasBeenSet() const { return m_augmentedManifestsHasBeenSet; }
141 inline void SetAugmentedManifests(const Aws::Vector<AugmentedManifestsListItem>& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = value; }
142 inline void SetAugmentedManifests(Aws::Vector<AugmentedManifestsListItem>&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = std::move(value); }
145 inline EntityRecognizerInputDataConfig& AddAugmentedManifests(const AugmentedManifestsListItem& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.push_back(value); return *this; }
146 inline EntityRecognizerInputDataConfig& AddAugmentedManifests(AugmentedManifestsListItem&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.push_back(std::move(value)); return *this; }
148 private:
149
150 EntityRecognizerDataFormat m_dataFormat;
151 bool m_dataFormatHasBeenSet = false;
152
154 bool m_entityTypesHasBeenSet = false;
155
156 EntityRecognizerDocuments m_documents;
157 bool m_documentsHasBeenSet = false;
158
159 EntityRecognizerAnnotations m_annotations;
160 bool m_annotationsHasBeenSet = false;
161
162 EntityRecognizerEntityList m_entityList;
163 bool m_entityListHasBeenSet = false;
164
165 Aws::Vector<AugmentedManifestsListItem> m_augmentedManifests;
166 bool m_augmentedManifestsHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace Comprehend
171} // namespace Aws
EntityRecognizerInputDataConfig & WithEntityList(const EntityRecognizerEntityList &value)
EntityRecognizerInputDataConfig & AddAugmentedManifests(AugmentedManifestsListItem &&value)
EntityRecognizerInputDataConfig & AddAugmentedManifests(const AugmentedManifestsListItem &value)
EntityRecognizerInputDataConfig & AddEntityTypes(EntityTypesListItem &&value)
EntityRecognizerInputDataConfig & WithEntityList(EntityRecognizerEntityList &&value)
void SetAugmentedManifests(Aws::Vector< AugmentedManifestsListItem > &&value)
EntityRecognizerInputDataConfig & WithAugmentedManifests(Aws::Vector< AugmentedManifestsListItem > &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
EntityRecognizerInputDataConfig & WithDataFormat(EntityRecognizerDataFormat &&value)
EntityRecognizerInputDataConfig & WithDocuments(EntityRecognizerDocuments &&value)
void SetAugmentedManifests(const Aws::Vector< AugmentedManifestsListItem > &value)
void SetEntityTypes(const Aws::Vector< EntityTypesListItem > &value)
EntityRecognizerInputDataConfig & WithDocuments(const EntityRecognizerDocuments &value)
EntityRecognizerInputDataConfig & WithAugmentedManifests(const Aws::Vector< AugmentedManifestsListItem > &value)
void SetEntityTypes(Aws::Vector< EntityTypesListItem > &&value)
AWS_COMPREHEND_API EntityRecognizerInputDataConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AugmentedManifestsListItem > & GetAugmentedManifests() const
EntityRecognizerInputDataConfig & AddEntityTypes(const EntityTypesListItem &value)
EntityRecognizerInputDataConfig & WithEntityTypes(Aws::Vector< EntityTypesListItem > &&value)
AWS_COMPREHEND_API EntityRecognizerInputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityRecognizerInputDataConfig & WithAnnotations(EntityRecognizerAnnotations &&value)
EntityRecognizerInputDataConfig & WithAnnotations(const EntityRecognizerAnnotations &value)
const Aws::Vector< EntityTypesListItem > & GetEntityTypes() const
EntityRecognizerInputDataConfig & WithDataFormat(const EntityRecognizerDataFormat &value)
EntityRecognizerInputDataConfig & WithEntityTypes(const Aws::Vector< EntityTypesListItem > &value)
void SetAnnotations(const EntityRecognizerAnnotations &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue