AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DatasetInputDataConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/comprehend/model/DatasetDataFormat.h>
10#include <aws/comprehend/model/DatasetDocumentClassifierInputDataConfig.h>
11#include <aws/comprehend/model/DatasetEntityRecognizerInputDataConfig.h>
12#include <aws/comprehend/model/DatasetAugmentedManifestsListItem.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Comprehend
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_COMPREHEND_API DatasetInputDataConfig() = default;
42 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::Vector<DatasetAugmentedManifestsListItem>& GetAugmentedManifests() const { return m_augmentedManifests; }
52 inline bool AugmentedManifestsHasBeenSet() const { return m_augmentedManifestsHasBeenSet; }
53 template<typename AugmentedManifestsT = Aws::Vector<DatasetAugmentedManifestsListItem>>
54 void SetAugmentedManifests(AugmentedManifestsT&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = std::forward<AugmentedManifestsT>(value); }
55 template<typename AugmentedManifestsT = Aws::Vector<DatasetAugmentedManifestsListItem>>
56 DatasetInputDataConfig& WithAugmentedManifests(AugmentedManifestsT&& value) { SetAugmentedManifests(std::forward<AugmentedManifestsT>(value)); return *this;}
57 template<typename AugmentedManifestsT = DatasetAugmentedManifestsListItem>
58 DatasetInputDataConfig& AddAugmentedManifests(AugmentedManifestsT&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.emplace_back(std::forward<AugmentedManifestsT>(value)); return *this; }
60
62
67 inline DatasetDataFormat GetDataFormat() const { return m_dataFormat; }
68 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
69 inline void SetDataFormat(DatasetDataFormat value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
72
74
80 inline const DatasetDocumentClassifierInputDataConfig& GetDocumentClassifierInputDataConfig() const { return m_documentClassifierInputDataConfig; }
81 inline bool DocumentClassifierInputDataConfigHasBeenSet() const { return m_documentClassifierInputDataConfigHasBeenSet; }
82 template<typename DocumentClassifierInputDataConfigT = DatasetDocumentClassifierInputDataConfig>
83 void SetDocumentClassifierInputDataConfig(DocumentClassifierInputDataConfigT&& value) { m_documentClassifierInputDataConfigHasBeenSet = true; m_documentClassifierInputDataConfig = std::forward<DocumentClassifierInputDataConfigT>(value); }
84 template<typename DocumentClassifierInputDataConfigT = DatasetDocumentClassifierInputDataConfig>
85 DatasetInputDataConfig& WithDocumentClassifierInputDataConfig(DocumentClassifierInputDataConfigT&& value) { SetDocumentClassifierInputDataConfig(std::forward<DocumentClassifierInputDataConfigT>(value)); return *this;}
87
89
92 inline const DatasetEntityRecognizerInputDataConfig& GetEntityRecognizerInputDataConfig() const { return m_entityRecognizerInputDataConfig; }
93 inline bool EntityRecognizerInputDataConfigHasBeenSet() const { return m_entityRecognizerInputDataConfigHasBeenSet; }
94 template<typename EntityRecognizerInputDataConfigT = DatasetEntityRecognizerInputDataConfig>
95 void SetEntityRecognizerInputDataConfig(EntityRecognizerInputDataConfigT&& value) { m_entityRecognizerInputDataConfigHasBeenSet = true; m_entityRecognizerInputDataConfig = std::forward<EntityRecognizerInputDataConfigT>(value); }
96 template<typename EntityRecognizerInputDataConfigT = DatasetEntityRecognizerInputDataConfig>
97 DatasetInputDataConfig& WithEntityRecognizerInputDataConfig(EntityRecognizerInputDataConfigT&& value) { SetEntityRecognizerInputDataConfig(std::forward<EntityRecognizerInputDataConfigT>(value)); return *this;}
99 private:
100
102 bool m_augmentedManifestsHasBeenSet = false;
103
105 bool m_dataFormatHasBeenSet = false;
106
107 DatasetDocumentClassifierInputDataConfig m_documentClassifierInputDataConfig;
108 bool m_documentClassifierInputDataConfigHasBeenSet = false;
109
110 DatasetEntityRecognizerInputDataConfig m_entityRecognizerInputDataConfig;
111 bool m_entityRecognizerInputDataConfigHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Comprehend
116} // namespace Aws
DatasetInputDataConfig & WithAugmentedManifests(AugmentedManifestsT &&value)
DatasetInputDataConfig & WithDataFormat(DatasetDataFormat value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetInputDataConfig & WithDocumentClassifierInputDataConfig(DocumentClassifierInputDataConfigT &&value)
void SetDocumentClassifierInputDataConfig(DocumentClassifierInputDataConfigT &&value)
const DatasetDocumentClassifierInputDataConfig & GetDocumentClassifierInputDataConfig() const
const DatasetEntityRecognizerInputDataConfig & GetEntityRecognizerInputDataConfig() const
AWS_COMPREHEND_API DatasetInputDataConfig()=default
DatasetInputDataConfig & AddAugmentedManifests(AugmentedManifestsT &&value)
DatasetInputDataConfig & WithEntityRecognizerInputDataConfig(EntityRecognizerInputDataConfigT &&value)
void SetEntityRecognizerInputDataConfig(EntityRecognizerInputDataConfigT &&value)
const Aws::Vector< DatasetAugmentedManifestsListItem > & GetAugmentedManifests() const
AWS_COMPREHEND_API DatasetInputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAugmentedManifests(AugmentedManifestsT &&value)
AWS_COMPREHEND_API DatasetInputDataConfig(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue