AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InputDataConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/DocumentReaderConfig.h>
9#include <aws/comprehend/model/InputFormat.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Comprehend {
22namespace Model {
23
32 public:
33 AWS_COMPREHEND_API InputDataConfig() = default;
34 AWS_COMPREHEND_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
47 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
48 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
49 template <typename S3UriT = Aws::String>
50 void SetS3Uri(S3UriT&& value) {
51 m_s3UriHasBeenSet = true;
52 m_s3Uri = std::forward<S3UriT>(value);
53 }
54 template <typename S3UriT = Aws::String>
55 InputDataConfig& WithS3Uri(S3UriT&& value) {
56 SetS3Uri(std::forward<S3UriT>(value));
57 return *this;
58 }
60
62
70 inline InputFormat GetInputFormat() const { return m_inputFormat; }
71 inline bool InputFormatHasBeenSet() const { return m_inputFormatHasBeenSet; }
72 inline void SetInputFormat(InputFormat value) {
73 m_inputFormatHasBeenSet = true;
74 m_inputFormat = value;
75 }
77 SetInputFormat(value);
78 return *this;
79 }
81
83
87 inline const DocumentReaderConfig& GetDocumentReaderConfig() const { return m_documentReaderConfig; }
88 inline bool DocumentReaderConfigHasBeenSet() const { return m_documentReaderConfigHasBeenSet; }
89 template <typename DocumentReaderConfigT = DocumentReaderConfig>
90 void SetDocumentReaderConfig(DocumentReaderConfigT&& value) {
91 m_documentReaderConfigHasBeenSet = true;
92 m_documentReaderConfig = std::forward<DocumentReaderConfigT>(value);
93 }
94 template <typename DocumentReaderConfigT = DocumentReaderConfig>
95 InputDataConfig& WithDocumentReaderConfig(DocumentReaderConfigT&& value) {
96 SetDocumentReaderConfig(std::forward<DocumentReaderConfigT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_s3Uri;
102
103 InputFormat m_inputFormat{InputFormat::NOT_SET};
104
105 DocumentReaderConfig m_documentReaderConfig;
106 bool m_s3UriHasBeenSet = false;
107 bool m_inputFormatHasBeenSet = false;
108 bool m_documentReaderConfigHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Comprehend
113} // namespace Aws
InputDataConfig & WithInputFormat(InputFormat value)
InputDataConfig & WithS3Uri(S3UriT &&value)
InputDataConfig & WithDocumentReaderConfig(DocumentReaderConfigT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API InputDataConfig()=default
const Aws::String & GetS3Uri() const
AWS_COMPREHEND_API InputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue)
const DocumentReaderConfig & GetDocumentReaderConfig() const
void SetDocumentReaderConfig(DocumentReaderConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue