AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentReaderConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/DocumentReadAction.h>
9#include <aws/comprehend/model/DocumentReadMode.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/comprehend/model/DocumentReadFeatureTypes.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Comprehend
25{
26namespace Model
27{
28
48 {
49 public:
50 AWS_COMPREHEND_API DocumentReaderConfig();
51 AWS_COMPREHEND_API DocumentReaderConfig(Aws::Utils::Json::JsonView jsonValue);
53 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
66 inline const DocumentReadAction& GetDocumentReadAction() const{ return m_documentReadAction; }
67 inline bool DocumentReadActionHasBeenSet() const { return m_documentReadActionHasBeenSet; }
68 inline void SetDocumentReadAction(const DocumentReadAction& value) { m_documentReadActionHasBeenSet = true; m_documentReadAction = value; }
69 inline void SetDocumentReadAction(DocumentReadAction&& value) { m_documentReadActionHasBeenSet = true; m_documentReadAction = std::move(value); }
71 inline DocumentReaderConfig& WithDocumentReadAction(DocumentReadAction&& value) { SetDocumentReadAction(std::move(value)); return *this;}
73
75
83 inline const DocumentReadMode& GetDocumentReadMode() const{ return m_documentReadMode; }
84 inline bool DocumentReadModeHasBeenSet() const { return m_documentReadModeHasBeenSet; }
85 inline void SetDocumentReadMode(const DocumentReadMode& value) { m_documentReadModeHasBeenSet = true; m_documentReadMode = value; }
86 inline void SetDocumentReadMode(DocumentReadMode&& value) { m_documentReadModeHasBeenSet = true; m_documentReadMode = std::move(value); }
88 inline DocumentReaderConfig& WithDocumentReadMode(DocumentReadMode&& value) { SetDocumentReadMode(std::move(value)); return *this;}
90
92
100 inline const Aws::Vector<DocumentReadFeatureTypes>& GetFeatureTypes() const{ return m_featureTypes; }
101 inline bool FeatureTypesHasBeenSet() const { return m_featureTypesHasBeenSet; }
102 inline void SetFeatureTypes(const Aws::Vector<DocumentReadFeatureTypes>& value) { m_featureTypesHasBeenSet = true; m_featureTypes = value; }
103 inline void SetFeatureTypes(Aws::Vector<DocumentReadFeatureTypes>&& value) { m_featureTypesHasBeenSet = true; m_featureTypes = std::move(value); }
106 inline DocumentReaderConfig& AddFeatureTypes(const DocumentReadFeatureTypes& value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(value); return *this; }
107 inline DocumentReaderConfig& AddFeatureTypes(DocumentReadFeatureTypes&& value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(std::move(value)); return *this; }
109 private:
110
111 DocumentReadAction m_documentReadAction;
112 bool m_documentReadActionHasBeenSet = false;
113
114 DocumentReadMode m_documentReadMode;
115 bool m_documentReadModeHasBeenSet = false;
116
118 bool m_featureTypesHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Comprehend
123} // namespace Aws
void SetDocumentReadAction(const DocumentReadAction &value)
const Aws::Vector< DocumentReadFeatureTypes > & GetFeatureTypes() const
AWS_COMPREHEND_API DocumentReaderConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentReaderConfig & AddFeatureTypes(DocumentReadFeatureTypes &&value)
const DocumentReadAction & GetDocumentReadAction() const
void SetFeatureTypes(const Aws::Vector< DocumentReadFeatureTypes > &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentReaderConfig & WithDocumentReadAction(DocumentReadAction &&value)
DocumentReaderConfig & WithDocumentReadAction(const DocumentReadAction &value)
void SetFeatureTypes(Aws::Vector< DocumentReadFeatureTypes > &&value)
DocumentReaderConfig & AddFeatureTypes(const DocumentReadFeatureTypes &value)
AWS_COMPREHEND_API DocumentReaderConfig(Aws::Utils::Json::JsonView jsonValue)
void SetDocumentReadAction(DocumentReadAction &&value)
void SetDocumentReadMode(const DocumentReadMode &value)
DocumentReaderConfig & WithDocumentReadMode(const DocumentReadMode &value)
DocumentReaderConfig & WithDocumentReadMode(DocumentReadMode &&value)
const DocumentReadMode & GetDocumentReadMode() const
DocumentReaderConfig & WithFeatureTypes(Aws::Vector< DocumentReadFeatureTypes > &&value)
DocumentReaderConfig & WithFeatureTypes(const Aws::Vector< DocumentReadFeatureTypes > &value)
void SetDocumentReadMode(DocumentReadMode &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue