AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentEnrichmentConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qbusiness/model/HookConfiguration.h>
10#include <aws/qbusiness/model/InlineDocumentEnrichmentConfiguration.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 QBusiness
24{
25namespace Model
26{
27
38 {
39 public:
43 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Vector<InlineDocumentEnrichmentConfiguration>& GetInlineConfigurations() const{ return m_inlineConfigurations; }
52 inline bool InlineConfigurationsHasBeenSet() const { return m_inlineConfigurationsHasBeenSet; }
53 inline void SetInlineConfigurations(const Aws::Vector<InlineDocumentEnrichmentConfiguration>& value) { m_inlineConfigurationsHasBeenSet = true; m_inlineConfigurations = value; }
54 inline void SetInlineConfigurations(Aws::Vector<InlineDocumentEnrichmentConfiguration>&& value) { m_inlineConfigurationsHasBeenSet = true; m_inlineConfigurations = std::move(value); }
57 inline DocumentEnrichmentConfiguration& AddInlineConfigurations(const InlineDocumentEnrichmentConfiguration& value) { m_inlineConfigurationsHasBeenSet = true; m_inlineConfigurations.push_back(value); return *this; }
58 inline DocumentEnrichmentConfiguration& AddInlineConfigurations(InlineDocumentEnrichmentConfiguration&& value) { m_inlineConfigurationsHasBeenSet = true; m_inlineConfigurations.push_back(std::move(value)); return *this; }
60
62
63 inline const HookConfiguration& GetPreExtractionHookConfiguration() const{ return m_preExtractionHookConfiguration; }
64 inline bool PreExtractionHookConfigurationHasBeenSet() const { return m_preExtractionHookConfigurationHasBeenSet; }
65 inline void SetPreExtractionHookConfiguration(const HookConfiguration& value) { m_preExtractionHookConfigurationHasBeenSet = true; m_preExtractionHookConfiguration = value; }
66 inline void SetPreExtractionHookConfiguration(HookConfiguration&& value) { m_preExtractionHookConfigurationHasBeenSet = true; m_preExtractionHookConfiguration = std::move(value); }
70
72
73 inline const HookConfiguration& GetPostExtractionHookConfiguration() const{ return m_postExtractionHookConfiguration; }
74 inline bool PostExtractionHookConfigurationHasBeenSet() const { return m_postExtractionHookConfigurationHasBeenSet; }
75 inline void SetPostExtractionHookConfiguration(const HookConfiguration& value) { m_postExtractionHookConfigurationHasBeenSet = true; m_postExtractionHookConfiguration = value; }
76 inline void SetPostExtractionHookConfiguration(HookConfiguration&& value) { m_postExtractionHookConfigurationHasBeenSet = true; m_postExtractionHookConfiguration = std::move(value); }
80 private:
81
83 bool m_inlineConfigurationsHasBeenSet = false;
84
85 HookConfiguration m_preExtractionHookConfiguration;
86 bool m_preExtractionHookConfigurationHasBeenSet = false;
87
88 HookConfiguration m_postExtractionHookConfiguration;
89 bool m_postExtractionHookConfigurationHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QBusiness
94} // namespace Aws
void SetInlineConfigurations(Aws::Vector< InlineDocumentEnrichmentConfiguration > &&value)
void SetInlineConfigurations(const Aws::Vector< InlineDocumentEnrichmentConfiguration > &value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API DocumentEnrichmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentEnrichmentConfiguration & AddInlineConfigurations(const InlineDocumentEnrichmentConfiguration &value)
DocumentEnrichmentConfiguration & WithPostExtractionHookConfiguration(HookConfiguration &&value)
DocumentEnrichmentConfiguration & WithPreExtractionHookConfiguration(HookConfiguration &&value)
DocumentEnrichmentConfiguration & WithInlineConfigurations(const Aws::Vector< InlineDocumentEnrichmentConfiguration > &value)
const Aws::Vector< InlineDocumentEnrichmentConfiguration > & GetInlineConfigurations() const
DocumentEnrichmentConfiguration & WithPostExtractionHookConfiguration(const HookConfiguration &value)
DocumentEnrichmentConfiguration & WithInlineConfigurations(Aws::Vector< InlineDocumentEnrichmentConfiguration > &&value)
DocumentEnrichmentConfiguration & WithPreExtractionHookConfiguration(const HookConfiguration &value)
AWS_QBUSINESS_API DocumentEnrichmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
DocumentEnrichmentConfiguration & AddInlineConfigurations(InlineDocumentEnrichmentConfiguration &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue