AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DatasetEntityRecognizerInputDataConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/DatasetEntityRecognizerAnnotations.h>
9#include <aws/comprehend/model/DatasetEntityRecognizerDocuments.h>
10#include <aws/comprehend/model/DatasetEntityRecognizerEntityList.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Comprehend
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_COMPREHEND_API DatasetEntityRecognizerInputDataConfig() = default;
41 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const DatasetEntityRecognizerAnnotations& GetAnnotations() const { return m_annotations; }
50 inline bool AnnotationsHasBeenSet() const { return m_annotationsHasBeenSet; }
51 template<typename AnnotationsT = DatasetEntityRecognizerAnnotations>
52 void SetAnnotations(AnnotationsT&& value) { m_annotationsHasBeenSet = true; m_annotations = std::forward<AnnotationsT>(value); }
53 template<typename AnnotationsT = DatasetEntityRecognizerAnnotations>
54 DatasetEntityRecognizerInputDataConfig& WithAnnotations(AnnotationsT&& value) { SetAnnotations(std::forward<AnnotationsT>(value)); return *this;}
56
58
62 inline const DatasetEntityRecognizerDocuments& GetDocuments() const { return m_documents; }
63 inline bool DocumentsHasBeenSet() const { return m_documentsHasBeenSet; }
64 template<typename DocumentsT = DatasetEntityRecognizerDocuments>
65 void SetDocuments(DocumentsT&& value) { m_documentsHasBeenSet = true; m_documents = std::forward<DocumentsT>(value); }
66 template<typename DocumentsT = DatasetEntityRecognizerDocuments>
67 DatasetEntityRecognizerInputDataConfig& WithDocuments(DocumentsT&& value) { SetDocuments(std::forward<DocumentsT>(value)); return *this;}
69
71
74 inline const DatasetEntityRecognizerEntityList& GetEntityList() const { return m_entityList; }
75 inline bool EntityListHasBeenSet() const { return m_entityListHasBeenSet; }
76 template<typename EntityListT = DatasetEntityRecognizerEntityList>
77 void SetEntityList(EntityListT&& value) { m_entityListHasBeenSet = true; m_entityList = std::forward<EntityListT>(value); }
78 template<typename EntityListT = DatasetEntityRecognizerEntityList>
79 DatasetEntityRecognizerInputDataConfig& WithEntityList(EntityListT&& value) { SetEntityList(std::forward<EntityListT>(value)); return *this;}
81 private:
82
84 bool m_annotationsHasBeenSet = false;
85
87 bool m_documentsHasBeenSet = false;
88
90 bool m_entityListHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Comprehend
95} // namespace Aws
DatasetEntityRecognizerInputDataConfig & WithEntityList(EntityListT &&value)
AWS_COMPREHEND_API DatasetEntityRecognizerInputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetEntityRecognizerInputDataConfig & WithDocuments(DocumentsT &&value)
DatasetEntityRecognizerInputDataConfig & WithAnnotations(AnnotationsT &&value)
AWS_COMPREHEND_API DatasetEntityRecognizerInputDataConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue