/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the configuration information for crawling service catalog items in
* the ServiceNow siteSee Also:
AWS
* API Reference
TRUE
to index attachments to service catalog items.
TRUE
to index attachments to service catalog items.
TRUE
to index attachments to service catalog items.
TRUE
to index attachments to service catalog items.
A list of regular expression patterns to include certain attachments of * catalogs in your ServiceNow. Item that match the patterns are included in the * index. Items that don't match the patterns are excluded from the index. If an * item matches both an inclusion and exclusion pattern, the exclusion pattern * takes precedence and the item isn't included in the index.
The regex is * applied to the file name of the attachment.
*/ inline const Aws::VectorA list of regular expression patterns to include certain attachments of * catalogs in your ServiceNow. Item that match the patterns are included in the * index. Items that don't match the patterns are excluded from the index. If an * item matches both an inclusion and exclusion pattern, the exclusion pattern * takes precedence and the item isn't included in the index.
The regex is * applied to the file name of the attachment.
*/ inline bool IncludeAttachmentFilePatternsHasBeenSet() const { return m_includeAttachmentFilePatternsHasBeenSet; } /** *A list of regular expression patterns to include certain attachments of * catalogs in your ServiceNow. Item that match the patterns are included in the * index. Items that don't match the patterns are excluded from the index. If an * item matches both an inclusion and exclusion pattern, the exclusion pattern * takes precedence and the item isn't included in the index.
The regex is * applied to the file name of the attachment.
*/ inline void SetIncludeAttachmentFilePatterns(const Aws::VectorA list of regular expression patterns to include certain attachments of * catalogs in your ServiceNow. Item that match the patterns are included in the * index. Items that don't match the patterns are excluded from the index. If an * item matches both an inclusion and exclusion pattern, the exclusion pattern * takes precedence and the item isn't included in the index.
The regex is * applied to the file name of the attachment.
*/ inline void SetIncludeAttachmentFilePatterns(Aws::VectorA list of regular expression patterns to include certain attachments of * catalogs in your ServiceNow. Item that match the patterns are included in the * index. Items that don't match the patterns are excluded from the index. If an * item matches both an inclusion and exclusion pattern, the exclusion pattern * takes precedence and the item isn't included in the index.
The regex is * applied to the file name of the attachment.
*/ inline ServiceNowServiceCatalogConfiguration& WithIncludeAttachmentFilePatterns(const Aws::VectorA list of regular expression patterns to include certain attachments of * catalogs in your ServiceNow. Item that match the patterns are included in the * index. Items that don't match the patterns are excluded from the index. If an * item matches both an inclusion and exclusion pattern, the exclusion pattern * takes precedence and the item isn't included in the index.
The regex is * applied to the file name of the attachment.
*/ inline ServiceNowServiceCatalogConfiguration& WithIncludeAttachmentFilePatterns(Aws::VectorA list of regular expression patterns to include certain attachments of * catalogs in your ServiceNow. Item that match the patterns are included in the * index. Items that don't match the patterns are excluded from the index. If an * item matches both an inclusion and exclusion pattern, the exclusion pattern * takes precedence and the item isn't included in the index.
The regex is * applied to the file name of the attachment.
*/ inline ServiceNowServiceCatalogConfiguration& AddIncludeAttachmentFilePatterns(const Aws::String& value) { m_includeAttachmentFilePatternsHasBeenSet = true; m_includeAttachmentFilePatterns.push_back(value); return *this; } /** *A list of regular expression patterns to include certain attachments of * catalogs in your ServiceNow. Item that match the patterns are included in the * index. Items that don't match the patterns are excluded from the index. If an * item matches both an inclusion and exclusion pattern, the exclusion pattern * takes precedence and the item isn't included in the index.
The regex is * applied to the file name of the attachment.
*/ inline ServiceNowServiceCatalogConfiguration& AddIncludeAttachmentFilePatterns(Aws::String&& value) { m_includeAttachmentFilePatternsHasBeenSet = true; m_includeAttachmentFilePatterns.push_back(std::move(value)); return *this; } /** *A list of regular expression patterns to include certain attachments of * catalogs in your ServiceNow. Item that match the patterns are included in the * index. Items that don't match the patterns are excluded from the index. If an * item matches both an inclusion and exclusion pattern, the exclusion pattern * takes precedence and the item isn't included in the index.
The regex is * applied to the file name of the attachment.
*/ inline ServiceNowServiceCatalogConfiguration& AddIncludeAttachmentFilePatterns(const char* value) { m_includeAttachmentFilePatternsHasBeenSet = true; m_includeAttachmentFilePatterns.push_back(value); return *this; } /** *A list of regular expression patterns to exclude certain attachments of * catalogs in your ServiceNow. Item that match the patterns are excluded from the * index. Items that don't match the patterns are included in the index. If an item * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the item isn't included in the index.
The regex is applied * to the file name of the attachment.
*/ inline const Aws::VectorA list of regular expression patterns to exclude certain attachments of * catalogs in your ServiceNow. Item that match the patterns are excluded from the * index. Items that don't match the patterns are included in the index. If an item * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the item isn't included in the index.
The regex is applied * to the file name of the attachment.
*/ inline bool ExcludeAttachmentFilePatternsHasBeenSet() const { return m_excludeAttachmentFilePatternsHasBeenSet; } /** *A list of regular expression patterns to exclude certain attachments of * catalogs in your ServiceNow. Item that match the patterns are excluded from the * index. Items that don't match the patterns are included in the index. If an item * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the item isn't included in the index.
The regex is applied * to the file name of the attachment.
*/ inline void SetExcludeAttachmentFilePatterns(const Aws::VectorA list of regular expression patterns to exclude certain attachments of * catalogs in your ServiceNow. Item that match the patterns are excluded from the * index. Items that don't match the patterns are included in the index. If an item * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the item isn't included in the index.
The regex is applied * to the file name of the attachment.
*/ inline void SetExcludeAttachmentFilePatterns(Aws::VectorA list of regular expression patterns to exclude certain attachments of * catalogs in your ServiceNow. Item that match the patterns are excluded from the * index. Items that don't match the patterns are included in the index. If an item * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the item isn't included in the index.
The regex is applied * to the file name of the attachment.
*/ inline ServiceNowServiceCatalogConfiguration& WithExcludeAttachmentFilePatterns(const Aws::VectorA list of regular expression patterns to exclude certain attachments of * catalogs in your ServiceNow. Item that match the patterns are excluded from the * index. Items that don't match the patterns are included in the index. If an item * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the item isn't included in the index.
The regex is applied * to the file name of the attachment.
*/ inline ServiceNowServiceCatalogConfiguration& WithExcludeAttachmentFilePatterns(Aws::VectorA list of regular expression patterns to exclude certain attachments of * catalogs in your ServiceNow. Item that match the patterns are excluded from the * index. Items that don't match the patterns are included in the index. If an item * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the item isn't included in the index.
The regex is applied * to the file name of the attachment.
*/ inline ServiceNowServiceCatalogConfiguration& AddExcludeAttachmentFilePatterns(const Aws::String& value) { m_excludeAttachmentFilePatternsHasBeenSet = true; m_excludeAttachmentFilePatterns.push_back(value); return *this; } /** *A list of regular expression patterns to exclude certain attachments of * catalogs in your ServiceNow. Item that match the patterns are excluded from the * index. Items that don't match the patterns are included in the index. If an item * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the item isn't included in the index.
The regex is applied * to the file name of the attachment.
*/ inline ServiceNowServiceCatalogConfiguration& AddExcludeAttachmentFilePatterns(Aws::String&& value) { m_excludeAttachmentFilePatternsHasBeenSet = true; m_excludeAttachmentFilePatterns.push_back(std::move(value)); return *this; } /** *A list of regular expression patterns to exclude certain attachments of * catalogs in your ServiceNow. Item that match the patterns are excluded from the * index. Items that don't match the patterns are included in the index. If an item * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the item isn't included in the index.
The regex is applied * to the file name of the attachment.
*/ inline ServiceNowServiceCatalogConfiguration& AddExcludeAttachmentFilePatterns(const char* value) { m_excludeAttachmentFilePatternsHasBeenSet = true; m_excludeAttachmentFilePatterns.push_back(value); return *this; } /** *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 ServiceNowServiceCatalogConfiguration& 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 ServiceNowServiceCatalogConfiguration& 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 ServiceNowServiceCatalogConfiguration& 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 ServiceNowServiceCatalogConfiguration& 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 ServiceNowServiceCatalogConfiguration& 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 ServiceNowServiceCatalogConfiguration& WithDocumentTitleFieldName(const char* value) { SetDocumentTitleFieldName(value); return *this;} /** *Maps attributes or field names of catalogs to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to ServiceNow fields. For more information, see Mapping
* data source fields. The ServiceNow data source field names must exist in
* your ServiceNow custom metadata.
Maps attributes or field names of catalogs to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to ServiceNow fields. For more information, see Mapping
* data source fields. The ServiceNow data source field names must exist in
* your ServiceNow custom metadata.
Maps attributes or field names of catalogs to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to ServiceNow fields. For more information, see Mapping
* data source fields. The ServiceNow data source field names must exist in
* your ServiceNow custom metadata.
Maps attributes or field names of catalogs to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to ServiceNow fields. For more information, see Mapping
* data source fields. The ServiceNow data source field names must exist in
* your ServiceNow custom metadata.
Maps attributes or field names of catalogs to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to ServiceNow fields. For more information, see Mapping
* data source fields. The ServiceNow data source field names must exist in
* your ServiceNow custom metadata.
Maps attributes or field names of catalogs to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to ServiceNow fields. For more information, see Mapping
* data source fields. The ServiceNow data source field names must exist in
* your ServiceNow custom metadata.
Maps attributes or field names of catalogs to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to ServiceNow fields. For more information, see Mapping
* data source fields. The ServiceNow data source field names must exist in
* your ServiceNow custom metadata.
Maps attributes or field names of catalogs to Amazon Kendra index field
* names. To create custom fields, use the UpdateIndex
API before you
* map to ServiceNow fields. For more information, see Mapping
* data source fields. The ServiceNow data source field names must exist in
* your ServiceNow custom metadata.