/** * 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 #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 GitHub as your data * source.

See Also:

AWS * API Reference

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

Configuration information to connect to GitHub Enterprise Cloud (SaaS).

*/ inline const SaaSConfiguration& GetSaaSConfiguration() const{ return m_saaSConfiguration; } /** *

Configuration information to connect to GitHub Enterprise Cloud (SaaS).

*/ inline bool SaaSConfigurationHasBeenSet() const { return m_saaSConfigurationHasBeenSet; } /** *

Configuration information to connect to GitHub Enterprise Cloud (SaaS).

*/ inline void SetSaaSConfiguration(const SaaSConfiguration& value) { m_saaSConfigurationHasBeenSet = true; m_saaSConfiguration = value; } /** *

Configuration information to connect to GitHub Enterprise Cloud (SaaS).

*/ inline void SetSaaSConfiguration(SaaSConfiguration&& value) { m_saaSConfigurationHasBeenSet = true; m_saaSConfiguration = std::move(value); } /** *

Configuration information to connect to GitHub Enterprise Cloud (SaaS).

*/ inline GitHubConfiguration& WithSaaSConfiguration(const SaaSConfiguration& value) { SetSaaSConfiguration(value); return *this;} /** *

Configuration information to connect to GitHub Enterprise Cloud (SaaS).

*/ inline GitHubConfiguration& WithSaaSConfiguration(SaaSConfiguration&& value) { SetSaaSConfiguration(std::move(value)); return *this;} /** *

Configuration information to connect to GitHub Enterprise Server (on * premises).

*/ inline const OnPremiseConfiguration& GetOnPremiseConfiguration() const{ return m_onPremiseConfiguration; } /** *

Configuration information to connect to GitHub Enterprise Server (on * premises).

*/ inline bool OnPremiseConfigurationHasBeenSet() const { return m_onPremiseConfigurationHasBeenSet; } /** *

Configuration information to connect to GitHub Enterprise Server (on * premises).

*/ inline void SetOnPremiseConfiguration(const OnPremiseConfiguration& value) { m_onPremiseConfigurationHasBeenSet = true; m_onPremiseConfiguration = value; } /** *

Configuration information to connect to GitHub Enterprise Server (on * premises).

*/ inline void SetOnPremiseConfiguration(OnPremiseConfiguration&& value) { m_onPremiseConfigurationHasBeenSet = true; m_onPremiseConfiguration = std::move(value); } /** *

Configuration information to connect to GitHub Enterprise Server (on * premises).

*/ inline GitHubConfiguration& WithOnPremiseConfiguration(const OnPremiseConfiguration& value) { SetOnPremiseConfiguration(value); return *this;} /** *

Configuration information to connect to GitHub Enterprise Server (on * premises).

*/ inline GitHubConfiguration& WithOnPremiseConfiguration(OnPremiseConfiguration&& value) { SetOnPremiseConfiguration(std::move(value)); return *this;} /** *

The type of GitHub service you want to connect to—GitHub Enterprise Cloud * (SaaS) or GitHub Enterprise Server (on premises).

*/ inline const Type& GetType() const{ return m_type; } /** *

The type of GitHub service you want to connect to—GitHub Enterprise Cloud * (SaaS) or GitHub Enterprise Server (on premises).

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of GitHub service you want to connect to—GitHub Enterprise Cloud * (SaaS) or GitHub Enterprise Server (on premises).

*/ inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of GitHub service you want to connect to—GitHub Enterprise Cloud * (SaaS) or GitHub Enterprise Server (on premises).

*/ inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of GitHub service you want to connect to—GitHub Enterprise Cloud * (SaaS) or GitHub Enterprise Server (on premises).

*/ inline GitHubConfiguration& WithType(const Type& value) { SetType(value); return *this;} /** *

The type of GitHub service you want to connect to—GitHub Enterprise Cloud * (SaaS) or GitHub Enterprise Server (on premises).

*/ inline GitHubConfiguration& WithType(Type&& value) { SetType(std::move(value)); return *this;} /** *

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

  • personalToken—The * access token created in GitHub. For more information on creating a token in * GitHub, see Using * a GitHub data source.

*/ 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 required to connect to your GitHub. The secret must contain a * JSON structure with the following keys:

  • personalToken—The * access token created in GitHub. For more information on creating a token in * GitHub, see Using * a GitHub data source.

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

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

  • personalToken—The * access token created in GitHub. For more information on creating a token in * GitHub, see Using * a GitHub data source.

*/ 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 required to connect to your GitHub. The secret must contain a * JSON structure with the following keys:

  • personalToken—The * access token created in GitHub. For more information on creating a token in * GitHub, see Using * a GitHub data source.

*/ 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 required to connect to your GitHub. The secret must contain a * JSON structure with the following keys:

  • personalToken—The * access token created in GitHub. For more information on creating a token in * GitHub, see Using * a GitHub data source.

*/ 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 required to connect to your GitHub. The secret must contain a * JSON structure with the following keys:

  • personalToken—The * access token created in GitHub. For more information on creating a token in * GitHub, see Using * a GitHub data source.

*/ inline GitHubConfiguration& 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 required to connect to your GitHub. The secret must contain a * JSON structure with the following keys:

  • personalToken—The * access token created in GitHub. For more information on creating a token in * GitHub, see Using * a GitHub data source.

