/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides configuration information for crawling knowledge articles in the
* ServiceNow site.See Also:
AWS
* API Reference
Indicates whether Amazon Kendra should index attachments to knowledge * articles.
*/ inline bool GetCrawlAttachments() const{ return m_crawlAttachments; } /** *Indicates whether Amazon Kendra should index attachments to knowledge * articles.
*/ inline bool CrawlAttachmentsHasBeenSet() const { return m_crawlAttachmentsHasBeenSet; } /** *Indicates whether Amazon Kendra should index attachments to knowledge * articles.
*/ inline void SetCrawlAttachments(bool value) { m_crawlAttachmentsHasBeenSet = true; m_crawlAttachments = value; } /** *Indicates whether Amazon Kendra should index attachments to knowledge * articles.
*/ inline ServiceNowKnowledgeArticleConfiguration& WithCrawlAttachments(bool value) { SetCrawlAttachments(value); return *this;} /** *List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField.
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField.
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField.
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField.
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField.
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField.
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField.
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField.
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField.
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField
List of regular expressions applied to knowledge articles. Items that don't
* match the inclusion pattern are not indexed. The regex is applied to the field
* specified in the PatternTargetField
The name of the ServiceNow field that is mapped to the index document * contents field in the Amazon Kendra index.
*/ inline const Aws::String& GetDocumentDataFieldName() const{ return m_documentDataFieldName; } /** *The name of the ServiceNow field that is mapped to the index document * contents field in the Amazon Kendra index.
*/ inline bool DocumentDataFieldNameHasBeenSet() const { return m_documentDataFieldNameHasBeenSet; } /** *The name of the ServiceNow field that is mapped to the index document * contents field in the Amazon Kendra index.
*/ inline void SetDocumentDataFieldName(const Aws::String& value) { m_documentDataFieldNameHasBeenSet = true; m_documentDataFieldName = value; } /** *The name of the ServiceNow field that is mapped to the index document * contents field in the Amazon Kendra index.
*/ inline void SetDocumentDataFieldName(Aws::String&& value) { m_documentDataFieldNameHasBeenSet = true; m_documentDataFieldName = std::move(value); } /** *The name of the ServiceNow field that is mapped to the index document * contents field in the Amazon Kendra index.
*/ inline void SetDocumentDataFieldName(const char* value) { m_documentDataFieldNameHasBeenSet = true; m_documentDataFieldName.assign(value); } /** *The name of the ServiceNow field that is mapped to the index document * contents field in the Amazon Kendra index.
*/ inline ServiceNowKnowledgeArticleConfiguration& WithDocumentDataFieldName(const Aws::String& value) { SetDocumentDataFieldName(value); return *this;} /** *The name of the ServiceNow field that is mapped to the index document * contents field in the Amazon Kendra index.
*/ inline ServiceNowKnowledgeArticleConfiguration& WithDocumentDataFieldName(Aws::String&& value) { SetDocumentDataFieldName(std::move(value)); return *this;} /** *The name of the ServiceNow field that is mapped to the index document * contents field in the Amazon Kendra index.
*/ inline ServiceNowKnowledgeArticleConfiguration& WithDocumentDataFieldName(const char* value) { SetDocumentDataFieldName(value); return *this;} /** *The name of the ServiceNow field that is mapped to the index document title * field.
*/ inline const Aws::String& GetDocumentTitleFieldName() const{ return m_documentTitleFieldName; } /** *The name of the ServiceNow field that is mapped to the index document title * field.
*/ inline bool DocumentTitleFieldNameHasBeenSet() const { return m_documentTitleFieldNameHasBeenSet; } /** *The name of the ServiceNow field that is mapped to the index document title * field.
*/ inline void SetDocumentTitleFieldName(const Aws::String& value) { m_documentTitleFieldNameHasBeenSet = true; m_documentTitleFieldName = value; } /** *The name of the ServiceNow field that is mapped to the index document title * field.
*/ inline void SetDocumentTitleFieldName(Aws::String&& value) { m_documentTitleFieldNameHasBeenSet = true; m_documentTitleFieldName = std::move(value); } /** *The name of the ServiceNow field that is mapped to the index document title * field.
*/ inline void SetDocumentTitleFieldName(const char* value) { m_documentTitleFieldNameHasBeenSet = true; m_documentTitleFieldName.assign(value); } /** *The name of the ServiceNow field that is mapped to the index document title * field.
*/ inline ServiceNowKnowledgeArticleConfiguration& WithDocumentTitleFieldName(const Aws::String& value) { SetDocumentTitleFieldName(value); return *this;} /** *The name of the ServiceNow field that is mapped to the index document title * field.
*/ inline ServiceNowKnowledgeArticleConfiguration& WithDocumentTitleFieldName(Aws::String&& value) { SetDocumentTitleFieldName(std::move(value)); return *this;} /** *The name of the ServiceNow field that is mapped to the index document title * field.
*/ inline ServiceNowKnowledgeArticleConfiguration& WithDocumentTitleFieldName(const char* value) { SetDocumentTitleFieldName(value); return *this;} /** *Mapping between ServiceNow fields and Amazon Kendra index fields. You must * create the index field before you map the field.
*/ inline const Aws::VectorMapping between ServiceNow fields and Amazon Kendra index fields. You must * create the index field before you map the field.
*/ inline bool FieldMappingsHasBeenSet() const { return m_fieldMappingsHasBeenSet; } /** *Mapping between ServiceNow fields and Amazon Kendra index fields. You must * create the index field before you map the field.
*/ inline void SetFieldMappings(const Aws::VectorMapping between ServiceNow fields and Amazon Kendra index fields. You must * create the index field before you map the field.
*/ inline void SetFieldMappings(Aws::VectorMapping between ServiceNow fields and Amazon Kendra index fields. You must * create the index field before you map the field.
*/ inline ServiceNowKnowledgeArticleConfiguration& WithFieldMappings(const Aws::VectorMapping between ServiceNow fields and Amazon Kendra index fields. You must * create the index field before you map the field.
*/ inline ServiceNowKnowledgeArticleConfiguration& WithFieldMappings(Aws::VectorMapping between ServiceNow fields and Amazon Kendra index fields. You must * create the index field before you map the field.
*/ inline ServiceNowKnowledgeArticleConfiguration& AddFieldMappings(const DataSourceToIndexFieldMapping& value) { m_fieldMappingsHasBeenSet = true; m_fieldMappings.push_back(value); return *this; } /** *Mapping between ServiceNow fields and Amazon Kendra index fields. You must * create the index field before you map the field.
*/ inline ServiceNowKnowledgeArticleConfiguration& AddFieldMappings(DataSourceToIndexFieldMapping&& value) { m_fieldMappingsHasBeenSet = true; m_fieldMappings.push_back(std::move(value)); return *this; } private: bool m_crawlAttachments; bool m_crawlAttachmentsHasBeenSet; Aws::Vector