/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 Salesforce as your data * source.

See Also:

AWS * API Reference

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

The instance URL for the Salesforce site that you want to index.

*/ inline const Aws::String& GetServerUrl() const{ return m_serverUrl; } /** *

The instance URL for the Salesforce site that you want to index.

*/ inline bool ServerUrlHasBeenSet() const { return m_serverUrlHasBeenSet; } /** *

The instance URL for the Salesforce site that you want to index.

*/ inline void SetServerUrl(const Aws::String& value) { m_serverUrlHasBeenSet = true; m_serverUrl = value; } /** *

The instance URL for the Salesforce site that you want to index.

*/ inline void SetServerUrl(Aws::String&& value) { m_serverUrlHasBeenSet = true; m_serverUrl = std::move(value); } /** *

The instance URL for the Salesforce site that you want to index.

*/ inline void SetServerUrl(const char* value) { m_serverUrlHasBeenSet = true; m_serverUrl.assign(value); } /** *

The instance URL for the Salesforce site that you want to index.

*/ inline SalesforceConfiguration& WithServerUrl(const Aws::String& value) { SetServerUrl(value); return *this;} /** *

The instance URL for the Salesforce site that you want to index.

*/ inline SalesforceConfiguration& WithServerUrl(Aws::String&& value) { SetServerUrl(std::move(value)); return *this;} /** *

The instance URL for the Salesforce site that you want to index.

*/ inline SalesforceConfiguration& WithServerUrl(const char* value) { SetServerUrl(value); return *this;} /** *

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

  • *

    authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an * OAUTH token.

  • consumerKey - The application public key * generated when you created your Salesforce application.

  • *

    consumerSecret - The application private key generated when you created your * Salesforce application.

  • password - The password associated * with the user logging in to the Salesforce instance.

  • *

    securityToken - The token associated with the user logging in to the * Salesforce instance.

  • username - The user name of the user * logging in to the Salesforce instance.

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

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

  • *

    authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an * OAUTH token.

  • consumerKey - The application public key * generated when you created your Salesforce application.

  • *

    consumerSecret - The application private key generated when you created your * Salesforce application.

  • password - The password associated * with the user logging in to the Salesforce instance.

  • *

    securityToken - The token associated with the user logging in to the * Salesforce instance.

  • username - The user name of the user * logging in to the Salesforce instance.

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

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

  • *

    authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an * OAUTH token.

  • consumerKey - The application public key * generated when you created your Salesforce application.

  • *

    consumerSecret - The application private key generated when you created your * Salesforce application.

  • password - The password associated * with the user logging in to the Salesforce instance.

  • *

    securityToken - The token associated with the user logging in to the * Salesforce instance.

  • username - The user name of the user * logging in to the Salesforce instance.

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

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

  • *

    authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an * OAUTH token.

  • consumerKey - The application public key * generated when you created your Salesforce application.

  • *

    consumerSecret - The application private key generated when you created your * Salesforce application.

  • password - The password associated * with the user logging in to the Salesforce instance.

  • *

    securityToken - The token associated with the user logging in to the * Salesforce instance.

  • username - The user name of the user * logging in to the Salesforce instance.

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

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

  • *

    authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an * OAUTH token.

  • consumerKey - The application public key * generated when you created your Salesforce application.

  • *

    consumerSecret - The application private key generated when you created your * Salesforce application.

  • password - The password associated * with the user logging in to the Salesforce instance.

  • *

    securityToken - The token associated with the user logging in to the * Salesforce instance.

  • username - The user name of the user * logging in to the Salesforce instance.

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

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

  • *

    authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an * OAUTH token.

  • consumerKey - The application public key * generated when you created your Salesforce application.

  • *

    consumerSecret - The application private key generated when you created your * Salesforce application.

  • password - The password associated * with the user logging in to the Salesforce instance.

  • *

    securityToken - The token associated with the user logging in to the * Salesforce instance.

  • username - The user name of the user * logging in to the Salesforce instance.

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

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

  • *

    authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an * OAUTH token.

  • consumerKey - The application public key * generated when you created your Salesforce application.

  • *

    consumerSecret - The application private key generated when you created your * Salesforce application.

  • password - The password associated * with the user logging in to the Salesforce instance.

  • *

    securityToken - The token associated with the user logging in to the * Salesforce instance.

  • username - The user name of the user * logging in to the Salesforce instance.

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

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

  • *

    authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an * OAUTH token.

  • consumerKey - The application public key * generated when you created your Salesforce application.

  • *

    consumerSecret - The application private key generated when you created your * Salesforce application.

  • password - The password associated * with the user logging in to the Salesforce instance.

  • *

    securityToken - The token associated with the user logging in to the * Salesforce instance.

  • username - The user name of the user * logging in to the Salesforce instance.

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

Configuration of the Salesforce standard objects that Amazon Kendra * indexes.

*/ inline const Aws::Vector& GetStandardObjectConfigurations() const{ return m_standardObjectConfigurations; } /** *

Configuration of the Salesforce standard objects that Amazon Kendra * indexes.

*/ inline bool StandardObjectConfigurationsHasBeenSet() const { return m_standardObjectConfigurationsHasBeenSet; } /** *

Configuration of the Salesforce standard objects that Amazon Kendra * indexes.

*/ inline void SetStandardObjectConfigurations(const Aws::Vector& value) { m_standardObjectConfigurationsHasBeenSet = true; m_standardObjectConfigurations = value; } /** *

Configuration of the Salesforce standard objects that Amazon Kendra * indexes.

*/ inline void SetStandardObjectConfigurations(Aws::Vector&& value) { m_standardObjectConfigurationsHasBeenSet = true; m_standardObjectConfigurations = std::move(value); } /** *

Configuration of the Salesforce standard objects that Amazon Kendra * indexes.

*/ inline SalesforceConfiguration& WithStandardObjectConfigurations(const Aws::Vector& value) { SetStandardObjectConfigurations(value); return *this;} /** *

Configuration of the Salesforce standard objects that Amazon Kendra * indexes.

*/ inline SalesforceConfiguration& WithStandardObjectConfigurations(Aws::Vector&& value) { SetStandardObjectConfigurations(std::move(value)); return *this;} /** *

Configuration of the Salesforce standard objects that Amazon Kendra * indexes.

*/ inline SalesforceConfiguration& AddStandardObjectConfigurations(const SalesforceStandardObjectConfiguration& value) { m_standardObjectConfigurationsHasBeenSet = true; m_standardObjectConfigurations.push_back(value); return *this; } /** *

Configuration of the Salesforce standard objects that Amazon Kendra * indexes.

*/ inline SalesforceConfiguration& AddStandardObjectConfigurations(SalesforceStandardObjectConfiguration&& value) { m_standardObjectConfigurationsHasBeenSet = true; m_standardObjectConfigurations.push_back(std::move(value)); return *this; } /** *

Configuration information for the knowledge article types that Amazon Kendra * indexes. Amazon Kendra indexes standard knowledge articles and the standard * fields of knowledge articles, or the custom fields of custom knowledge articles, * but not both.

*/ inline const SalesforceKnowledgeArticleConfiguration& GetKnowledgeArticleConfiguration() const{ return m_knowledgeArticleConfiguration; } /** *

Configuration information for the knowledge article types that Amazon Kendra * indexes. Amazon Kendra indexes standard knowledge articles and the standard * fields of knowledge articles, or the custom fields of custom knowledge articles, * but not both.

*/ inline bool KnowledgeArticleConfigurationHasBeenSet() const { return m_knowledgeArticleConfigurationHasBeenSet; } /** *

Configuration information for the knowledge article types that Amazon Kendra * indexes. Amazon Kendra indexes standard knowledge articles and the standard * fields of knowledge articles, or the custom fields of custom knowledge articles, * but not both.

*/ inline void SetKnowledgeArticleConfiguration(const SalesforceKnowledgeArticleConfiguration& value) { m_knowledgeArticleConfigurationHasBeenSet = true; m_knowledgeArticleConfiguration = value; } /** *

Configuration information for the knowledge article types that Amazon Kendra * indexes. Amazon Kendra indexes standard knowledge articles and the standard * fields of knowledge articles, or the custom fields of custom knowledge articles, * but not both.

*/ inline void SetKnowledgeArticleConfiguration(SalesforceKnowledgeArticleConfiguration&& value) { m_knowledgeArticleConfigurationHasBeenSet = true; m_knowledgeArticleConfiguration = std::move(value); } /** *

Configuration information for the knowledge article types that Amazon Kendra * indexes. Amazon Kendra indexes standard knowledge articles and the standard * fields of knowledge articles, or the custom fields of custom knowledge articles, * but not both.

*/ inline SalesforceConfiguration& WithKnowledgeArticleConfiguration(const SalesforceKnowledgeArticleConfiguration& value) { SetKnowledgeArticleConfiguration(value); return *this;} /** *

Configuration information for the knowledge article types that Amazon Kendra * indexes. Amazon Kendra indexes standard knowledge articles and the standard * fields of knowledge articles, or the custom fields of custom knowledge articles, * but not both.

*/ inline SalesforceConfiguration& WithKnowledgeArticleConfiguration(SalesforceKnowledgeArticleConfiguration&& value) { SetKnowledgeArticleConfiguration(std::move(value)); return *this;} /** *

Configuration information for Salesforce chatter feeds.

*/ inline const SalesforceChatterFeedConfiguration& GetChatterFeedConfiguration() const{ return m_chatterFeedConfiguration; } /** *

Configuration information for Salesforce chatter feeds.

*/ inline bool ChatterFeedConfigurationHasBeenSet() const { return m_chatterFeedConfigurationHasBeenSet; } /** *

Configuration information for Salesforce chatter feeds.

*/ inline void SetChatterFeedConfiguration(const SalesforceChatterFeedConfiguration& value) { m_chatterFeedConfigurationHasBeenSet = true; m_chatterFeedConfiguration = value; } /** *

Configuration information for Salesforce chatter feeds.

*/ inline void SetChatterFeedConfiguration(SalesforceChatterFeedConfiguration&& value) { m_chatterFeedConfigurationHasBeenSet = true; m_chatterFeedConfiguration = std::move(value); } /** *

Configuration information for Salesforce chatter feeds.

*/ inline SalesforceConfiguration& WithChatterFeedConfiguration(const SalesforceChatterFeedConfiguration& value) { SetChatterFeedConfiguration(value); return *this;} /** *

Configuration information for Salesforce chatter feeds.

*/ inline SalesforceConfiguration& WithChatterFeedConfiguration(SalesforceChatterFeedConfiguration&& value) { SetChatterFeedConfiguration(std::move(value)); return *this;} /** *

Indicates whether Amazon Kendra should index attachments to Salesforce * objects.

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

Indicates whether Amazon Kendra should index attachments to Salesforce * objects.

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

Indicates whether Amazon Kendra should index attachments to Salesforce * objects.

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

Indicates whether Amazon Kendra should index attachments to Salesforce * objects.

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

Configuration information for processing attachments to Salesforce standard * objects.

*/ inline const SalesforceStandardObjectAttachmentConfiguration& GetStandardObjectAttachmentConfiguration() const{ return m_standardObjectAttachmentConfiguration; } /** *

Configuration information for processing attachments to Salesforce standard * objects.

*/ inline bool StandardObjectAttachmentConfigurationHasBeenSet() const { return m_standardObjectAttachmentConfigurationHasBeenSet; } /** *

Configuration information for processing attachments to Salesforce standard * objects.

*/ inline void SetStandardObjectAttachmentConfiguration(const SalesforceStandardObjectAttachmentConfiguration& value) { m_standardObjectAttachmentConfigurationHasBeenSet = true; m_standardObjectAttachmentConfiguration = value; } /** *

Configuration information for processing attachments to Salesforce standard * objects.

*/ inline void SetStandardObjectAttachmentConfiguration(SalesforceStandardObjectAttachmentConfiguration&& value) { m_standardObjectAttachmentConfigurationHasBeenSet = true; m_standardObjectAttachmentConfiguration = std::move(value); } /** *

Configuration information for processing attachments to Salesforce standard * objects.

*/ inline SalesforceConfiguration& WithStandardObjectAttachmentConfiguration(const SalesforceStandardObjectAttachmentConfiguration& value) { SetStandardObjectAttachmentConfiguration(value); return *this;} /** *

Configuration information for processing attachments to Salesforce standard * objects.

*/ inline SalesforceConfiguration& WithStandardObjectAttachmentConfiguration(SalesforceStandardObjectAttachmentConfiguration&& value) { SetStandardObjectAttachmentConfiguration(std::move(value)); return *this;} /** *

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

The * pattern is applied to the name of the attached file.

*/ inline const Aws::Vector& GetIncludeAttachmentFilePatterns() const{ return m_includeAttachmentFilePatterns; } /** *

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

The * pattern is applied to the name of the attached file.

*/ inline bool IncludeAttachmentFilePatternsHasBeenSet() const { return m_includeAttachmentFilePatternsHasBeenSet; } /** *

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

The * pattern is applied to the name of the attached file.

*/ inline void SetIncludeAttachmentFilePatterns(const Aws::Vector& value) { m_includeAttachmentFilePatternsHasBeenSet = true; m_includeAttachmentFilePatterns = value; } /** *

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

The * pattern is applied to the name of the attached file.

*/ inline void SetIncludeAttachmentFilePatterns(Aws::Vector&& value) { m_includeAttachmentFilePatternsHasBeenSet = true; m_includeAttachmentFilePatterns = std::move(value); } /** *

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

The * pattern is applied to the name of the attached file.

*/ inline SalesforceConfiguration& WithIncludeAttachmentFilePatterns(const Aws::Vector& value) { SetIncludeAttachmentFilePatterns(value); return *this;} /** *

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

The * pattern is applied to the name of the attached file.

*/ inline SalesforceConfiguration& WithIncludeAttachmentFilePatterns(Aws::Vector&& value) { SetIncludeAttachmentFilePatterns(std::move(value)); return *this;} /** *

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

The * pattern is applied to the name of the attached file.

*/ inline SalesforceConfiguration& AddIncludeAttachmentFilePatterns(const Aws::String& value) { m_includeAttachmentFilePatternsHasBeenSet = true; m_includeAttachmentFilePatterns.push_back(value); return *this; } /** *

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

The * pattern is applied to the name of the attached file.

*/ inline SalesforceConfiguration& 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 documents in your * Salesforce. Documents that match the patterns are included in the index. * Documents that don't match the patterns are excluded from the index. If a * document matches both an inclusion and exclusion pattern, the exclusion pattern * takes precedence and the document isn't included in the index.