*/ inline GitHubConfiguration& 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 required to connect to your GitHub. The secret must contain a * JSON structure with the following keys:

  • personalToken—The * access token created in GitHub. For more information on creating a token in * GitHub, see Using * a GitHub data source.

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

TRUE to use the GitHub change log to determine which documents * require updating in the index. Depending on the GitHub change log's size, it may * take longer for Amazon Kendra to use the change log than to scan all of your * documents in GitHub.

*/ inline bool GetUseChangeLog() const{ return m_useChangeLog; } /** *

TRUE to use the GitHub change log to determine which documents * require updating in the index. Depending on the GitHub change log's size, it may * take longer for Amazon Kendra to use the change log than to scan all of your * documents in GitHub.

*/ inline bool UseChangeLogHasBeenSet() const { return m_useChangeLogHasBeenSet; } /** *

TRUE to use the GitHub change log to determine which documents * require updating in the index. Depending on the GitHub change log's size, it may * take longer for Amazon Kendra to use the change log than to scan all of your * documents in GitHub.

*/ inline void SetUseChangeLog(bool value) { m_useChangeLogHasBeenSet = true; m_useChangeLog = value; } /** *

TRUE to use the GitHub change log to determine which documents * require updating in the index. Depending on the GitHub change log's size, it may * take longer for Amazon Kendra to use the change log than to scan all of your * documents in GitHub.

*/ inline GitHubConfiguration& WithUseChangeLog(bool value) { SetUseChangeLog(value); return *this;} /** *

Configuration information to include certain types of GitHub content. You can * configure to index repository files only, or also include issues and pull * requests, comments, and comment attachments.

*/ inline const GitHubDocumentCrawlProperties& GetGitHubDocumentCrawlProperties() const{ return m_gitHubDocumentCrawlProperties; } /** *

Configuration information to include certain types of GitHub content. You can * configure to index repository files only, or also include issues and pull * requests, comments, and comment attachments.

*/ inline bool GitHubDocumentCrawlPropertiesHasBeenSet() const { return m_gitHubDocumentCrawlPropertiesHasBeenSet; } /** *

Configuration information to include certain types of GitHub content. You can * configure to index repository files only, or also include issues and pull * requests, comments, and comment attachments.

*/ inline void SetGitHubDocumentCrawlProperties(const GitHubDocumentCrawlProperties& value) { m_gitHubDocumentCrawlPropertiesHasBeenSet = true; m_gitHubDocumentCrawlProperties = value; } /** *

Configuration information to include certain types of GitHub content. You can * configure to index repository files only, or also include issues and pull * requests, comments, and comment attachments.

*/ inline void SetGitHubDocumentCrawlProperties(GitHubDocumentCrawlProperties&& value) { m_gitHubDocumentCrawlPropertiesHasBeenSet = true; m_gitHubDocumentCrawlProperties = std::move(value); } /** *

Configuration information to include certain types of GitHub content. You can * configure to index repository files only, or also include issues and pull * requests, comments, and comment attachments.

*/ inline GitHubConfiguration& WithGitHubDocumentCrawlProperties(const GitHubDocumentCrawlProperties& value) { SetGitHubDocumentCrawlProperties(value); return *this;} /** *

Configuration information to include certain types of GitHub content. You can * configure to index repository files only, or also include issues and pull * requests, comments, and comment attachments.

*/ inline GitHubConfiguration& WithGitHubDocumentCrawlProperties(GitHubDocumentCrawlProperties&& value) { SetGitHubDocumentCrawlProperties(std::move(value)); return *this;} /** *

A list of names of the specific repositories you want to index.

*/ inline const Aws::Vector& GetRepositoryFilter() const{ return m_repositoryFilter; } /** *

A list of names of the specific repositories you want to index.

*/ inline bool RepositoryFilterHasBeenSet() const { return m_repositoryFilterHasBeenSet; } /** *

A list of names of the specific repositories you want to index.

*/ inline void SetRepositoryFilter(const Aws::Vector& value) { m_repositoryFilterHasBeenSet = true; m_repositoryFilter = value; } /** *

A list of names of the specific repositories you want to index.

*/ inline void SetRepositoryFilter(Aws::Vector&& value) { m_repositoryFilterHasBeenSet = true; m_repositoryFilter = std::move(value); } /** *

A list of names of the specific repositories you want to index.

*/ inline GitHubConfiguration& WithRepositoryFilter(const Aws::Vector& value) { SetRepositoryFilter(value); return *this;} /** *

A list of names of the specific repositories you want to index.

*/ inline GitHubConfiguration& WithRepositoryFilter(Aws::Vector&& value) { SetRepositoryFilter(std::move(value)); return *this;} /** *

A list of names of the specific repositories you want to index.

*/ inline GitHubConfiguration& AddRepositoryFilter(const Aws::String& value) { m_repositoryFilterHasBeenSet = true; m_repositoryFilter.push_back(value); return *this; } /** *

A list of names of the specific repositories you want to index.

*/ inline GitHubConfiguration& AddRepositoryFilter(Aws::String&& value) { m_repositoryFilterHasBeenSet = true; m_repositoryFilter.push_back(std::move(value)); return *this; } /** *

A list of names of the specific repositories you want to index.

*/ inline GitHubConfiguration& AddRepositoryFilter(const char* value) { m_repositoryFilterHasBeenSet = true; m_repositoryFilter.push_back(value); return *this; } /** *

A list of regular expression patterns to include certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * included in the index. Folder names that don't match the patterns are excluded * from the index. If a folder matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline const Aws::Vector& GetInclusionFolderNamePatterns() const{ return m_inclusionFolderNamePatterns; } /** *

A list of regular expression patterns to include certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * included in the index. Folder names that don't match the patterns are excluded * from the index. If a folder matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline bool InclusionFolderNamePatternsHasBeenSet() const { return m_inclusionFolderNamePatternsHasBeenSet; } /** *

A list of regular expression patterns to include certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * included in the index. Folder names that don't match the patterns are excluded * from the index. If a folder matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline void SetInclusionFolderNamePatterns(const Aws::Vector& value) { m_inclusionFolderNamePatternsHasBeenSet = true; m_inclusionFolderNamePatterns = value; } /** *

A list of regular expression patterns to include certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * included in the index. Folder names that don't match the patterns are excluded * from the index. If a folder matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline void SetInclusionFolderNamePatterns(Aws::Vector&& value) { m_inclusionFolderNamePatternsHasBeenSet = true; m_inclusionFolderNamePatterns = std::move(value); } /** *

A list of regular expression patterns to include certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * included in the index. Folder names that don't match the patterns are excluded * from the index. If a folder matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline GitHubConfiguration& WithInclusionFolderNamePatterns(const Aws::Vector& value) { SetInclusionFolderNamePatterns(value); return *this;} /** *

A list of regular expression patterns to include certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * included in the index. Folder names that don't match the patterns are excluded * from the index. If a folder matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline GitHubConfiguration& WithInclusionFolderNamePatterns(Aws::Vector&& value) { SetInclusionFolderNamePatterns(std::move(value)); return *this;} /** *

A list of regular expression patterns to include certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * included in the index. Folder names that don't match the patterns are excluded * from the index. If a folder matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline GitHubConfiguration& AddInclusionFolderNamePatterns(const Aws::String& value) { m_inclusionFolderNamePatternsHasBeenSet = true; m_inclusionFolderNamePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to include certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * included in the index. Folder names that don't match the patterns are excluded * from the index. If a folder matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline GitHubConfiguration& AddInclusionFolderNamePatterns(Aws::String&& value) { m_inclusionFolderNamePatternsHasBeenSet = true; m_inclusionFolderNamePatterns.push_back(std::move(value)); return *this; } /** *

A list of regular expression patterns to include certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * included in the index. Folder names that don't match the patterns are excluded * from the index. If a folder matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline GitHubConfiguration& AddInclusionFolderNamePatterns(const char* value) { m_inclusionFolderNamePatternsHasBeenSet = true; m_inclusionFolderNamePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to include certain file types in your * GitHub repository or repositories. File types that match the patterns are * included in the index. File types that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline const Aws::Vector& GetInclusionFileTypePatterns() const{ return m_inclusionFileTypePatterns; } /** *

A list of regular expression patterns to include certain file types in your * GitHub repository or repositories. File types that match the patterns are * included in the index. File types that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline bool InclusionFileTypePatternsHasBeenSet() const { return m_inclusionFileTypePatternsHasBeenSet; } /** *

A list of regular expression patterns to include certain file types in your * GitHub repository or repositories. File types that match the patterns are * included in the index. File types that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline void SetInclusionFileTypePatterns(const Aws::Vector& value) { m_inclusionFileTypePatternsHasBeenSet = true; m_inclusionFileTypePatterns = value; } /** *

A list of regular expression patterns to include certain file types in your * GitHub repository or repositories. File types that match the patterns are * included in the index. File types that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline void SetInclusionFileTypePatterns(Aws::Vector&& value) { m_inclusionFileTypePatternsHasBeenSet = true; m_inclusionFileTypePatterns = std::move(value); } /** *

A list of regular expression patterns to include certain file types in your * GitHub repository or repositories. File types that match the patterns are * included in the index. File types that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& WithInclusionFileTypePatterns(const Aws::Vector& value) { SetInclusionFileTypePatterns(value); return *this;} /** *

A list of regular expression patterns to include certain file types in your * GitHub repository or repositories. File types that match the patterns are * included in the index. File types that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& WithInclusionFileTypePatterns(Aws::Vector&& value) { SetInclusionFileTypePatterns(std::move(value)); return *this;} /** *

A list of regular expression patterns to include certain file types in your * GitHub repository or repositories. File types that match the patterns are * included in the index. File types that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddInclusionFileTypePatterns(const Aws::String& value) { m_inclusionFileTypePatternsHasBeenSet = true; m_inclusionFileTypePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to include certain file types in your * GitHub repository or repositories. File types that match the patterns are * included in the index. File types that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddInclusionFileTypePatterns(Aws::String&& value) { m_inclusionFileTypePatternsHasBeenSet = true; m_inclusionFileTypePatterns.push_back(std::move(value)); return *this; } /** *

A list of regular expression patterns to include certain file types in your * GitHub repository or repositories. File types that match the patterns are * included in the index. File types that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddInclusionFileTypePatterns(const char* value) { m_inclusionFileTypePatternsHasBeenSet = true; m_inclusionFileTypePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to include certain file names in your * GitHub repository or repositories. File names that match the patterns are * included in the index. File names that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline const Aws::Vector& GetInclusionFileNamePatterns() const{ return m_inclusionFileNamePatterns; } /** *

A list of regular expression patterns to include certain file names in your * GitHub repository or repositories. File names that match the patterns are * included in the index. File names that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline bool InclusionFileNamePatternsHasBeenSet() const { return m_inclusionFileNamePatternsHasBeenSet; } /** *

A list of regular expression patterns to include certain file names in your * GitHub repository or repositories. File names that match the patterns are * included in the index. File names that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline void SetInclusionFileNamePatterns(const Aws::Vector& value) { m_inclusionFileNamePatternsHasBeenSet = true; m_inclusionFileNamePatterns = value; } /** *

A list of regular expression patterns to include certain file names in your * GitHub repository or repositories. File names that match the patterns are * included in the index. File names that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline void SetInclusionFileNamePatterns(Aws::Vector&& value) { m_inclusionFileNamePatternsHasBeenSet = true; m_inclusionFileNamePatterns = std::move(value); } /** *

A list of regular expression patterns to include certain file names in your * GitHub repository or repositories. File names that match the patterns are * included in the index. File names that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& WithInclusionFileNamePatterns(const Aws::Vector& value) { SetInclusionFileNamePatterns(value); return *this;} /** *

A list of regular expression patterns to include certain file names in your * GitHub repository or repositories. File names that match the patterns are * included in the index. File names that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& WithInclusionFileNamePatterns(Aws::Vector&& value) { SetInclusionFileNamePatterns(std::move(value)); return *this;} /** *

A list of regular expression patterns to include certain file names in your * GitHub repository or repositories. File names that match the patterns are * included in the index. File names that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddInclusionFileNamePatterns(const Aws::String& value) { m_inclusionFileNamePatternsHasBeenSet = true; m_inclusionFileNamePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to include certain file names in your * GitHub repository or repositories. File names that match the patterns are * included in the index. File names that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddInclusionFileNamePatterns(Aws::String&& value) { m_inclusionFileNamePatternsHasBeenSet = true; m_inclusionFileNamePatterns.push_back(std::move(value)); return *this; } /** *

A list of regular expression patterns to include certain file names in your * GitHub repository or repositories. File names that match the patterns are * included in the index. File names that don't match the patterns are excluded * from the index. If a file matches both an inclusion and exclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddInclusionFileNamePatterns(const char* value) { m_inclusionFileNamePatternsHasBeenSet = true; m_inclusionFileNamePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to exclude certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * excluded from the index. Folder names that don't match the patterns are included * in the index. If a folder matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline const Aws::Vector& GetExclusionFolderNamePatterns() const{ return m_exclusionFolderNamePatterns; } /** *

A list of regular expression patterns to exclude certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * excluded from the index. Folder names that don't match the patterns are included * in the index. If a folder matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline bool ExclusionFolderNamePatternsHasBeenSet() const { return m_exclusionFolderNamePatternsHasBeenSet; } /** *

A list of regular expression patterns to exclude certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * excluded from the index. Folder names that don't match the patterns are included * in the index. If a folder matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline void SetExclusionFolderNamePatterns(const Aws::Vector& value) { m_exclusionFolderNamePatternsHasBeenSet = true; m_exclusionFolderNamePatterns = value; } /** *

A list of regular expression patterns to exclude certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * excluded from the index. Folder names that don't match the patterns are included * in the index. If a folder matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline void SetExclusionFolderNamePatterns(Aws::Vector&& value) { m_exclusionFolderNamePatternsHasBeenSet = true; m_exclusionFolderNamePatterns = std::move(value); } /** *

A list of regular expression patterns to exclude certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * excluded from the index. Folder names that don't match the patterns are included * in the index. If a folder matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline GitHubConfiguration& WithExclusionFolderNamePatterns(const Aws::Vector& value) { SetExclusionFolderNamePatterns(value); return *this;} /** *

A list of regular expression patterns to exclude certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * excluded from the index. Folder names that don't match the patterns are included * in the index. If a folder matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline GitHubConfiguration& WithExclusionFolderNamePatterns(Aws::Vector&& value) { SetExclusionFolderNamePatterns(std::move(value)); return *this;} /** *

A list of regular expression patterns to exclude certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * excluded from the index. Folder names that don't match the patterns are included * in the index. If a folder matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline GitHubConfiguration& AddExclusionFolderNamePatterns(const Aws::String& value) { m_exclusionFolderNamePatternsHasBeenSet = true; m_exclusionFolderNamePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to exclude certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * excluded from the index. Folder names that don't match the patterns are included * in the index. If a folder matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline GitHubConfiguration& AddExclusionFolderNamePatterns(Aws::String&& value) { m_exclusionFolderNamePatternsHasBeenSet = true; m_exclusionFolderNamePatterns.push_back(std::move(value)); return *this; } /** *

A list of regular expression patterns to exclude certain folder names in your * GitHub repository or repositories. Folder names that match the patterns are * excluded from the index. Folder names that don't match the patterns are included * in the index. If a folder matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the folder isn't included in the * index.

*/ inline GitHubConfiguration& AddExclusionFolderNamePatterns(const char* value) { m_exclusionFolderNamePatternsHasBeenSet = true; m_exclusionFolderNamePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to exclude certain file types in your * GitHub repository or repositories. File types that match the patterns are * excluded from the index. File types that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline const Aws::Vector& GetExclusionFileTypePatterns() const{ return m_exclusionFileTypePatterns; } /** *

A list of regular expression patterns to exclude certain file types in your * GitHub repository or repositories. File types that match the patterns are * excluded from the index. File types that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline bool ExclusionFileTypePatternsHasBeenSet() const { return m_exclusionFileTypePatternsHasBeenSet; } /** *

A list of regular expression patterns to exclude certain file types in your * GitHub repository or repositories. File types that match the patterns are * excluded from the index. File types that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline void SetExclusionFileTypePatterns(const Aws::Vector& value) { m_exclusionFileTypePatternsHasBeenSet = true; m_exclusionFileTypePatterns = value; } /** *

A list of regular expression patterns to exclude certain file types in your * GitHub repository or repositories. File types that match the patterns are * excluded from the index. File types that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline void SetExclusionFileTypePatterns(Aws::Vector&& value) { m_exclusionFileTypePatternsHasBeenSet = true; m_exclusionFileTypePatterns = std::move(value); } /** *

A list of regular expression patterns to exclude certain file types in your * GitHub repository or repositories. File types that match the patterns are * excluded from the index. File types that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& WithExclusionFileTypePatterns(const Aws::Vector& value) { SetExclusionFileTypePatterns(value); return *this;} /** *

A list of regular expression patterns to exclude certain file types in your * GitHub repository or repositories. File types that match the patterns are * excluded from the index. File types that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& WithExclusionFileTypePatterns(Aws::Vector&& value) { SetExclusionFileTypePatterns(std::move(value)); return *this;} /** *

A list of regular expression patterns to exclude certain file types in your * GitHub repository or repositories. File types that match the patterns are * excluded from the index. File types that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddExclusionFileTypePatterns(const Aws::String& value) { m_exclusionFileTypePatternsHasBeenSet = true; m_exclusionFileTypePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to exclude certain file types in your * GitHub repository or repositories. File types that match the patterns are * excluded from the index. File types that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddExclusionFileTypePatterns(Aws::String&& value) { m_exclusionFileTypePatternsHasBeenSet = true; m_exclusionFileTypePatterns.push_back(std::move(value)); return *this; } /** *

A list of regular expression patterns to exclude certain file types in your * GitHub repository or repositories. File types that match the patterns are * excluded from the index. File types that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddExclusionFileTypePatterns(const char* value) { m_exclusionFileTypePatternsHasBeenSet = true; m_exclusionFileTypePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to exclude certain file names in your * GitHub repository or repositories. File names that match the patterns are * excluded from the index. File names that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline const Aws::Vector& GetExclusionFileNamePatterns() const{ return m_exclusionFileNamePatterns; } /** *

A list of regular expression patterns to exclude certain file names in your * GitHub repository or repositories. File names that match the patterns are * excluded from the index. File names that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline bool ExclusionFileNamePatternsHasBeenSet() const { return m_exclusionFileNamePatternsHasBeenSet; } /** *

A list of regular expression patterns to exclude certain file names in your * GitHub repository or repositories. File names that match the patterns are * excluded from the index. File names that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline void SetExclusionFileNamePatterns(const Aws::Vector& value) { m_exclusionFileNamePatternsHasBeenSet = true; m_exclusionFileNamePatterns = value; } /** *

A list of regular expression patterns to exclude certain file names in your * GitHub repository or repositories. File names that match the patterns are * excluded from the index. File names that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline void SetExclusionFileNamePatterns(Aws::Vector&& value) { m_exclusionFileNamePatternsHasBeenSet = true; m_exclusionFileNamePatterns = std::move(value); } /** *

A list of regular expression patterns to exclude certain file names in your * GitHub repository or repositories. File names that match the patterns are * excluded from the index. File names that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& WithExclusionFileNamePatterns(const Aws::Vector& value) { SetExclusionFileNamePatterns(value); return *this;} /** *

A list of regular expression patterns to exclude certain file names in your * GitHub repository or repositories. File names that match the patterns are * excluded from the index. File names that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& WithExclusionFileNamePatterns(Aws::Vector&& value) { SetExclusionFileNamePatterns(std::move(value)); return *this;} /** *

A list of regular expression patterns to exclude certain file names in your * GitHub repository or repositories. File names that match the patterns are * excluded from the index. File names that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddExclusionFileNamePatterns(const Aws::String& value) { m_exclusionFileNamePatternsHasBeenSet = true; m_exclusionFileNamePatterns.push_back(value); return *this; } /** *

A list of regular expression patterns to exclude certain file names in your * GitHub repository or repositories. File names that match the patterns are * excluded from the index. File names that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddExclusionFileNamePatterns(Aws::String&& value) { m_exclusionFileNamePatternsHasBeenSet = true; m_exclusionFileNamePatterns.push_back(std::move(value)); return *this; } /** *

A list of regular expression patterns to exclude certain file names in your * GitHub repository or repositories. File names that match the patterns are * excluded from the index. File names that don't match the patterns are included * in the index. If a file matches both an exclusion and inclusion pattern, the * exclusion pattern takes precedence and the file isn't included in the index.

*/ inline GitHubConfiguration& AddExclusionFileNamePatterns(const char* value) { m_exclusionFileNamePatternsHasBeenSet = true; m_exclusionFileNamePatterns.push_back(value); return *this; } /** *

Configuration information of an Amazon Virtual Private Cloud to connect to * your GitHub. For more information, see Configuring * a VPC.

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

Configuration information of an Amazon Virtual Private Cloud to connect to * your GitHub. For more information, see Configuring * a VPC.

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

Configuration information of an Amazon Virtual Private Cloud to connect to * your GitHub. For more information, see Configuring * a VPC.

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

Configuration information of an Amazon Virtual Private Cloud to connect to * your GitHub. For more information, see Configuring * a VPC.

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

Configuration information of an Amazon Virtual Private Cloud to connect to * your GitHub. For more information, see Configuring * a VPC.

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

Configuration information of an Amazon Virtual Private Cloud to connect to * your GitHub. For more information, see Configuring * a VPC.

*/ inline GitHubConfiguration& WithVpcConfiguration(DataSourceVpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;} /** *

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

*/ inline const Aws::Vector& GetGitHubRepositoryConfigurationFieldMappings() const{ return m_gitHubRepositoryConfigurationFieldMappings; } /** *

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

*/ inline bool GitHubRepositoryConfigurationFieldMappingsHasBeenSet() const { return m_gitHubRepositoryConfigurationFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetGitHubRepositoryConfigurationFieldMappings(const Aws::Vector& value) { m_gitHubRepositoryConfigurationFieldMappingsHasBeenSet = true; m_gitHubRepositoryConfigurationFieldMappings = value; } /** *

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

*/ inline void SetGitHubRepositoryConfigurationFieldMappings(Aws::Vector&& value) { m_gitHubRepositoryConfigurationFieldMappingsHasBeenSet = true; m_gitHubRepositoryConfigurationFieldMappings = std::move(value); } /** *

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

*/ inline GitHubConfiguration& WithGitHubRepositoryConfigurationFieldMappings(const Aws::Vector& value) { SetGitHubRepositoryConfigurationFieldMappings(value); return *this;} /** *

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

*/ inline GitHubConfiguration& WithGitHubRepositoryConfigurationFieldMappings(Aws::Vector&& value) { SetGitHubRepositoryConfigurationFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline GitHubConfiguration& AddGitHubRepositoryConfigurationFieldMappings(const DataSourceToIndexFieldMapping& value) { m_gitHubRepositoryConfigurationFieldMappingsHasBeenSet = true; m_gitHubRepositoryConfigurationFieldMappings.push_back(value); return *this; } /** *

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

*/ inline GitHubConfiguration& AddGitHubRepositoryConfigurationFieldMappings(DataSourceToIndexFieldMapping&& value) { m_gitHubRepositoryConfigurationFieldMappingsHasBeenSet = true; m_gitHubRepositoryConfigurationFieldMappings.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetGitHubCommitConfigurationFieldMappings() const{ return m_gitHubCommitConfigurationFieldMappings; } /** *

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

*/ inline bool GitHubCommitConfigurationFieldMappingsHasBeenSet() const { return m_gitHubCommitConfigurationFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetGitHubCommitConfigurationFieldMappings(const Aws::Vector& value) { m_gitHubCommitConfigurationFieldMappingsHasBeenSet = true; m_gitHubCommitConfigurationFieldMappings = value; } /** *

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

*/ inline void SetGitHubCommitConfigurationFieldMappings(Aws::Vector&& value) { m_gitHubCommitConfigurationFieldMappingsHasBeenSet = true; m_gitHubCommitConfigurationFieldMappings = std::move(value); } /** *

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

*/ inline GitHubConfiguration& WithGitHubCommitConfigurationFieldMappings(const Aws::Vector& value) { SetGitHubCommitConfigurationFieldMappings(value); return *this;} /** *

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

*/ inline GitHubConfiguration& WithGitHubCommitConfigurationFieldMappings(Aws::Vector&& value) { SetGitHubCommitConfigurationFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline GitHubConfiguration& AddGitHubCommitConfigurationFieldMappings(const DataSourceToIndexFieldMapping& value) { m_gitHubCommitConfigurationFieldMappingsHasBeenSet = true; m_gitHubCommitConfigurationFieldMappings.push_back(value); return *this; } /** *

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

*/ inline GitHubConfiguration& AddGitHubCommitConfigurationFieldMappings(DataSourceToIndexFieldMapping&& value) { m_gitHubCommitConfigurationFieldMappingsHasBeenSet = true; m_gitHubCommitConfigurationFieldMappings.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetGitHubIssueDocumentConfigurationFieldMappings() const{ return m_gitHubIssueDocumentConfigurationFieldMappings; } /** *

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

*/ inline bool GitHubIssueDocumentConfigurationFieldMappingsHasBeenSet() const { return m_gitHubIssueDocumentConfigurationFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetGitHubIssueDocumentConfigurationFieldMappings(const Aws::Vector& value) { m_gitHubIssueDocumentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueDocumentConfigurationFieldMappings = value; } /** *

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

*/ inline void SetGitHubIssueDocumentConfigurationFieldMappings(Aws::Vector&& value) { m_gitHubIssueDocumentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueDocumentConfigurationFieldMappings = std::move(value); } /** *

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

*/ inline GitHubConfiguration& WithGitHubIssueDocumentConfigurationFieldMappings(const Aws::Vector& value) { SetGitHubIssueDocumentConfigurationFieldMappings(value); return *this;} /** *

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

*/ inline GitHubConfiguration& WithGitHubIssueDocumentConfigurationFieldMappings(Aws::Vector&& value) { SetGitHubIssueDocumentConfigurationFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline GitHubConfiguration& AddGitHubIssueDocumentConfigurationFieldMappings(const DataSourceToIndexFieldMapping& value) { m_gitHubIssueDocumentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueDocumentConfigurationFieldMappings.push_back(value); return *this; } /** *

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

*/ inline GitHubConfiguration& AddGitHubIssueDocumentConfigurationFieldMappings(DataSourceToIndexFieldMapping&& value) { m_gitHubIssueDocumentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueDocumentConfigurationFieldMappings.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetGitHubIssueCommentConfigurationFieldMappings() const{ return m_gitHubIssueCommentConfigurationFieldMappings; } /** *

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

*/ inline bool GitHubIssueCommentConfigurationFieldMappingsHasBeenSet() const { return m_gitHubIssueCommentConfigurationFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetGitHubIssueCommentConfigurationFieldMappings(const Aws::Vector& value) { m_gitHubIssueCommentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueCommentConfigurationFieldMappings = value; } /** *

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

*/ inline void SetGitHubIssueCommentConfigurationFieldMappings(Aws::Vector&& value) { m_gitHubIssueCommentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueCommentConfigurationFieldMappings = std::move(value); } /** *

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

*/ inline GitHubConfiguration& WithGitHubIssueCommentConfigurationFieldMappings(const Aws::Vector& value) { SetGitHubIssueCommentConfigurationFieldMappings(value); return *this;} /** *

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

*/ inline GitHubConfiguration& WithGitHubIssueCommentConfigurationFieldMappings(Aws::Vector&& value) { SetGitHubIssueCommentConfigurationFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline GitHubConfiguration& AddGitHubIssueCommentConfigurationFieldMappings(const DataSourceToIndexFieldMapping& value) { m_gitHubIssueCommentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueCommentConfigurationFieldMappings.push_back(value); return *this; } /** *

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

*/ inline GitHubConfiguration& AddGitHubIssueCommentConfigurationFieldMappings(DataSourceToIndexFieldMapping&& value) { m_gitHubIssueCommentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueCommentConfigurationFieldMappings.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetGitHubIssueAttachmentConfigurationFieldMappings() const{ return m_gitHubIssueAttachmentConfigurationFieldMappings; } /** *

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

*/ inline bool GitHubIssueAttachmentConfigurationFieldMappingsHasBeenSet() const { return m_gitHubIssueAttachmentConfigurationFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetGitHubIssueAttachmentConfigurationFieldMappings(const Aws::Vector& value) { m_gitHubIssueAttachmentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueAttachmentConfigurationFieldMappings = value; } /** *

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

*/ inline void SetGitHubIssueAttachmentConfigurationFieldMappings(Aws::Vector&& value) { m_gitHubIssueAttachmentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueAttachmentConfigurationFieldMappings = std::move(value); } /** *

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

*/ inline GitHubConfiguration& WithGitHubIssueAttachmentConfigurationFieldMappings(const Aws::Vector& value) { SetGitHubIssueAttachmentConfigurationFieldMappings(value); return *this;} /** *

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

*/ inline GitHubConfiguration& WithGitHubIssueAttachmentConfigurationFieldMappings(Aws::Vector&& value) { SetGitHubIssueAttachmentConfigurationFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline GitHubConfiguration& AddGitHubIssueAttachmentConfigurationFieldMappings(const DataSourceToIndexFieldMapping& value) { m_gitHubIssueAttachmentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueAttachmentConfigurationFieldMappings.push_back(value); return *this; } /** *

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

*/ inline GitHubConfiguration& AddGitHubIssueAttachmentConfigurationFieldMappings(DataSourceToIndexFieldMapping&& value) { m_gitHubIssueAttachmentConfigurationFieldMappingsHasBeenSet = true; m_gitHubIssueAttachmentConfigurationFieldMappings.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetGitHubPullRequestCommentConfigurationFieldMappings() const{ return m_gitHubPullRequestCommentConfigurationFieldMappings; } /** *

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

*/ inline bool GitHubPullRequestCommentConfigurationFieldMappingsHasBeenSet() const { return m_gitHubPullRequestCommentConfigurationFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetGitHubPullRequestCommentConfigurationFieldMappings(const Aws::Vector& value) { m_gitHubPullRequestCommentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestCommentConfigurationFieldMappings = value; } /** *

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

*/ inline void SetGitHubPullRequestCommentConfigurationFieldMappings(Aws::Vector&& value) { m_gitHubPullRequestCommentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestCommentConfigurationFieldMappings = std::move(value); } /** *

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

*/ inline GitHubConfiguration& WithGitHubPullRequestCommentConfigurationFieldMappings(const Aws::Vector& value) { SetGitHubPullRequestCommentConfigurationFieldMappings(value); return *this;} /** *

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

*/ inline GitHubConfiguration& WithGitHubPullRequestCommentConfigurationFieldMappings(Aws::Vector&& value) { SetGitHubPullRequestCommentConfigurationFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline GitHubConfiguration& AddGitHubPullRequestCommentConfigurationFieldMappings(const DataSourceToIndexFieldMapping& value) { m_gitHubPullRequestCommentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestCommentConfigurationFieldMappings.push_back(value); return *this; } /** *

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

*/ inline GitHubConfiguration& AddGitHubPullRequestCommentConfigurationFieldMappings(DataSourceToIndexFieldMapping&& value) { m_gitHubPullRequestCommentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestCommentConfigurationFieldMappings.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetGitHubPullRequestDocumentConfigurationFieldMappings() const{ return m_gitHubPullRequestDocumentConfigurationFieldMappings; } /** *

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

*/ inline bool GitHubPullRequestDocumentConfigurationFieldMappingsHasBeenSet() const { return m_gitHubPullRequestDocumentConfigurationFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetGitHubPullRequestDocumentConfigurationFieldMappings(const Aws::Vector& value) { m_gitHubPullRequestDocumentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestDocumentConfigurationFieldMappings = value; } /** *

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

*/ inline void SetGitHubPullRequestDocumentConfigurationFieldMappings(Aws::Vector&& value) { m_gitHubPullRequestDocumentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestDocumentConfigurationFieldMappings = std::move(value); } /** *

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

*/ inline GitHubConfiguration& WithGitHubPullRequestDocumentConfigurationFieldMappings(const Aws::Vector& value) { SetGitHubPullRequestDocumentConfigurationFieldMappings(value); return *this;} /** *

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

*/ inline GitHubConfiguration& WithGitHubPullRequestDocumentConfigurationFieldMappings(Aws::Vector&& value) { SetGitHubPullRequestDocumentConfigurationFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline GitHubConfiguration& AddGitHubPullRequestDocumentConfigurationFieldMappings(const DataSourceToIndexFieldMapping& value) { m_gitHubPullRequestDocumentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestDocumentConfigurationFieldMappings.push_back(value); return *this; } /** *

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

*/ inline GitHubConfiguration& AddGitHubPullRequestDocumentConfigurationFieldMappings(DataSourceToIndexFieldMapping&& value) { m_gitHubPullRequestDocumentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestDocumentConfigurationFieldMappings.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetGitHubPullRequestDocumentAttachmentConfigurationFieldMappings() const{ return m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappings; } /** *

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

*/ inline bool GitHubPullRequestDocumentAttachmentConfigurationFieldMappingsHasBeenSet() const { return m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(const Aws::Vector& value) { m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappings = value; } /** *

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

*/ inline void SetGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(Aws::Vector&& value) { m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappings = std::move(value); } /** *

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

*/ inline GitHubConfiguration& WithGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(const Aws::Vector& value) { SetGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(value); return *this;} /** *

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

*/ inline GitHubConfiguration& WithGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(Aws::Vector&& value) { SetGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline GitHubConfiguration& AddGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(const DataSourceToIndexFieldMapping& value) { m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappings.push_back(value); return *this; } /** *

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

*/ inline GitHubConfiguration& AddGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(DataSourceToIndexFieldMapping&& value) { m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappingsHasBeenSet = true; m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappings.push_back(std::move(value)); return *this; } private: SaaSConfiguration m_saaSConfiguration; bool m_saaSConfigurationHasBeenSet = false; OnPremiseConfiguration m_onPremiseConfiguration; bool m_onPremiseConfigurationHasBeenSet = false; Type m_type; bool m_typeHasBeenSet = false; Aws::String m_secretArn; bool m_secretArnHasBeenSet = false; bool m_useChangeLog; bool m_useChangeLogHasBeenSet = false; GitHubDocumentCrawlProperties m_gitHubDocumentCrawlProperties; bool m_gitHubDocumentCrawlPropertiesHasBeenSet = false; Aws::Vector m_repositoryFilter; bool m_repositoryFilterHasBeenSet = false; Aws::Vector m_inclusionFolderNamePatterns; bool m_inclusionFolderNamePatternsHasBeenSet = false; Aws::Vector m_inclusionFileTypePatterns; bool m_inclusionFileTypePatternsHasBeenSet = false; Aws::Vector m_inclusionFileNamePatterns; bool m_inclusionFileNamePatternsHasBeenSet = false; Aws::Vector m_exclusionFolderNamePatterns; bool m_exclusionFolderNamePatternsHasBeenSet = false; Aws::Vector m_exclusionFileTypePatterns; bool m_exclusionFileTypePatternsHasBeenSet = false; Aws::Vector m_exclusionFileNamePatterns; bool m_exclusionFileNamePatternsHasBeenSet = false; DataSourceVpcConfiguration m_vpcConfiguration; bool m_vpcConfigurationHasBeenSet = false; Aws::Vector m_gitHubRepositoryConfigurationFieldMappings; bool m_gitHubRepositoryConfigurationFieldMappingsHasBeenSet = false; Aws::Vector m_gitHubCommitConfigurationFieldMappings; bool m_gitHubCommitConfigurationFieldMappingsHasBeenSet = false; Aws::Vector m_gitHubIssueDocumentConfigurationFieldMappings; bool m_gitHubIssueDocumentConfigurationFieldMappingsHasBeenSet = false; Aws::Vector m_gitHubIssueCommentConfigurationFieldMappings; bool m_gitHubIssueCommentConfigurationFieldMappingsHasBeenSet = false; Aws::Vector m_gitHubIssueAttachmentConfigurationFieldMappings; bool m_gitHubIssueAttachmentConfigurationFieldMappingsHasBeenSet = false; Aws::Vector m_gitHubPullRequestCommentConfigurationFieldMappings; bool m_gitHubPullRequestCommentConfigurationFieldMappingsHasBeenSet = false; Aws::Vector m_gitHubPullRequestDocumentConfigurationFieldMappings; bool m_gitHubPullRequestDocumentConfigurationFieldMappingsHasBeenSet = false; Aws::Vector m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappings; bool m_gitHubPullRequestDocumentAttachmentConfigurationFieldMappingsHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws