AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
47 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
64 inline const DocumentClassifierDataFormat& GetDataFormat() const{ return m_dataFormat; }
65 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
66 inline void SetDataFormat(const DocumentClassifierDataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
67 inline void SetDataFormat(DocumentClassifierDataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); }
71
73
83 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
84 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
85 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
86 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
87 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
88 inline DocumentClassifierInputDataConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
89 inline DocumentClassifierInputDataConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
90 inline DocumentClassifierInputDataConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
92
94
99 inline const Aws::String& GetTestS3Uri() const{ return m_testS3Uri; }
100 inline bool TestS3UriHasBeenSet() const { return m_testS3UriHasBeenSet; }
101 inline void SetTestS3Uri(const Aws::String& value) { m_testS3UriHasBeenSet = true; m_testS3Uri = value; }
102 inline void SetTestS3Uri(Aws::String&& value) { m_testS3UriHasBeenSet = true; m_testS3Uri = std::move(value); }
103 inline void SetTestS3Uri(const char* value) { m_testS3UriHasBeenSet = true; m_testS3Uri.assign(value); }
104 inline DocumentClassifierInputDataConfig& WithTestS3Uri(const Aws::String& value) { SetTestS3Uri(value); return *this;}
105 inline DocumentClassifierInputDataConfig& WithTestS3Uri(Aws::String&& value) { SetTestS3Uri(std::move(value)); return *this;}
106 inline DocumentClassifierInputDataConfig& WithTestS3Uri(const char* value) { SetTestS3Uri(value); return *this;}
108
110
119 inline const Aws::String& GetLabelDelimiter() const{ return m_labelDelimiter; }
120 inline bool LabelDelimiterHasBeenSet() const { return m_labelDelimiterHasBeenSet; }
121 inline void SetLabelDelimiter(const Aws::String& value) { m_labelDelimiterHasBeenSet = true; m_labelDelimiter = value; }
122 inline void SetLabelDelimiter(Aws::String&& value) { m_labelDelimiterHasBeenSet = true; m_labelDelimiter = std::move(value); }
123 inline void SetLabelDelimiter(const char* value) { m_labelDelimiterHasBeenSet = true; m_labelDelimiter.assign(value); }
125 inline DocumentClassifierInputDataConfig& WithLabelDelimiter(Aws::String&& value) { SetLabelDelimiter(std::move(value)); return *this;}
126 inline DocumentClassifierInputDataConfig& WithLabelDelimiter(const char* value) { SetLabelDelimiter(value); return *this;}
128
130
136 inline const Aws::Vector<AugmentedManifestsListItem>& GetAugmentedManifests() const{ return m_augmentedManifests; }
137 inline bool AugmentedManifestsHasBeenSet() const { return m_augmentedManifestsHasBeenSet; }
138 inline void SetAugmentedManifests(const Aws::Vector<AugmentedManifestsListItem>& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = value; }
139 inline void SetAugmentedManifests(Aws::Vector<AugmentedManifestsListItem>&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = std::move(value); }
142 inline DocumentClassifierInputDataConfig& AddAugmentedManifests(const AugmentedManifestsListItem& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.push_back(value); return *this; }
143 inline DocumentClassifierInputDataConfig& AddAugmentedManifests(AugmentedManifestsListItem&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.push_back(std::move(value)); return *this; }
145
147
152 inline const DocumentClassifierDocumentTypeFormat& GetDocumentType() const{ return m_documentType; }
153 inline bool DocumentTypeHasBeenSet() const { return m_documentTypeHasBeenSet; }
154 inline void SetDocumentType(const DocumentClassifierDocumentTypeFormat& value) { m_documentTypeHasBeenSet = true; m_documentType = value; }
155 inline void SetDocumentType(DocumentClassifierDocumentTypeFormat&& value) { m_documentTypeHasBeenSet = true; m_documentType = std::move(value); }
159
161
165 inline const DocumentClassifierDocuments& GetDocuments() const{ return m_documents; }
166 inline bool DocumentsHasBeenSet() const { return m_documentsHasBeenSet; }
167 inline void SetDocuments(const DocumentClassifierDocuments& value) { m_documentsHasBeenSet = true; m_documents = value; }
168 inline void SetDocuments(DocumentClassifierDocuments&& value) { m_documentsHasBeenSet = true; m_documents = std::move(value); }
172
174
175 inline const DocumentReaderConfig& GetDocumentReaderConfig() const{ return m_documentReaderConfig; }
176 inline bool DocumentReaderConfigHasBeenSet() const { return m_documentReaderConfigHasBeenSet; }
177 inline void SetDocumentReaderConfig(const DocumentReaderConfig& value) { m_documentReaderConfigHasBeenSet = true; m_documentReaderConfig = value; }
178 inline void SetDocumentReaderConfig(DocumentReaderConfig&& value) { m_documentReaderConfigHasBeenSet = true; m_documentReaderConfig = std::move(value); }
182 private:
183
184 DocumentClassifierDataFormat m_dataFormat;
185 bool m_dataFormatHasBeenSet = false;
186
187 Aws::String m_s3Uri;
188 bool m_s3UriHasBeenSet = false;
189
190 Aws::String m_testS3Uri;
191 bool m_testS3UriHasBeenSet = false;
192
193 Aws::String m_labelDelimiter;
194 bool m_labelDelimiterHasBeenSet = false;
195
196 Aws::Vector<AugmentedManifestsListItem> m_augmentedManifests;
197 bool m_augmentedManifestsHasBeenSet = false;
198
200 bool m_documentTypeHasBeenSet = false;
201
202 DocumentClassifierDocuments m_documents;
203 bool m_documentsHasBeenSet = false;
204
205 DocumentReaderConfig m_documentReaderConfig;
206 bool m_documentReaderConfigHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace Comprehend
211} // namespace Aws
const DocumentClassifierDocumentTypeFormat & GetDocumentType() const
DocumentClassifierInputDataConfig & WithLabelDelimiter(const Aws::String &value)
DocumentClassifierInputDataConfig & WithTestS3Uri(const Aws::String &value)
DocumentClassifierInputDataConfig & WithLabelDelimiter(const char *value)
void SetDocumentType(DocumentClassifierDocumentTypeFormat &&value)
DocumentClassifierInputDataConfig & WithDocuments(DocumentClassifierDocuments &&value)
DocumentClassifierInputDataConfig & AddAugmentedManifests(AugmentedManifestsListItem &&value)
DocumentClassifierInputDataConfig & WithDataFormat(DocumentClassifierDataFormat &&value)
void SetAugmentedManifests(const Aws::Vector< AugmentedManifestsListItem > &value)
DocumentClassifierInputDataConfig & AddAugmentedManifests(const AugmentedManifestsListItem &value)
DocumentClassifierInputDataConfig & WithLabelDelimiter(Aws::String &&value)
DocumentClassifierInputDataConfig & WithS3Uri(Aws::String &&value)
DocumentClassifierInputDataConfig & WithS3Uri(const Aws::String &value)
DocumentClassifierInputDataConfig & WithDocumentType(const DocumentClassifierDocumentTypeFormat &value)
void SetAugmentedManifests(Aws::Vector< AugmentedManifestsListItem > &&value)
AWS_COMPREHEND_API DocumentClassifierInputDataConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentClassifierInputDataConfig & WithAugmentedManifests(const Aws::Vector< AugmentedManifestsListItem > &value)
DocumentClassifierInputDataConfig & WithS3Uri(const char *value)
DocumentClassifierInputDataConfig & WithTestS3Uri(const char *value)
DocumentClassifierInputDataConfig & WithDocumentType(DocumentClassifierDocumentTypeFormat &&value)
AWS_COMPREHEND_API DocumentClassifierInputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentClassifierInputDataConfig & WithDocuments(const DocumentClassifierDocuments &value)
DocumentClassifierInputDataConfig & WithDocumentReaderConfig(const DocumentReaderConfig &value)
void SetDocumentType(const DocumentClassifierDocumentTypeFormat &value)
DocumentClassifierInputDataConfig & WithAugmentedManifests(Aws::Vector< AugmentedManifestsListItem > &&value)
DocumentClassifierInputDataConfig & WithTestS3Uri(Aws::String &&value)
DocumentClassifierInputDataConfig & WithDocumentReaderConfig(DocumentReaderConfig &&value)
DocumentClassifierInputDataConfig & WithDataFormat(const DocumentClassifierDataFormat &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