/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace kendra { namespace Model { /** *

Provides the configuration information to connect to Quip as your data * source.

See Also:

AWS * API Reference

*/ class QuipConfiguration { public: AWS_KENDRA_API QuipConfiguration(); AWS_KENDRA_API QuipConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_KENDRA_API QuipConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Quip site domain. For example, * https://quip-company.quipdomain.com/browse. The domain in this example is * "quipdomain".

*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *

The Quip site domain. For example, * https://quip-company.quipdomain.com/browse. The domain in this example is * "quipdomain".

*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *

The Quip site domain. For example, * https://quip-company.quipdomain.com/browse. The domain in this example is * "quipdomain".

*/ inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } /** *

The Quip site domain. For example, * https://quip-company.quipdomain.com/browse. The domain in this example is * "quipdomain".

*/ inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *

The Quip site domain. For example, * https://quip-company.quipdomain.com/browse. The domain in this example is * "quipdomain".

*/ inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } /** *

The Quip site domain. For example, * https://quip-company.quipdomain.com/browse. The domain in this example is * "quipdomain".

*/ inline QuipConfiguration& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *

The Quip site domain. For example, * https://quip-company.quipdomain.com/browse. The domain in this example is * "quipdomain".

*/ inline QuipConfiguration& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *

The Quip site domain. For example, * https://quip-company.quipdomain.com/browse. The domain in this example is * "quipdomain".

*/ inline QuipConfiguration& WithDomain(const char* value) { SetDomain(value); return *this;} /** *

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the * key-value pairs that are required to connect to your Quip. The secret must * contain a JSON structure with the following keys:

*/ inline const Aws::String& GetSecretArn() const{ return m_secretArn; } /** *

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the * key-value pairs that are required to connect to your Quip. The secret must * contain a JSON structure with the following keys:

*/ inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the * key-value pairs that are required to connect to your Quip. The secret must * contain a JSON structure with the following keys:

*/ inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } /** *

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the * key-value pairs that are required to connect to your Quip. The secret must * contain a JSON structure with the following keys:

*/ inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the * key-value pairs that are required to connect to your Quip. The secret must * contain a JSON structure with the following keys:

*/ inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); } /** *

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the * key-value pairs that are required to connect to your Quip. The secret must * contain a JSON structure with the following keys:

*/ inline QuipConfiguration& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the * key-value pairs that are required to connect to your Quip. The secret must * contain a JSON structure with the following keys:

*/ inline QuipConfiguration& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the * key-value pairs that are required to connect to your Quip. The secret must * contain a JSON structure with the following keys:

*/ inline QuipConfiguration& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} /** *

TRUE to index file comments.

*/ inline bool GetCrawlFileComments() const{ return m_crawlFileComments; } /** *

TRUE to index file comments.

*/ inline bool CrawlFileCommentsHasBeenSet() const { return m_crawlFileCommentsHasBeenSet; } /** *

TRUE to index file comments.

*/ inline void SetCrawlFileComments(bool value) { m_crawlFileCommentsHasBeenSet = true; m_crawlFileComments = value; } /** *

TRUE to index file comments.

*/ inline QuipConfiguration& WithCrawlFileComments(bool value) { SetCrawlFileComments(value); return *this;} /** *

TRUE to index the contents of chat rooms.

*/ inline bool GetCrawlChatRooms() const{ return m_crawlChatRooms; } /** *

TRUE to index the contents of chat rooms.

*/ inline bool CrawlChatRoomsHasBeenSet() const { return m_crawlChatRoomsHasBeenSet; } /** *

TRUE to index the contents of chat rooms.

*/ inline void SetCrawlChatRooms(bool value) { m_crawlChatRoomsHasBeenSet = true; m_crawlChatRooms = value; } /** *

TRUE to index the contents of chat rooms.

*/ inline QuipConfiguration& WithCrawlChatRooms(bool value) { SetCrawlChatRooms(value); return *this;} /** *

TRUE to index attachments.

*/ inline bool GetCrawlAttachments() const{ return m_crawlAttachments; } /** *

TRUE to index attachments.

*/ inline bool CrawlAttachmentsHasBeenSet() const { return m_crawlAttachmentsHasBeenSet; } /** *

TRUE to index attachments.

*/ inline void SetCrawlAttachments(bool value) { m_crawlAttachmentsHasBeenSet = true; m_crawlAttachments = value; } /** *

TRUE to index attachments.

*/ inline QuipConfiguration& WithCrawlAttachments(bool value) { SetCrawlAttachments(value); return *this;} /** *

The identifiers of the Quip folders you want to index. You can find the * folder ID in your browser URL when you access your folder in Quip. For example, * https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder * ID in this example is "zlLuOVNSarTL".

*/ inline const Aws::Vector& GetFolderIds() const{ return m_folderIds; } /** *

The identifiers of the Quip folders you want to index. You can find the * folder ID in your browser URL when you access your folder in Quip. For example, * https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder * ID in this example is "zlLuOVNSarTL".

*/ inline bool FolderIdsHasBeenSet() const { return m_folderIdsHasBeenSet; } /** *

The identifiers of the Quip folders you want to index. You can find the * folder ID in your browser URL when you access your folder in Quip. For example, * https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder * ID in this example is "zlLuOVNSarTL".

*/ inline void SetFolderIds(const Aws::Vector& value) { m_folderIdsHasBeenSet = true; m_folderIds = value; } /** *

The identifiers of the Quip folders you want to index. You can find the * folder ID in your browser URL when you access your folder in Quip. For example, * https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder * ID in this example is "zlLuOVNSarTL".

*/ inline void SetFolderIds(Aws::Vector&& value) { m_folderIdsHasBeenSet = true; m_folderIds = std::move(value); } /** *

The identifiers of the Quip folders you want to index. You can find the * folder ID in your browser URL when you access your folder in Quip. For example, * https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder * ID in this example is "zlLuOVNSarTL".

*/ inline QuipConfiguration& WithFolderIds(const Aws::Vector& value) { SetFolderIds(value); return *this;} /** *

The identifiers of the Quip folders you want to index. You can find the * folder ID in your browser URL when you access your folder in Quip. For example, * https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder * ID in this example is "zlLuOVNSarTL".

*/ inline QuipConfiguration& WithFolderIds(Aws::Vector&& value) { SetFolderIds(std::move(value)); return *this;} /** *

The identifiers of the Quip folders you want to index. You can find the * folder ID in your browser URL when you access your folder in Quip. For example, * https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder * ID in this example is "zlLuOVNSarTL".

*/ inline QuipConfiguration& AddFolderIds(const Aws::String& value) { m_folderIdsHasBeenSet = true; m_folderIds.push_back(value); return *this; } /** *

The identifiers of the Quip folders you want to index. You can find the * folder ID in your browser URL when you access your folder in Quip. For example, * https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder * ID in this example is "zlLuOVNSarTL".

*/ inline QuipConfiguration& AddFolderIds(Aws::String&& value) { m_folderIdsHasBeenSet = true; m_folderIds.push_back(std::move(value)); return *this; } /** *

The identifiers of the Quip folders you want to index. You can find the * folder ID in your browser URL when you access your folder in Quip. For example, * https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder * ID in this example is "zlLuOVNSarTL".

*/ inline QuipConfiguration& AddFolderIds(const char* value) { m_folderIdsHasBeenSet = true; m_folderIds.push_back(value); return *this; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip threads to Amazon Kendra index field names. To * create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline const Aws::Vector& GetThreadFieldMappings() const{ return m_threadFieldMappings; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip threads to Amazon Kendra index field names. To * create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline bool ThreadFieldMappingsHasBeenSet() const { return m_threadFieldMappingsHasBeenSet; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip threads to Amazon Kendra index field names. To * create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline void SetThreadFieldMappings(const Aws::Vector& value) { m_threadFieldMappingsHasBeenSet = true; m_threadFieldMappings = value; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip threads to Amazon Kendra index field names. To * create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline void SetThreadFieldMappings(Aws::Vector&& value) { m_threadFieldMappingsHasBeenSet = true; m_threadFieldMappings = std::move(value); } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip threads to Amazon Kendra index field names. To * create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& WithThreadFieldMappings(const Aws::Vector& value) { SetThreadFieldMappings(value); return *this;} /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip threads to Amazon Kendra index field names. To * create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& WithThreadFieldMappings(Aws::Vector&& value) { SetThreadFieldMappings(std::move(value)); return *this;} /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip threads to Amazon Kendra index field names. To * create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& AddThreadFieldMappings(const DataSourceToIndexFieldMapping& value) { m_threadFieldMappingsHasBeenSet = true; m_threadFieldMappings.push_back(value); return *this; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip threads to Amazon Kendra index field names. To * create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& AddThreadFieldMappings(DataSourceToIndexFieldMapping&& value) { m_threadFieldMappingsHasBeenSet = true; m_threadFieldMappings.push_back(std::move(value)); return *this; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip messages to Amazon Kendra index field names. * To create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline const Aws::Vector& GetMessageFieldMappings() const{ return m_messageFieldMappings; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip messages to Amazon Kendra index field names. * To create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline bool MessageFieldMappingsHasBeenSet() const { return m_messageFieldMappingsHasBeenSet; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip messages to Amazon Kendra index field names. * To create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline void SetMessageFieldMappings(const Aws::Vector& value) { m_messageFieldMappingsHasBeenSet = true; m_messageFieldMappings = value; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip messages to Amazon Kendra index field names. * To create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline void SetMessageFieldMappings(Aws::Vector&& value) { m_messageFieldMappingsHasBeenSet = true; m_messageFieldMappings = std::move(value); } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip messages to Amazon Kendra index field names. * To create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& WithMessageFieldMappings(const Aws::Vector& value) { SetMessageFieldMappings(value); return *this;} /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip messages to Amazon Kendra index field names. * To create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& WithMessageFieldMappings(Aws::Vector&& value) { SetMessageFieldMappings(std::move(value)); return *this;} /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip messages to Amazon Kendra index field names. * To create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& AddMessageFieldMappings(const DataSourceToIndexFieldMapping& value) { m_messageFieldMappingsHasBeenSet = true; m_messageFieldMappings.push_back(value); return *this; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip messages to Amazon Kendra index field names. * To create custom fields, use the UpdateIndex API before you map to * Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& AddMessageFieldMappings(DataSourceToIndexFieldMapping&& value) { m_messageFieldMappingsHasBeenSet = true; m_messageFieldMappings.push_back(std::move(value)); return *this; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip attachments to Amazon Kendra index field * names. To create custom fields, use the UpdateIndex API before you * map to Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline const Aws::Vector& GetAttachmentFieldMappings() const{ return m_attachmentFieldMappings; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip attachments to Amazon Kendra index field * names. To create custom fields, use the UpdateIndex API before you * map to Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline bool AttachmentFieldMappingsHasBeenSet() const { return m_attachmentFieldMappingsHasBeenSet; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip attachments to Amazon Kendra index field * names. To create custom fields, use the UpdateIndex API before you * map to Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline void SetAttachmentFieldMappings(const Aws::Vector& value) { m_attachmentFieldMappingsHasBeenSet = true; m_attachmentFieldMappings = value; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip attachments to Amazon Kendra index field * names. To create custom fields, use the UpdateIndex API before you * map to Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline void SetAttachmentFieldMappings(Aws::Vector&& value) { m_attachmentFieldMappingsHasBeenSet = true; m_attachmentFieldMappings = std::move(value); } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip attachments to Amazon Kendra index field * names. To create custom fields, use the UpdateIndex API before you * map to Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& WithAttachmentFieldMappings(const Aws::Vector& value) { SetAttachmentFieldMappings(value); return *this;} /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip attachments to Amazon Kendra index field * names. To create custom fields, use the UpdateIndex API before you * map to Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& WithAttachmentFieldMappings(Aws::Vector&& value) { SetAttachmentFieldMappings(std::move(value)); return *this;} /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip attachments to Amazon Kendra index field * names. To create custom fields, use the UpdateIndex API before you * map to Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& AddAttachmentFieldMappings(const DataSourceToIndexFieldMapping& value) { m_attachmentFieldMappingsHasBeenSet = true; m_attachmentFieldMappings.push_back(value); return *this; } /** *

A list of DataSourceToIndexFieldMapping objects that map * attributes or field names of Quip attachments to Amazon Kendra index field * names. To create custom fields, use the UpdateIndex API before you * map to Quip fields. For more information, see Mapping * data source fields. The Quip field names must exist in your Quip custom * metadata.

*/ inline QuipConfiguration& AddAttachmentFieldMappings(DataSourceToIndexFieldMapping&& value) { m_attachmentFieldMappingsHasBeenSet = true; m_attachmentFieldMappings.push_back(std::move(value)); return *this; } /** *

A list of regular expression patterns to include certain files in your Quip * file system. Files that match the patterns are included in the index. Files that * don't match the patterns are excluded from the index. If a file matches both an * inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline const Aws::Vector& GetInclusionPatterns() const{ return m_inclusionPatterns; } /** *

A list of regular expression patterns to include certain files in your Quip * file system. Files that match the patterns are included in the index. Files that * don't match the patterns are excluded from the index. If a file matches both an * inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline bool InclusionPatternsHasBeenSet() const { return m_inclusionPatternsHasBeenSet; } /** *

A list of regular expression patterns to include certain files in your Quip * file system. Files that match the patterns are included in the index. Files that * don't match the patterns are excluded from the index. If a file matches both an * inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline void SetInclusionPatterns(const Aws::Vector& value) { m_inclusionPatternsHasBeenSet = true; m_inclusionPatterns = value; } /** *

A list of regular expression patterns to include certain files in your Quip * file system. Files that match the patterns are included in the index. Files that * don't match the patterns are excluded from the index. If a file matches both an * inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline void SetInclusionPatterns(Aws::Vector&& value) { m_inclusionPatternsHasBeenSet = true; m_inclusionPatterns = std::move(value); } /** *

A list of regular expression patterns to include certain files in your Quip * file system. Files that match the patterns are included in the index. Files that * don't match the patterns are excluded from the index. If a file matches both an * inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline QuipConfiguration& WithInclusionPatterns(const Aws::Vector& value) { SetInclusionPatterns(value); return *this;} /** *

A list of regular expression patterns to include certain files in your Quip * file system. Files that match the patterns are included in the index. Files that * don't match the patterns are excluded from the index. If a file matches both an * inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline QuipConfiguration& WithInclusionPatterns(Aws::Vector&& value) { SetInclusionPatterns(std::move(value)); return *this;} /** *

A list of regular expression patterns to include certain files in your Quip * file system. Files that match the patterns are included in the index. Files that * don't match the patterns are excluded from the index. If a file matches both an * inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline QuipConfiguration& AddInclusionPatterns(const Aws::String& value) { m_inclusionPatternsHasBeenSet = true; m_inclusionPatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to include certain files in your Quip * file system. Files that match the patterns are included in the index. Files that * don't match the patterns are excluded from the index. If a file matches both an * inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline QuipConfiguration& AddInclusionPatterns(Aws::String&& value) { m_inclusionPatternsHasBeenSet = true; m_inclusionPatterns.push_back(std::move(value)); return *this; } /** *

A list of regular expression patterns to include certain files in your Quip * file system. Files that match the patterns are included in the index. Files that * don't match the patterns are excluded from the index. If a file matches both an * inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline QuipConfiguration& AddInclusionPatterns(const char* value) { m_inclusionPatternsHasBeenSet = true; m_inclusionPatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to exclude certain files in your Quip * file system. Files that match the patterns are excluded from the index. Files * that don’t match the patterns are included in the index. If a file matches both * an inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline const Aws::Vector& GetExclusionPatterns() const{ return m_exclusionPatterns; } /** *

A list of regular expression patterns to exclude certain files in your Quip * file system. Files that match the patterns are excluded from the index. Files * that don’t match the patterns are included in the index. If a file matches both * an inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline bool ExclusionPatternsHasBeenSet() const { return m_exclusionPatternsHasBeenSet; } /** *

A list of regular expression patterns to exclude certain files in your Quip * file system. Files that match the patterns are excluded from the index. Files * that don’t match the patterns are included in the index. If a file matches both * an inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline void SetExclusionPatterns(const Aws::Vector& value) { m_exclusionPatternsHasBeenSet = true; m_exclusionPatterns = value; } /** *

A list of regular expression patterns to exclude certain files in your Quip * file system. Files that match the patterns are excluded from the index. Files * that don’t match the patterns are included in the index. If a file matches both * an inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline void SetExclusionPatterns(Aws::Vector&& value) { m_exclusionPatternsHasBeenSet = true; m_exclusionPatterns = std::move(value); } /** *

A list of regular expression patterns to exclude certain files in your Quip * file system. Files that match the patterns are excluded from the index. Files * that don’t match the patterns are included in the index. If a file matches both * an inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline QuipConfiguration& WithExclusionPatterns(const Aws::Vector& value) { SetExclusionPatterns(value); return *this;} /** *

A list of regular expression patterns to exclude certain files in your Quip * file system. Files that match the patterns are excluded from the index. Files * that don’t match the patterns are included in the index. If a file matches both * an inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline QuipConfiguration& WithExclusionPatterns(Aws::Vector&& value) { SetExclusionPatterns(std::move(value)); return *this;} /** *

A list of regular expression patterns to exclude certain files in your Quip * file system. Files that match the patterns are excluded from the index. Files * that don’t match the patterns are included in the index. If a file matches both * an inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline QuipConfiguration& AddExclusionPatterns(const Aws::String& value) { m_exclusionPatternsHasBeenSet = true; m_exclusionPatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to exclude certain files in your Quip * file system. Files that match the patterns are excluded from the index. Files * that don’t match the patterns are included in the index. If a file matches both * an inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline QuipConfiguration& AddExclusionPatterns(Aws::String&& value) { m_exclusionPatternsHasBeenSet = true; m_exclusionPatterns.push_back(std::move(value)); return *this; } /** *

A list of regular expression patterns to exclude certain files in your Quip * file system. Files that match the patterns are excluded from the index. Files * that don’t match the patterns are included in the index. If a file matches both * an inclusion pattern and an exclusion pattern, the exclusion pattern takes * precedence, and the file isn't included in the index.

*/ inline QuipConfiguration& AddExclusionPatterns(const char* value) { m_exclusionPatternsHasBeenSet = true; m_exclusionPatterns.push_back(value); return *this; } /** *

Configuration information for an Amazon Virtual Private Cloud (VPC) to * connect to your Quip. For more information, see Configuring * a VPC.

*/ inline const DataSourceVpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; } /** *

Configuration information for an Amazon Virtual Private Cloud (VPC) to * connect to your Quip. For more information, see Configuring * a VPC.

*/ inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; } /** *

Configuration information for an Amazon Virtual Private Cloud (VPC) to * connect to your Quip. For more information, see Configuring * a VPC.

*/ inline void SetVpcConfiguration(const DataSourceVpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; } /** *

Configuration information for an Amazon Virtual Private Cloud (VPC) to * connect to your Quip. For more information, see Configuring * a VPC.

*/ inline void SetVpcConfiguration(DataSourceVpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); } /** *

Configuration information for an Amazon Virtual Private Cloud (VPC) to * connect to your Quip. For more information, see Configuring * a VPC.

*/ inline QuipConfiguration& WithVpcConfiguration(const DataSourceVpcConfiguration& value) { SetVpcConfiguration(value); return *this;} /** *

Configuration information for an Amazon Virtual Private Cloud (VPC) to * connect to your Quip. For more information, see Configuring * a VPC.

*/ inline QuipConfiguration& WithVpcConfiguration(DataSourceVpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;} private: Aws::String m_domain; bool m_domainHasBeenSet = false; Aws::String m_secretArn; bool m_secretArnHasBeenSet = false; bool m_crawlFileComments; bool m_crawlFileCommentsHasBeenSet = false; bool m_crawlChatRooms; bool m_crawlChatRoomsHasBeenSet = false; bool m_crawlAttachments; bool m_crawlAttachmentsHasBeenSet = false; Aws::Vector m_folderIds; bool m_folderIdsHasBeenSet = false; Aws::Vector m_threadFieldMappings; bool m_threadFieldMappingsHasBeenSet = false; Aws::Vector m_messageFieldMappings; bool m_messageFieldMappingsHasBeenSet = false; Aws::Vector m_attachmentFieldMappings; bool m_attachmentFieldMappingsHasBeenSet = false; Aws::Vector m_inclusionPatterns; bool m_inclusionPatternsHasBeenSet = false; Aws::Vector m_exclusionPatterns; bool m_exclusionPatternsHasBeenSet = false; DataSourceVpcConfiguration m_vpcConfiguration; bool m_vpcConfigurationHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws