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

See Also:

AWS * API Reference

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

The URL of the Jira account. For example, company.atlassian.net.

*/ inline const Aws::String& GetJiraAccountUrl() const{ return m_jiraAccountUrl; } /** *

The URL of the Jira account. For example, company.atlassian.net.

*/ inline bool JiraAccountUrlHasBeenSet() const { return m_jiraAccountUrlHasBeenSet; } /** *

The URL of the Jira account. For example, company.atlassian.net.

*/ inline void SetJiraAccountUrl(const Aws::String& value) { m_jiraAccountUrlHasBeenSet = true; m_jiraAccountUrl = value; } /** *

The URL of the Jira account. For example, company.atlassian.net.

*/ inline void SetJiraAccountUrl(Aws::String&& value) { m_jiraAccountUrlHasBeenSet = true; m_jiraAccountUrl = std::move(value); } /** *

The URL of the Jira account. For example, company.atlassian.net.

*/ inline void SetJiraAccountUrl(const char* value) { m_jiraAccountUrlHasBeenSet = true; m_jiraAccountUrl.assign(value); } /** *

The URL of the Jira account. For example, company.atlassian.net.

*/ inline JiraConfiguration& WithJiraAccountUrl(const Aws::String& value) { SetJiraAccountUrl(value); return *this;} /** *

The URL of the Jira account. For example, company.atlassian.net.

*/ inline JiraConfiguration& WithJiraAccountUrl(Aws::String&& value) { SetJiraAccountUrl(std::move(value)); return *this;} /** *

The URL of the Jira account. For example, company.atlassian.net.

*/ inline JiraConfiguration& WithJiraAccountUrl(const char* value) { SetJiraAccountUrl(value); return *this;} /** *

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

  • jiraId—The * Jira user name or email.

  • jiraCredentials—The Jira API token. * For more information, see Using * a Jira data source.

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

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

  • jiraId—The * Jira user name or email.

  • jiraCredentials—The Jira API token. * For more information, see Using * a Jira data source.

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

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

  • jiraId—The * Jira user name or email.

  • jiraCredentials—The Jira API token. * For more information, see Using * a Jira data source.

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

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

  • jiraId—The * Jira user name or email.

  • jiraCredentials—The Jira API token. * For more information, see Using * a Jira data source.

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

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

  • jiraId—The * Jira user name or email.

  • jiraCredentials—The Jira API token. * For more information, see Using * a Jira data source.

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

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

  • jiraId—The * Jira user name or email.

  • jiraCredentials—The Jira API token. * For more information, see Using * a Jira data source.

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

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

  • jiraId—The * Jira user name or email.

  • jiraCredentials—The Jira API token. * For more information, see Using * a Jira data source.

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

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

  • jiraId—The * Jira user name or email.

  • jiraCredentials—The Jira API token. * For more information, see Using * a Jira data source.

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

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

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

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

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

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

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

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

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

Specify which projects to crawl in your Jira data source. You can specify one * or more Jira project IDs.

*/ inline const Aws::Vector& GetProject() const{ return m_project; } /** *

Specify which projects to crawl in your Jira data source. You can specify one * or more Jira project IDs.

*/ inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } /** *

Specify which projects to crawl in your Jira data source. You can specify one * or more Jira project IDs.

*/ inline void SetProject(const Aws::Vector& value) { m_projectHasBeenSet = true; m_project = value; } /** *

Specify which projects to crawl in your Jira data source. You can specify one * or more Jira project IDs.

*/ inline void SetProject(Aws::Vector&& value) { m_projectHasBeenSet = true; m_project = std::move(value); } /** *

Specify which projects to crawl in your Jira data source. You can specify one * or more Jira project IDs.

*/ inline JiraConfiguration& WithProject(const Aws::Vector& value) { SetProject(value); return *this;} /** *

Specify which projects to crawl in your Jira data source. You can specify one * or more Jira project IDs.

*/ inline JiraConfiguration& WithProject(Aws::Vector&& value) { SetProject(std::move(value)); return *this;} /** *

Specify which projects to crawl in your Jira data source. You can specify one * or more Jira project IDs.

*/ inline JiraConfiguration& AddProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project.push_back(value); return *this; } /** *

Specify which projects to crawl in your Jira data source. You can specify one * or more Jira project IDs.

*/ inline JiraConfiguration& AddProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project.push_back(std::move(value)); return *this; } /** *

Specify which projects to crawl in your Jira data source. You can specify one * or more Jira project IDs.

*/ inline JiraConfiguration& AddProject(const char* value) { m_projectHasBeenSet = true; m_project.push_back(value); return *this; } /** *

Specify which issue types to crawl in your Jira data source. You can specify * one or more of these options to crawl.

*/ inline const Aws::Vector& GetIssueType() const{ return m_issueType; } /** *

Specify which issue types to crawl in your Jira data source. You can specify * one or more of these options to crawl.

*/ inline bool IssueTypeHasBeenSet() const { return m_issueTypeHasBeenSet; } /** *

Specify which issue types to crawl in your Jira data source. You can specify * one or more of these options to crawl.

*/ inline void SetIssueType(const Aws::Vector& value) { m_issueTypeHasBeenSet = true; m_issueType = value; } /** *

Specify which issue types to crawl in your Jira data source. You can specify * one or more of these options to crawl.

*/ inline void SetIssueType(Aws::Vector&& value) { m_issueTypeHasBeenSet = true; m_issueType = std::move(value); } /** *

Specify which issue types to crawl in your Jira data source. You can specify * one or more of these options to crawl.

*/ inline JiraConfiguration& WithIssueType(const Aws::Vector& value) { SetIssueType(value); return *this;} /** *

Specify which issue types to crawl in your Jira data source. You can specify * one or more of these options to crawl.

*/ inline JiraConfiguration& WithIssueType(Aws::Vector&& value) { SetIssueType(std::move(value)); return *this;} /** *

Specify which issue types to crawl in your Jira data source. You can specify * one or more of these options to crawl.

*/ inline JiraConfiguration& AddIssueType(const Aws::String& value) { m_issueTypeHasBeenSet = true; m_issueType.push_back(value); return *this; } /** *

Specify which issue types to crawl in your Jira data source. You can specify * one or more of these options to crawl.

*/ inline JiraConfiguration& AddIssueType(Aws::String&& value) { m_issueTypeHasBeenSet = true; m_issueType.push_back(std::move(value)); return *this; } /** *

Specify which issue types to crawl in your Jira data source. You can specify * one or more of these options to crawl.

*/ inline JiraConfiguration& AddIssueType(const char* value) { m_issueTypeHasBeenSet = true; m_issueType.push_back(value); return *this; } /** *

Specify which statuses to crawl in your Jira data source. You can specify one * or more of these options to crawl.

*/ inline const Aws::Vector& GetStatus() const{ return m_status; } /** *

Specify which statuses to crawl in your Jira data source. You can specify one * or more of these options to crawl.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Specify which statuses to crawl in your Jira data source. You can specify one * or more of these options to crawl.

*/ inline void SetStatus(const Aws::Vector& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Specify which statuses to crawl in your Jira data source. You can specify one * or more of these options to crawl.

*/ inline void SetStatus(Aws::Vector&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Specify which statuses to crawl in your Jira data source. You can specify one * or more of these options to crawl.

*/ inline JiraConfiguration& WithStatus(const Aws::Vector& value) { SetStatus(value); return *this;} /** *

Specify which statuses to crawl in your Jira data source. You can specify one * or more of these options to crawl.

*/ inline JiraConfiguration& WithStatus(Aws::Vector&& value) { SetStatus(std::move(value)); return *this;} /** *

Specify which statuses to crawl in your Jira data source. You can specify one * or more of these options to crawl.

*/ inline JiraConfiguration& AddStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status.push_back(value); return *this; } /** *

Specify which statuses to crawl in your Jira data source. You can specify one * or more of these options to crawl.

*/ inline JiraConfiguration& AddStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status.push_back(std::move(value)); return *this; } /** *

Specify which statuses to crawl in your Jira data source. You can specify one * or more of these options to crawl.

*/ inline JiraConfiguration& AddStatus(const char* value) { m_statusHasBeenSet = true; m_status.push_back(value); return *this; } /** *

Specify whether to crawl comments, attachments, and work logs. You can * specify one or more of these options.

*/ inline const Aws::Vector& GetIssueSubEntityFilter() const{ return m_issueSubEntityFilter; } /** *

Specify whether to crawl comments, attachments, and work logs. You can * specify one or more of these options.

*/ inline bool IssueSubEntityFilterHasBeenSet() const { return m_issueSubEntityFilterHasBeenSet; } /** *

Specify whether to crawl comments, attachments, and work logs. You can * specify one or more of these options.

*/ inline void SetIssueSubEntityFilter(const Aws::Vector& value) { m_issueSubEntityFilterHasBeenSet = true; m_issueSubEntityFilter = value; } /** *

Specify whether to crawl comments, attachments, and work logs. You can * specify one or more of these options.

*/ inline void SetIssueSubEntityFilter(Aws::Vector&& value) { m_issueSubEntityFilterHasBeenSet = true; m_issueSubEntityFilter = std::move(value); } /** *

Specify whether to crawl comments, attachments, and work logs. You can * specify one or more of these options.

*/ inline JiraConfiguration& WithIssueSubEntityFilter(const Aws::Vector& value) { SetIssueSubEntityFilter(value); return *this;} /** *

Specify whether to crawl comments, attachments, and work logs. You can * specify one or more of these options.

*/ inline JiraConfiguration& WithIssueSubEntityFilter(Aws::Vector&& value) { SetIssueSubEntityFilter(std::move(value)); return *this;} /** *

Specify whether to crawl comments, attachments, and work logs. You can * specify one or more of these options.

*/ inline JiraConfiguration& AddIssueSubEntityFilter(const IssueSubEntity& value) { m_issueSubEntityFilterHasBeenSet = true; m_issueSubEntityFilter.push_back(value); return *this; } /** *

Specify whether to crawl comments, attachments, and work logs. You can * specify one or more of these options.

*/ inline JiraConfiguration& AddIssueSubEntityFilter(IssueSubEntity&& value) { m_issueSubEntityFilterHasBeenSet = true; m_issueSubEntityFilter.push_back(std::move(value)); return *this; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline const Aws::Vector& GetCommentFieldMappings() const{ return m_commentFieldMappings; } /** *

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

*/ inline bool CommentFieldMappingsHasBeenSet() const { return m_commentFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetCommentFieldMappings(const Aws::Vector& value) { m_commentFieldMappingsHasBeenSet = true; m_commentFieldMappings = value; } /** *

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

*/ inline void SetCommentFieldMappings(Aws::Vector&& value) { m_commentFieldMappingsHasBeenSet = true; m_commentFieldMappings = std::move(value); } /** *

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

*/ inline JiraConfiguration& WithCommentFieldMappings(const Aws::Vector& value) { SetCommentFieldMappings(value); return *this;} /** *

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

*/ inline JiraConfiguration& WithCommentFieldMappings(Aws::Vector&& value) { SetCommentFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline JiraConfiguration& AddCommentFieldMappings(const DataSourceToIndexFieldMapping& value) { m_commentFieldMappingsHasBeenSet = true; m_commentFieldMappings.push_back(value); return *this; } /** *

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

*/ inline JiraConfiguration& AddCommentFieldMappings(DataSourceToIndexFieldMapping&& value) { m_commentFieldMappingsHasBeenSet = true; m_commentFieldMappings.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetIssueFieldMappings() const{ return m_issueFieldMappings; } /** *

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

*/ inline bool IssueFieldMappingsHasBeenSet() const { return m_issueFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetIssueFieldMappings(const Aws::Vector& value) { m_issueFieldMappingsHasBeenSet = true; m_issueFieldMappings = value; } /** *

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

*/ inline void SetIssueFieldMappings(Aws::Vector&& value) { m_issueFieldMappingsHasBeenSet = true; m_issueFieldMappings = std::move(value); } /** *

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

*/ inline JiraConfiguration& WithIssueFieldMappings(const Aws::Vector& value) { SetIssueFieldMappings(value); return *this;} /** *

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

*/ inline JiraConfiguration& WithIssueFieldMappings(Aws::Vector&& value) { SetIssueFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline JiraConfiguration& AddIssueFieldMappings(const DataSourceToIndexFieldMapping& value) { m_issueFieldMappingsHasBeenSet = true; m_issueFieldMappings.push_back(value); return *this; } /** *

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

*/ inline JiraConfiguration& AddIssueFieldMappings(DataSourceToIndexFieldMapping&& value) { m_issueFieldMappingsHasBeenSet = true; m_issueFieldMappings.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetProjectFieldMappings() const{ return m_projectFieldMappings; } /** *

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

*/ inline bool ProjectFieldMappingsHasBeenSet() const { return m_projectFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetProjectFieldMappings(const Aws::Vector& value) { m_projectFieldMappingsHasBeenSet = true; m_projectFieldMappings = value; } /** *

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

*/ inline void SetProjectFieldMappings(Aws::Vector&& value) { m_projectFieldMappingsHasBeenSet = true; m_projectFieldMappings = std::move(value); } /** *

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

*/ inline JiraConfiguration& WithProjectFieldMappings(const Aws::Vector& value) { SetProjectFieldMappings(value); return *this;} /** *

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

*/ inline JiraConfiguration& WithProjectFieldMappings(Aws::Vector&& value) { SetProjectFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline JiraConfiguration& AddProjectFieldMappings(const DataSourceToIndexFieldMapping& value) { m_projectFieldMappingsHasBeenSet = true; m_projectFieldMappings.push_back(value); return *this; } /** *

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

*/ inline JiraConfiguration& AddProjectFieldMappings(DataSourceToIndexFieldMapping&& value) { m_projectFieldMappingsHasBeenSet = true; m_projectFieldMappings.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetWorkLogFieldMappings() const{ return m_workLogFieldMappings; } /** *

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

*/ inline bool WorkLogFieldMappingsHasBeenSet() const { return m_workLogFieldMappingsHasBeenSet; } /** *

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

*/ inline void SetWorkLogFieldMappings(const Aws::Vector& value) { m_workLogFieldMappingsHasBeenSet = true; m_workLogFieldMappings = value; } /** *

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

*/ inline void SetWorkLogFieldMappings(Aws::Vector&& value) { m_workLogFieldMappingsHasBeenSet = true; m_workLogFieldMappings = std::move(value); } /** *

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

*/ inline JiraConfiguration& WithWorkLogFieldMappings(const Aws::Vector& value) { SetWorkLogFieldMappings(value); return *this;} /** *

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

*/ inline JiraConfiguration& WithWorkLogFieldMappings(Aws::Vector&& value) { SetWorkLogFieldMappings(std::move(value)); return *this;} /** *

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

*/ inline JiraConfiguration& AddWorkLogFieldMappings(const DataSourceToIndexFieldMapping& value) { m_workLogFieldMappingsHasBeenSet = true; m_workLogFieldMappings.push_back(value); return *this; } /** *

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

*/ inline JiraConfiguration& AddWorkLogFieldMappings(DataSourceToIndexFieldMapping&& value) { m_workLogFieldMappingsHasBeenSet = true; m_workLogFieldMappings.push_back(std::move(value)); return *this; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline JiraConfiguration& WithVpcConfiguration(DataSourceVpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;} private: Aws::String m_jiraAccountUrl; bool m_jiraAccountUrlHasBeenSet = false; Aws::String m_secretArn; bool m_secretArnHasBeenSet = false; bool m_useChangeLog; bool m_useChangeLogHasBeenSet = false; Aws::Vector m_project; bool m_projectHasBeenSet = false; Aws::Vector m_issueType; bool m_issueTypeHasBeenSet = false; Aws::Vector m_status; bool m_statusHasBeenSet = false; Aws::Vector m_issueSubEntityFilter; bool m_issueSubEntityFilterHasBeenSet = false; Aws::Vector m_attachmentFieldMappings; bool m_attachmentFieldMappingsHasBeenSet = false; Aws::Vector m_commentFieldMappings; bool m_commentFieldMappingsHasBeenSet = false; Aws::Vector m_issueFieldMappings; bool m_issueFieldMappingsHasBeenSet = false; Aws::Vector m_projectFieldMappings; bool m_projectFieldMappingsHasBeenSet = false; Aws::Vector m_workLogFieldMappings; bool m_workLogFieldMappingsHasBeenSet = false; Aws::Vector m_inclusionPatterns; bool m_inclusionPatternsHasBeenSet = false; Aws::Vector m_exclusionPatterns; bool m_exclusionPatternsHasBeenSet = false; DataSourceVpcConfiguration m_vpcConfiguration; bool m_vpcConfigurationHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws