AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
56 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
57 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
58 inline InputDataConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
59 inline InputDataConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
60 inline InputDataConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
62
64
72 inline const InputFormat& GetInputFormat() const{ return m_inputFormat; }
73 inline bool InputFormatHasBeenSet() const { return m_inputFormatHasBeenSet; }
74 inline void SetInputFormat(const InputFormat& value) { m_inputFormatHasBeenSet = true; m_inputFormat = value; }
75 inline void SetInputFormat(InputFormat&& value) { m_inputFormatHasBeenSet = true; m_inputFormat = std::move(value); }
76 inline InputDataConfig& WithInputFormat(const InputFormat& value) { SetInputFormat(value); return *this;}
77 inline InputDataConfig& WithInputFormat(InputFormat&& value) { SetInputFormat(std::move(value)); return *this;}
79
81
85 inline const DocumentReaderConfig& GetDocumentReaderConfig() const{ return m_documentReaderConfig; }
86 inline bool DocumentReaderConfigHasBeenSet() const { return m_documentReaderConfigHasBeenSet; }
87 inline void SetDocumentReaderConfig(const DocumentReaderConfig& value) { m_documentReaderConfigHasBeenSet = true; m_documentReaderConfig = value; }
88 inline void SetDocumentReaderConfig(DocumentReaderConfig&& value) { m_documentReaderConfigHasBeenSet = true; m_documentReaderConfig = std::move(value); }
90 inline InputDataConfig& WithDocumentReaderConfig(DocumentReaderConfig&& value) { SetDocumentReaderConfig(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_s3Uri;
95 bool m_s3UriHasBeenSet = false;
96
97 InputFormat m_inputFormat;
98 bool m_inputFormatHasBeenSet = false;
99
100 DocumentReaderConfig m_documentReaderConfig;
101 bool m_documentReaderConfigHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Comprehend
106} // namespace Aws
InputDataConfig & WithS3Uri(const char *value)
void SetDocumentReaderConfig(const DocumentReaderConfig &value)
const InputFormat & GetInputFormat() const
void SetInputFormat(const InputFormat &value)
InputDataConfig & WithS3Uri(Aws::String &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
InputDataConfig & WithDocumentReaderConfig(const DocumentReaderConfig &value)
InputDataConfig & WithS3Uri(const Aws::String &value)
InputDataConfig & WithInputFormat(const InputFormat &value)
void SetInputFormat(InputFormat &&value)
InputDataConfig & WithDocumentReaderConfig(DocumentReaderConfig &&value)
const Aws::String & GetS3Uri() const
AWS_COMPREHEND_API InputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDataConfig & WithInputFormat(InputFormat &&value)
AWS_COMPREHEND_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue)
const DocumentReaderConfig & GetDocumentReaderConfig() const
void SetDocumentReaderConfig(DocumentReaderConfig &&value)
void SetS3Uri(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue