AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DocumentClassifierInputDataConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/DocumentClassifierDataFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/comprehend/model/DocumentClassifierDocumentTypeFormat.h>
12#include <aws/comprehend/model/DocumentClassifierDocuments.h>
13#include <aws/comprehend/model/DocumentReaderConfig.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
42 {
43 public:
44 AWS_COMPREHEND_API DocumentClassifierInputDataConfig() = default;
47 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
64 inline DocumentClassifierDataFormat GetDataFormat() const { return m_dataFormat; }
65 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
66 inline void SetDataFormat(DocumentClassifierDataFormat value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
69
71
81 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
82 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
83 template<typename S3UriT = Aws::String>
84 void SetS3Uri(S3UriT&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::forward<S3UriT>(value); }
85 template<typename S3UriT = Aws::String>
86 DocumentClassifierInputDataConfig& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
88
90
95 inline const Aws::String& GetTestS3Uri() const { return m_testS3Uri; }
96 inline bool TestS3UriHasBeenSet() const { return m_testS3UriHasBeenSet; }
97 template<typename TestS3UriT = Aws::String>
98 void SetTestS3Uri(TestS3UriT&& value) { m_testS3UriHasBeenSet = true; m_testS3Uri = std::forward<TestS3UriT>(value); }
99 template<typename TestS3UriT = Aws::String>
100 DocumentClassifierInputDataConfig& WithTestS3Uri(TestS3UriT&& value) { SetTestS3Uri(std::forward<TestS3UriT>(value)); return *this;}
102
104
113 inline const Aws::String& GetLabelDelimiter() const { return m_labelDelimiter; }
114 inline bool LabelDelimiterHasBeenSet() const { return m_labelDelimiterHasBeenSet; }
115 template<typename LabelDelimiterT = Aws::String>
116 void SetLabelDelimiter(LabelDelimiterT&& value) { m_labelDelimiterHasBeenSet = true; m_labelDelimiter = std::forward<LabelDelimiterT>(value); }
117 template<typename LabelDelimiterT = Aws::String>
118 DocumentClassifierInputDataConfig& WithLabelDelimiter(LabelDelimiterT&& value) { SetLabelDelimiter(std::forward<LabelDelimiterT>(value)); return *this;}
120
122
128 inline const Aws::Vector<AugmentedManifestsListItem>& GetAugmentedManifests() const { return m_augmentedManifests; }
129 inline bool AugmentedManifestsHasBeenSet() const { return m_augmentedManifestsHasBeenSet; }
130 template<typename AugmentedManifestsT = Aws::Vector<AugmentedManifestsListItem>>
131 void SetAugmentedManifests(AugmentedManifestsT&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = std::forward<AugmentedManifestsT>(value); }
132 template<typename AugmentedManifestsT = Aws::Vector<AugmentedManifestsListItem>>
133 DocumentClassifierInputDataConfig& WithAugmentedManifests(AugmentedManifestsT&& value) { SetAugmentedManifests(std::forward<AugmentedManifestsT>(value)); return *this;}
134 template<typename AugmentedManifestsT = AugmentedManifestsListItem>
135 DocumentClassifierInputDataConfig& AddAugmentedManifests(AugmentedManifestsT&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.emplace_back(std::forward<AugmentedManifestsT>(value)); return *this; }
137
139
144 inline DocumentClassifierDocumentTypeFormat GetDocumentType() const { return m_documentType; }
145 inline bool DocumentTypeHasBeenSet() const { return m_documentTypeHasBeenSet; }
146 inline void SetDocumentType(DocumentClassifierDocumentTypeFormat value) { m_documentTypeHasBeenSet = true; m_documentType = value; }
149
151
155 inline const DocumentClassifierDocuments& GetDocuments() const { return m_documents; }
156 inline bool DocumentsHasBeenSet() const { return m_documentsHasBeenSet; }
157 template<typename DocumentsT = DocumentClassifierDocuments>
158 void SetDocuments(DocumentsT&& value) { m_documentsHasBeenSet = true; m_documents = std::forward<DocumentsT>(value); }
159 template<typename DocumentsT = DocumentClassifierDocuments>
160 DocumentClassifierInputDataConfig& WithDocuments(DocumentsT&& value) { SetDocuments(std::forward<DocumentsT>(value)); return *this;}
162
164
165 inline const DocumentReaderConfig& GetDocumentReaderConfig() const { return m_documentReaderConfig; }
166 inline bool DocumentReaderConfigHasBeenSet() const { return m_documentReaderConfigHasBeenSet; }
167 template<typename DocumentReaderConfigT = DocumentReaderConfig>
168 void SetDocumentReaderConfig(DocumentReaderConfigT&& value) { m_documentReaderConfigHasBeenSet = true; m_documentReaderConfig = std::forward<DocumentReaderConfigT>(value); }
169 template<typename DocumentReaderConfigT = DocumentReaderConfig>
170 DocumentClassifierInputDataConfig& WithDocumentReaderConfig(DocumentReaderConfigT&& value) { SetDocumentReaderConfig(std::forward<DocumentReaderConfigT>(value)); return *this;}
172 private:
173
175 bool m_dataFormatHasBeenSet = false;
176
177 Aws::String m_s3Uri;
178 bool m_s3UriHasBeenSet = false;
179
180 Aws::String m_testS3Uri;
181 bool m_testS3UriHasBeenSet = false;
182
183 Aws::String m_labelDelimiter;
184 bool m_labelDelimiterHasBeenSet = false;
185
186 Aws::Vector<AugmentedManifestsListItem> m_augmentedManifests;
187 bool m_augmentedManifestsHasBeenSet = false;
188
190 bool m_documentTypeHasBeenSet = false;
191
192 DocumentClassifierDocuments m_documents;
193 bool m_documentsHasBeenSet = false;
194
195 DocumentReaderConfig m_documentReaderConfig;
196 bool m_documentReaderConfigHasBeenSet = false;
197 };
198
199} // namespace Model
200} // namespace Comprehend
201} // namespace Aws
AWS_COMPREHEND_API DocumentClassifierInputDataConfig()=default
DocumentClassifierInputDataConfig & WithDataFormat(DocumentClassifierDataFormat value)
DocumentClassifierInputDataConfig & WithDocuments(DocumentsT &&value)
DocumentClassifierInputDataConfig & WithDocumentReaderConfig(DocumentReaderConfigT &&value)
AWS_COMPREHEND_API DocumentClassifierInputDataConfig(Aws::Utils::Json::JsonView jsonValue)
DocumentClassifierInputDataConfig & WithTestS3Uri(TestS3UriT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentClassifierInputDataConfig & WithS3Uri(S3UriT &&value)
AWS_COMPREHEND_API DocumentClassifierInputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentClassifierInputDataConfig & WithLabelDelimiter(LabelDelimiterT &&value)
DocumentClassifierInputDataConfig & AddAugmentedManifests(AugmentedManifestsT &&value)
DocumentClassifierInputDataConfig & WithAugmentedManifests(AugmentedManifestsT &&value)
DocumentClassifierInputDataConfig & WithDocumentType(DocumentClassifierDocumentTypeFormat value)
const Aws::Vector< AugmentedManifestsListItem > & GetAugmentedManifests() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue