/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the configuration information for applying basic logic to alter
* document metadata and content when ingesting documents into Amazon Kendra. To
* apply advanced logic, to go beyond what you can do with basic logic, see HookConfiguration. For more information, see Customizing
* document metadata during the ingestion process.See Also:
* AWS
* API Reference
Configuration of the condition used for the target document attribute or * metadata field when ingesting documents into Amazon Kendra.
*/ inline const DocumentAttributeCondition& GetCondition() const{ return m_condition; } /** *Configuration of the condition used for the target document attribute or * metadata field when ingesting documents into Amazon Kendra.
*/ inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; } /** *Configuration of the condition used for the target document attribute or * metadata field when ingesting documents into Amazon Kendra.
*/ inline void SetCondition(const DocumentAttributeCondition& value) { m_conditionHasBeenSet = true; m_condition = value; } /** *Configuration of the condition used for the target document attribute or * metadata field when ingesting documents into Amazon Kendra.
*/ inline void SetCondition(DocumentAttributeCondition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); } /** *Configuration of the condition used for the target document attribute or * metadata field when ingesting documents into Amazon Kendra.
*/ inline InlineCustomDocumentEnrichmentConfiguration& WithCondition(const DocumentAttributeCondition& value) { SetCondition(value); return *this;} /** *Configuration of the condition used for the target document attribute or * metadata field when ingesting documents into Amazon Kendra.
*/ inline InlineCustomDocumentEnrichmentConfiguration& WithCondition(DocumentAttributeCondition&& value) { SetCondition(std::move(value)); return *this;} /** *Configuration of the target document attribute or metadata field when * ingesting documents into Amazon Kendra. You can also include a value.
*/ inline const DocumentAttributeTarget& GetTarget() const{ return m_target; } /** *Configuration of the target document attribute or metadata field when * ingesting documents into Amazon Kendra. You can also include a value.
*/ inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } /** *Configuration of the target document attribute or metadata field when * ingesting documents into Amazon Kendra. You can also include a value.
*/ inline void SetTarget(const DocumentAttributeTarget& value) { m_targetHasBeenSet = true; m_target = value; } /** *Configuration of the target document attribute or metadata field when * ingesting documents into Amazon Kendra. You can also include a value.
*/ inline void SetTarget(DocumentAttributeTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } /** *Configuration of the target document attribute or metadata field when * ingesting documents into Amazon Kendra. You can also include a value.
*/ inline InlineCustomDocumentEnrichmentConfiguration& WithTarget(const DocumentAttributeTarget& value) { SetTarget(value); return *this;} /** *Configuration of the target document attribute or metadata field when * ingesting documents into Amazon Kendra. You can also include a value.
*/ inline InlineCustomDocumentEnrichmentConfiguration& WithTarget(DocumentAttributeTarget&& value) { SetTarget(std::move(value)); return *this;} /** * TRUE
to delete content if the condition used for the target
* attribute is met.
TRUE
to delete content if the condition used for the target
* attribute is met.
TRUE
to delete content if the condition used for the target
* attribute is met.
TRUE
to delete content if the condition used for the target
* attribute is met.