AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAugmentedManifests(const Aws::Vector<DatasetAugmentedManifestsListItem>& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = value; }
54 inline void SetAugmentedManifests(Aws::Vector<DatasetAugmentedManifestsListItem>&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = std::move(value); }
57 inline DatasetInputDataConfig& AddAugmentedManifests(const DatasetAugmentedManifestsListItem& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.push_back(value); return *this; }
58 inline DatasetInputDataConfig& AddAugmentedManifests(DatasetAugmentedManifestsListItem&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.push_back(std::move(value)); return *this; }
60
62
67 inline const DatasetDataFormat& GetDataFormat() const{ return m_dataFormat; }
68 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
69 inline void SetDataFormat(const DatasetDataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
70 inline void SetDataFormat(DatasetDataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); }
71 inline DatasetInputDataConfig& WithDataFormat(const DatasetDataFormat& value) { SetDataFormat(value); return *this;}
72 inline DatasetInputDataConfig& WithDataFormat(DatasetDataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
74
76
82 inline const DatasetDocumentClassifierInputDataConfig& GetDocumentClassifierInputDataConfig() const{ return m_documentClassifierInputDataConfig; }
83 inline bool DocumentClassifierInputDataConfigHasBeenSet() const { return m_documentClassifierInputDataConfigHasBeenSet; }
84 inline void SetDocumentClassifierInputDataConfig(const DatasetDocumentClassifierInputDataConfig& value) { m_documentClassifierInputDataConfigHasBeenSet = true; m_documentClassifierInputDataConfig = value; }
85 inline void SetDocumentClassifierInputDataConfig(DatasetDocumentClassifierInputDataConfig&& value) { m_documentClassifierInputDataConfigHasBeenSet = true; m_documentClassifierInputDataConfig = std::move(value); }
89
91
94 inline const DatasetEntityRecognizerInputDataConfig& GetEntityRecognizerInputDataConfig() const{ return m_entityRecognizerInputDataConfig; }
95 inline bool EntityRecognizerInputDataConfigHasBeenSet() const { return m_entityRecognizerInputDataConfigHasBeenSet; }
96 inline void SetEntityRecognizerInputDataConfig(const DatasetEntityRecognizerInputDataConfig& value) { m_entityRecognizerInputDataConfigHasBeenSet = true; m_entityRecognizerInputDataConfig = value; }
97 inline void SetEntityRecognizerInputDataConfig(DatasetEntityRecognizerInputDataConfig&& value) { m_entityRecognizerInputDataConfigHasBeenSet = true; m_entityRecognizerInputDataConfig = std::move(value); }
101 private:
102
104 bool m_augmentedManifestsHasBeenSet = false;
105
106 DatasetDataFormat m_dataFormat;
107 bool m_dataFormatHasBeenSet = false;
108
109 DatasetDocumentClassifierInputDataConfig m_documentClassifierInputDataConfig;
110 bool m_documentClassifierInputDataConfigHasBeenSet = false;
111
112 DatasetEntityRecognizerInputDataConfig m_entityRecognizerInputDataConfig;
113 bool m_entityRecognizerInputDataConfigHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Comprehend
118} // namespace Aws
void SetDocumentClassifierInputDataConfig(const DatasetDocumentClassifierInputDataConfig &value)
void SetEntityRecognizerInputDataConfig(DatasetEntityRecognizerInputDataConfig &&value)
DatasetInputDataConfig & WithEntityRecognizerInputDataConfig(const DatasetEntityRecognizerInputDataConfig &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetInputDataConfig & WithEntityRecognizerInputDataConfig(DatasetEntityRecognizerInputDataConfig &&value)
DatasetInputDataConfig & WithDocumentClassifierInputDataConfig(DatasetDocumentClassifierInputDataConfig &&value)
const DatasetDocumentClassifierInputDataConfig & GetDocumentClassifierInputDataConfig() const
const DatasetEntityRecognizerInputDataConfig & GetEntityRecognizerInputDataConfig() const
void SetAugmentedManifests(const Aws::Vector< DatasetAugmentedManifestsListItem > &value)
DatasetInputDataConfig & WithAugmentedManifests(Aws::Vector< DatasetAugmentedManifestsListItem > &&value)
DatasetInputDataConfig & WithDataFormat(DatasetDataFormat &&value)
DatasetInputDataConfig & WithDataFormat(const DatasetDataFormat &value)
DatasetInputDataConfig & AddAugmentedManifests(const DatasetAugmentedManifestsListItem &value)
DatasetInputDataConfig & WithDocumentClassifierInputDataConfig(const DatasetDocumentClassifierInputDataConfig &value)
void SetDataFormat(const DatasetDataFormat &value)
DatasetInputDataConfig & AddAugmentedManifests(DatasetAugmentedManifestsListItem &&value)
void SetAugmentedManifests(Aws::Vector< DatasetAugmentedManifestsListItem > &&value)
const Aws::Vector< DatasetAugmentedManifestsListItem > & GetAugmentedManifests() const
DatasetInputDataConfig & WithAugmentedManifests(const Aws::Vector< DatasetAugmentedManifestsListItem > &value)
void SetDocumentClassifierInputDataConfig(DatasetDocumentClassifierInputDataConfig &&value)
void SetEntityRecognizerInputDataConfig(const DatasetEntityRecognizerInputDataConfig &value)
AWS_COMPREHEND_API DatasetInputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API DatasetInputDataConfig(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue