AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InputDataConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/InputFormat.h>
10#include <aws/comprehend/model/DocumentReaderConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Comprehend
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_COMPREHEND_API InputDataConfig() = default;
39 AWS_COMPREHEND_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
53 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
54 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
55 template<typename S3UriT = Aws::String>
56 void SetS3Uri(S3UriT&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::forward<S3UriT>(value); }
57 template<typename S3UriT = Aws::String>
58 InputDataConfig& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
60
62
70 inline InputFormat GetInputFormat() const { return m_inputFormat; }
71 inline bool InputFormatHasBeenSet() const { return m_inputFormatHasBeenSet; }
72 inline void SetInputFormat(InputFormat value) { m_inputFormatHasBeenSet = true; m_inputFormat = value; }
73 inline InputDataConfig& WithInputFormat(InputFormat value) { SetInputFormat(value); return *this;}
75
77
81 inline const DocumentReaderConfig& GetDocumentReaderConfig() const { return m_documentReaderConfig; }
82 inline bool DocumentReaderConfigHasBeenSet() const { return m_documentReaderConfigHasBeenSet; }
83 template<typename DocumentReaderConfigT = DocumentReaderConfig>
84 void SetDocumentReaderConfig(DocumentReaderConfigT&& value) { m_documentReaderConfigHasBeenSet = true; m_documentReaderConfig = std::forward<DocumentReaderConfigT>(value); }
85 template<typename DocumentReaderConfigT = DocumentReaderConfig>
86 InputDataConfig& WithDocumentReaderConfig(DocumentReaderConfigT&& value) { SetDocumentReaderConfig(std::forward<DocumentReaderConfigT>(value)); return *this;}
88 private:
89
90 Aws::String m_s3Uri;
91 bool m_s3UriHasBeenSet = false;
92
93 InputFormat m_inputFormat{InputFormat::NOT_SET};
94 bool m_inputFormatHasBeenSet = false;
95
96 DocumentReaderConfig m_documentReaderConfig;
97 bool m_documentReaderConfigHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Comprehend
102} // 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