The * pattern is applied to the name of the attached file.

*/ inline SalesforceConfiguration& AddIncludeAttachmentFilePatterns(const char* value) { m_includeAttachmentFilePatternsHasBeenSet = true; m_includeAttachmentFilePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to exclude certain documents in your * Salesforce. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.

The pattern is * applied to the name of the attached file.

*/ inline const Aws::Vector& GetExcludeAttachmentFilePatterns() const{ return m_excludeAttachmentFilePatterns; } /** *

A list of regular expression patterns to exclude certain documents in your * Salesforce. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.

The pattern is * applied to the name of the attached file.

*/ inline bool ExcludeAttachmentFilePatternsHasBeenSet() const { return m_excludeAttachmentFilePatternsHasBeenSet; } /** *

A list of regular expression patterns to exclude certain documents in your * Salesforce. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.

The pattern is * applied to the name of the attached file.

*/ inline void SetExcludeAttachmentFilePatterns(const Aws::Vector& value) { m_excludeAttachmentFilePatternsHasBeenSet = true; m_excludeAttachmentFilePatterns = value; } /** *

A list of regular expression patterns to exclude certain documents in your * Salesforce. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.

The pattern is * applied to the name of the attached file.

*/ inline void SetExcludeAttachmentFilePatterns(Aws::Vector&& value) { m_excludeAttachmentFilePatternsHasBeenSet = true; m_excludeAttachmentFilePatterns = std::move(value); } /** *

A list of regular expression patterns to exclude certain documents in your * Salesforce. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.

The pattern is * applied to the name of the attached file.

*/ inline SalesforceConfiguration& WithExcludeAttachmentFilePatterns(const Aws::Vector& value) { SetExcludeAttachmentFilePatterns(value); return *this;} /** *

A list of regular expression patterns to exclude certain documents in your * Salesforce. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.

The pattern is * applied to the name of the attached file.

*/ inline SalesforceConfiguration& WithExcludeAttachmentFilePatterns(Aws::Vector&& value) { SetExcludeAttachmentFilePatterns(std::move(value)); return *this;} /** *

A list of regular expression patterns to exclude certain documents in your * Salesforce. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.

The pattern is * applied to the name of the attached file.

*/ inline SalesforceConfiguration& AddExcludeAttachmentFilePatterns(const Aws::String& value) { m_excludeAttachmentFilePatternsHasBeenSet = true; m_excludeAttachmentFilePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to exclude certain documents in your * Salesforce. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.

The pattern is * applied to the name of the attached file.

*/ inline SalesforceConfiguration& 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 documents in your * Salesforce. Documents that match the patterns are excluded from the index. * Documents that don't match the patterns are included in the index. If a document * matches both an inclusion and exclusion pattern, the exclusion pattern takes * precedence and the document isn't included in the index.

The pattern is * applied to the name of the attached file.

*/ inline SalesforceConfiguration& AddExcludeAttachmentFilePatterns(const char* value) { m_excludeAttachmentFilePatternsHasBeenSet = true; m_excludeAttachmentFilePatterns.push_back(value); return *this; } private: Aws::String m_serverUrl; bool m_serverUrlHasBeenSet = false; Aws::String m_secretArn; bool m_secretArnHasBeenSet = false; Aws::Vector m_standardObjectConfigurations; bool m_standardObjectConfigurationsHasBeenSet = false; SalesforceKnowledgeArticleConfiguration m_knowledgeArticleConfiguration; bool m_knowledgeArticleConfigurationHasBeenSet = false; SalesforceChatterFeedConfiguration m_chatterFeedConfiguration; bool m_chatterFeedConfigurationHasBeenSet = false; bool m_crawlAttachments; bool m_crawlAttachmentsHasBeenSet = false; SalesforceStandardObjectAttachmentConfiguration m_standardObjectAttachmentConfiguration; bool m_standardObjectAttachmentConfigurationHasBeenSet = false; Aws::Vector m_includeAttachmentFilePatterns; bool m_includeAttachmentFilePatternsHasBeenSet = false; Aws::Vector m_excludeAttachmentFilePatterns; bool m_excludeAttachmentFilePatternsHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws