/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the configuration information for altering document metadata and
* content during the document ingestion process. For more information, see
* Customizing
* document metadata during the ingestion process.See Also:
* AWS
* API Reference
Configuration information to alter document attributes or metadata fields and * content when ingesting documents into Amazon Kendra.
*/ inline const Aws::VectorConfiguration information to alter document attributes or metadata fields and * content when ingesting documents into Amazon Kendra.
*/ inline bool InlineConfigurationsHasBeenSet() const { return m_inlineConfigurationsHasBeenSet; } /** *Configuration information to alter document attributes or metadata fields and * content when ingesting documents into Amazon Kendra.
*/ inline void SetInlineConfigurations(const Aws::VectorConfiguration information to alter document attributes or metadata fields and * content when ingesting documents into Amazon Kendra.
*/ inline void SetInlineConfigurations(Aws::VectorConfiguration information to alter document attributes or metadata fields and * content when ingesting documents into Amazon Kendra.
*/ inline CustomDocumentEnrichmentConfiguration& WithInlineConfigurations(const Aws::VectorConfiguration information to alter document attributes or metadata fields and * content when ingesting documents into Amazon Kendra.
*/ inline CustomDocumentEnrichmentConfiguration& WithInlineConfigurations(Aws::VectorConfiguration information to alter document attributes or metadata fields and * content when ingesting documents into Amazon Kendra.
*/ inline CustomDocumentEnrichmentConfiguration& AddInlineConfigurations(const InlineCustomDocumentEnrichmentConfiguration& value) { m_inlineConfigurationsHasBeenSet = true; m_inlineConfigurations.push_back(value); return *this; } /** *Configuration information to alter document attributes or metadata fields and * content when ingesting documents into Amazon Kendra.
*/ inline CustomDocumentEnrichmentConfiguration& AddInlineConfigurations(InlineCustomDocumentEnrichmentConfiguration&& value) { m_inlineConfigurationsHasBeenSet = true; m_inlineConfigurations.push_back(std::move(value)); return *this; } /** *Configuration information for invoking a Lambda function in Lambda on the * original or raw documents before extracting their metadata and text. You can use * a Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline const HookConfiguration& GetPreExtractionHookConfiguration() const{ return m_preExtractionHookConfiguration; } /** *Configuration information for invoking a Lambda function in Lambda on the * original or raw documents before extracting their metadata and text. You can use * a Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline bool PreExtractionHookConfigurationHasBeenSet() const { return m_preExtractionHookConfigurationHasBeenSet; } /** *Configuration information for invoking a Lambda function in Lambda on the * original or raw documents before extracting their metadata and text. You can use * a Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline void SetPreExtractionHookConfiguration(const HookConfiguration& value) { m_preExtractionHookConfigurationHasBeenSet = true; m_preExtractionHookConfiguration = value; } /** *Configuration information for invoking a Lambda function in Lambda on the * original or raw documents before extracting their metadata and text. You can use * a Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline void SetPreExtractionHookConfiguration(HookConfiguration&& value) { m_preExtractionHookConfigurationHasBeenSet = true; m_preExtractionHookConfiguration = std::move(value); } /** *Configuration information for invoking a Lambda function in Lambda on the * original or raw documents before extracting their metadata and text. You can use * a Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline CustomDocumentEnrichmentConfiguration& WithPreExtractionHookConfiguration(const HookConfiguration& value) { SetPreExtractionHookConfiguration(value); return *this;} /** *Configuration information for invoking a Lambda function in Lambda on the * original or raw documents before extracting their metadata and text. You can use * a Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline CustomDocumentEnrichmentConfiguration& WithPreExtractionHookConfiguration(HookConfiguration&& value) { SetPreExtractionHookConfiguration(std::move(value)); return *this;} /** *Configuration information for invoking a Lambda function in Lambda on the * structured documents with their metadata and text extracted. You can use a * Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline const HookConfiguration& GetPostExtractionHookConfiguration() const{ return m_postExtractionHookConfiguration; } /** *Configuration information for invoking a Lambda function in Lambda on the * structured documents with their metadata and text extracted. You can use a * Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline bool PostExtractionHookConfigurationHasBeenSet() const { return m_postExtractionHookConfigurationHasBeenSet; } /** *Configuration information for invoking a Lambda function in Lambda on the * structured documents with their metadata and text extracted. You can use a * Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline void SetPostExtractionHookConfiguration(const HookConfiguration& value) { m_postExtractionHookConfigurationHasBeenSet = true; m_postExtractionHookConfiguration = value; } /** *Configuration information for invoking a Lambda function in Lambda on the * structured documents with their metadata and text extracted. You can use a * Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline void SetPostExtractionHookConfiguration(HookConfiguration&& value) { m_postExtractionHookConfigurationHasBeenSet = true; m_postExtractionHookConfiguration = std::move(value); } /** *Configuration information for invoking a Lambda function in Lambda on the * structured documents with their metadata and text extracted. You can use a * Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline CustomDocumentEnrichmentConfiguration& WithPostExtractionHookConfiguration(const HookConfiguration& value) { SetPostExtractionHookConfiguration(value); return *this;} /** *Configuration information for invoking a Lambda function in Lambda on the * structured documents with their metadata and text extracted. You can use a * Lambda function to apply advanced logic for creating, modifying, or deleting * document metadata and content. For more information, see Advanced * data manipulation.
*/ inline CustomDocumentEnrichmentConfiguration& WithPostExtractionHookConfiguration(HookConfiguration&& value) { SetPostExtractionHookConfiguration(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of a role with permission to run
* PreExtractionHookConfiguration
and
* PostExtractionHookConfiguration
for altering document metadata and
* content during the document ingestion process. For more information, see IAM roles for
* Amazon Kendra.
The Amazon Resource Name (ARN) of a role with permission to run
* PreExtractionHookConfiguration
and
* PostExtractionHookConfiguration
for altering document metadata and
* content during the document ingestion process. For more information, see IAM roles for
* Amazon Kendra.
The Amazon Resource Name (ARN) of a role with permission to run
* PreExtractionHookConfiguration
and
* PostExtractionHookConfiguration
for altering document metadata and
* content during the document ingestion process. For more information, see IAM roles for
* Amazon Kendra.
The Amazon Resource Name (ARN) of a role with permission to run
* PreExtractionHookConfiguration
and
* PostExtractionHookConfiguration
for altering document metadata and
* content during the document ingestion process. For more information, see IAM roles for
* Amazon Kendra.
The Amazon Resource Name (ARN) of a role with permission to run
* PreExtractionHookConfiguration
and
* PostExtractionHookConfiguration
for altering document metadata and
* content during the document ingestion process. For more information, see IAM roles for
* Amazon Kendra.
The Amazon Resource Name (ARN) of a role with permission to run
* PreExtractionHookConfiguration
and
* PostExtractionHookConfiguration
for altering document metadata and
* content during the document ingestion process. For more information, see IAM roles for
* Amazon Kendra.
The Amazon Resource Name (ARN) of a role with permission to run
* PreExtractionHookConfiguration
and
* PostExtractionHookConfiguration
for altering document metadata and
* content during the document ingestion process. For more information, see IAM roles for
* Amazon Kendra.
The Amazon Resource Name (ARN) of a role with permission to run
* PreExtractionHookConfiguration
and
* PostExtractionHookConfiguration
for altering document metadata and
* content during the document ingestion process. For more information, see IAM roles for
* Amazon Kendra.