/** * 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 #include namespace Aws { namespace kendra { namespace Model { /** */ class CreateDataSourceRequest : public KendraRequest { public: AWS_KENDRA_API CreateDataSourceRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateDataSource"; } AWS_KENDRA_API Aws::String SerializePayload() const override; AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A name for the data source connector.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A name for the data source connector.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A name for the data source connector.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A name for the data source connector.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A name for the data source connector.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A name for the data source connector.

*/ inline CreateDataSourceRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A name for the data source connector.

*/ inline CreateDataSourceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A name for the data source connector.

*/ inline CreateDataSourceRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The identifier of the index you want to use with the data source * connector.

*/ inline const Aws::String& GetIndexId() const{ return m_indexId; } /** *

The identifier of the index you want to use with the data source * connector.

*/ inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; } /** *

The identifier of the index you want to use with the data source * connector.

*/ inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; } /** *

The identifier of the index you want to use with the data source * connector.

*/ inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); } /** *

The identifier of the index you want to use with the data source * connector.

*/ inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); } /** *

The identifier of the index you want to use with the data source * connector.

*/ inline CreateDataSourceRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;} /** *

The identifier of the index you want to use with the data source * connector.

*/ inline CreateDataSourceRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;} /** *

The identifier of the index you want to use with the data source * connector.

*/ inline CreateDataSourceRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;} /** *

The type of data source repository. For example, SHAREPOINT.

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

The type of data source repository. For example, SHAREPOINT.

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

The type of data source repository. For example, SHAREPOINT.

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

The type of data source repository. For example, SHAREPOINT.

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

The type of data source repository. For example, SHAREPOINT.

*/ inline CreateDataSourceRequest& WithType(const DataSourceType& value) { SetType(value); return *this;} /** *

The type of data source repository. For example, SHAREPOINT.

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

Configuration information to connect to your data source repository.

*

You can't specify the Configuration parameter when the * Type parameter is set to CUSTOM. If you do, you * receive a ValidationException exception.

The * Configuration parameter is required for all other data sources.

*/ inline const DataSourceConfiguration& GetConfiguration() const{ return m_configuration; } /** *

Configuration information to connect to your data source repository.

*

You can't specify the Configuration parameter when the * Type parameter is set to CUSTOM. If you do, you * receive a ValidationException exception.

The * Configuration parameter is required for all other data sources.

*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *

Configuration information to connect to your data source repository.

*

You can't specify the Configuration parameter when the * Type parameter is set to CUSTOM. If you do, you * receive a ValidationException exception.

The * Configuration parameter is required for all other data sources.

*/ inline void SetConfiguration(const DataSourceConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *

Configuration information to connect to your data source repository.

*

You can't specify the Configuration parameter when the * Type parameter is set to CUSTOM. If you do, you * receive a ValidationException exception.

The * Configuration parameter is required for all other data sources.

*/ inline void SetConfiguration(DataSourceConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *

Configuration information to connect to your data source repository.

*

You can't specify the Configuration parameter when the * Type parameter is set to CUSTOM. If you do, you * receive a ValidationException exception.

The * Configuration parameter is required for all other data sources.

*/ inline CreateDataSourceRequest& WithConfiguration(const DataSourceConfiguration& value) { SetConfiguration(value); return *this;} /** *

Configuration information to connect to your data source repository.

*

You can't specify the Configuration parameter when the * Type parameter is set to CUSTOM. If you do, you * receive a ValidationException exception.

The * Configuration parameter is required for all other data sources.

*/ inline CreateDataSourceRequest& WithConfiguration(DataSourceConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} /** *

Configuration information for an Amazon Virtual Private Cloud to connect to * your data source. 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 data source. 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 data source. 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 data source. 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 data source. For more information, see Configuring * a VPC.

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

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

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

A description for the data source connector.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description for the data source connector.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description for the data source connector.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description for the data source connector.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description for the data source connector.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description for the data source connector.

*/ inline CreateDataSourceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description for the data source connector.

*/ inline CreateDataSourceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description for the data source connector.

*/ inline CreateDataSourceRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Sets the frequency for Amazon Kendra to check the documents in your data * source repository and update the index. If you don't set a schedule Amazon * Kendra will not periodically update the index. You can call the * StartDataSourceSyncJob API to update the index.

Specify a * cron- format schedule string or an empty string to indicate that * the index is updated on demand.

You can't specify the * Schedule parameter when the Type parameter is set to * CUSTOM. If you do, you receive a ValidationException * exception.

*/ inline const Aws::String& GetSchedule() const{ return m_schedule; } /** *

Sets the frequency for Amazon Kendra to check the documents in your data * source repository and update the index. If you don't set a schedule Amazon * Kendra will not periodically update the index. You can call the * StartDataSourceSyncJob API to update the index.

Specify a * cron- format schedule string or an empty string to indicate that * the index is updated on demand.

You can't specify the * Schedule parameter when the Type parameter is set to * CUSTOM. If you do, you receive a ValidationException * exception.

*/ inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } /** *

Sets the frequency for Amazon Kendra to check the documents in your data * source repository and update the index. If you don't set a schedule Amazon * Kendra will not periodically update the index. You can call the * StartDataSourceSyncJob API to update the index.

Specify a * cron- format schedule string or an empty string to indicate that * the index is updated on demand.

You can't specify the * Schedule parameter when the Type parameter is set to * CUSTOM. If you do, you receive a ValidationException * exception.

*/ inline void SetSchedule(const Aws::String& value) { m_scheduleHasBeenSet = true; m_schedule = value; } /** *

Sets the frequency for Amazon Kendra to check the documents in your data * source repository and update the index. If you don't set a schedule Amazon * Kendra will not periodically update the index. You can call the * StartDataSourceSyncJob API to update the index.

Specify a * cron- format schedule string or an empty string to indicate that * the index is updated on demand.

You can't specify the * Schedule parameter when the Type parameter is set to * CUSTOM. If you do, you receive a ValidationException * exception.

*/ inline void SetSchedule(Aws::String&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } /** *

Sets the frequency for Amazon Kendra to check the documents in your data * source repository and update the index. If you don't set a schedule Amazon * Kendra will not periodically update the index. You can call the * StartDataSourceSyncJob API to update the index.

Specify a * cron- format schedule string or an empty string to indicate that * the index is updated on demand.

You can't specify the * Schedule parameter when the Type parameter is set to * CUSTOM. If you do, you receive a ValidationException * exception.

*/ inline void SetSchedule(const char* value) { m_scheduleHasBeenSet = true; m_schedule.assign(value); } /** *

Sets the frequency for Amazon Kendra to check the documents in your data * source repository and update the index. If you don't set a schedule Amazon * Kendra will not periodically update the index. You can call the * StartDataSourceSyncJob API to update the index.

Specify a * cron- format schedule string or an empty string to indicate that * the index is updated on demand.

You can't specify the * Schedule parameter when the Type parameter is set to * CUSTOM. If you do, you receive a ValidationException * exception.

*/ inline CreateDataSourceRequest& WithSchedule(const Aws::String& value) { SetSchedule(value); return *this;} /** *

Sets the frequency for Amazon Kendra to check the documents in your data * source repository and update the index. If you don't set a schedule Amazon * Kendra will not periodically update the index. You can call the * StartDataSourceSyncJob API to update the index.

Specify a * cron- format schedule string or an empty string to indicate that * the index is updated on demand.

You can't specify the * Schedule parameter when the Type parameter is set to * CUSTOM. If you do, you receive a ValidationException * exception.

*/ inline CreateDataSourceRequest& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;} /** *

Sets the frequency for Amazon Kendra to check the documents in your data * source repository and update the index. If you don't set a schedule Amazon * Kendra will not periodically update the index. You can call the * StartDataSourceSyncJob API to update the index.

Specify a * cron- format schedule string or an empty string to indicate that * the index is updated on demand.

You can't specify the * Schedule parameter when the Type parameter is set to * CUSTOM. If you do, you receive a ValidationException * exception.

*/ inline CreateDataSourceRequest& WithSchedule(const char* value) { SetSchedule(value); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role with permission to access the * data source and required resources. For more information, see IAM access * roles for Amazon Kendra..

You can't specify the RoleArn * parameter when the Type parameter is set to CUSTOM. If * you do, you receive a ValidationException exception.

The * RoleArn parameter is required for all other data sources.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of an IAM role with permission to access the * data source and required resources. For more information, see IAM access * roles for Amazon Kendra..

You can't specify the RoleArn * parameter when the Type parameter is set to CUSTOM. If * you do, you receive a ValidationException exception.

The * RoleArn parameter is required for all other data sources.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of an IAM role with permission to access the * data source and required resources. For more information, see IAM access * roles for Amazon Kendra..

You can't specify the RoleArn * parameter when the Type parameter is set to CUSTOM. If * you do, you receive a ValidationException exception.

The * RoleArn parameter is required for all other data sources.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of an IAM role with permission to access the * data source and required resources. For more information, see IAM access * roles for Amazon Kendra..

You can't specify the RoleArn * parameter when the Type parameter is set to CUSTOM. If * you do, you receive a ValidationException exception.

The * RoleArn parameter is required for all other data sources.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of an IAM role with permission to access the * data source and required resources. For more information, see IAM access * roles for Amazon Kendra..

You can't specify the RoleArn * parameter when the Type parameter is set to CUSTOM. If * you do, you receive a ValidationException exception.

The * RoleArn parameter is required for all other data sources.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of an IAM role with permission to access the * data source and required resources. For more information, see IAM access * roles for Amazon Kendra..

You can't specify the RoleArn * parameter when the Type parameter is set to CUSTOM. If * you do, you receive a ValidationException exception.

The * RoleArn parameter is required for all other data sources.

*/ inline CreateDataSourceRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role with permission to access the * data source and required resources. For more information, see IAM access * roles for Amazon Kendra..

You can't specify the RoleArn * parameter when the Type parameter is set to CUSTOM. If * you do, you receive a ValidationException exception.

The * RoleArn parameter is required for all other data sources.

*/ inline CreateDataSourceRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role with permission to access the * data source and required resources. For more information, see IAM access * roles for Amazon Kendra..

You can't specify the RoleArn * parameter when the Type parameter is set to CUSTOM. If * you do, you receive a ValidationException exception.

The * RoleArn parameter is required for all other data sources.

*/ inline CreateDataSourceRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

A list of key-value pairs that identify or categorize the data source * connector. You can also use tags to help control access to the data source * connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A list of key-value pairs that identify or categorize the data source * connector. You can also use tags to help control access to the data source * connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A list of key-value pairs that identify or categorize the data source * connector. You can also use tags to help control access to the data source * connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A list of key-value pairs that identify or categorize the data source * connector. You can also use tags to help control access to the data source * connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A list of key-value pairs that identify or categorize the data source * connector. You can also use tags to help control access to the data source * connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @.

*/ inline CreateDataSourceRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of key-value pairs that identify or categorize the data source * connector. You can also use tags to help control access to the data source * connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @.

*/ inline CreateDataSourceRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of key-value pairs that identify or categorize the data source * connector. You can also use tags to help control access to the data source * connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @.

*/ inline CreateDataSourceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A list of key-value pairs that identify or categorize the data source * connector. You can also use tags to help control access to the data source * connector. Tag keys and values can consist of Unicode letters, digits, white * space, and any of the following symbols: _ . : / = + - @.

*/ inline CreateDataSourceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

A token that you provide to identify the request to create a data source * connector. Multiple calls to the CreateDataSource API with the same * client token will create only one data source connector.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A token that you provide to identify the request to create a data source * connector. Multiple calls to the CreateDataSource API with the same * client token will create only one data source connector.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A token that you provide to identify the request to create a data source * connector. Multiple calls to the CreateDataSource API with the same * client token will create only one data source connector.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A token that you provide to identify the request to create a data source * connector. Multiple calls to the CreateDataSource API with the same * client token will create only one data source connector.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A token that you provide to identify the request to create a data source * connector. Multiple calls to the CreateDataSource API with the same * client token will create only one data source connector.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A token that you provide to identify the request to create a data source * connector. Multiple calls to the CreateDataSource API with the same * client token will create only one data source connector.

*/ inline CreateDataSourceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A token that you provide to identify the request to create a data source * connector. Multiple calls to the CreateDataSource API with the same * client token will create only one data source connector.

*/ inline CreateDataSourceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A token that you provide to identify the request to create a data source * connector. Multiple calls to the CreateDataSource API with the same * client token will create only one data source connector.

*/ inline CreateDataSourceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The code for a language. This allows you to support a language for all * documents when creating the data source connector. English is supported by * default. For more information on supported languages, including their codes, see * Adding * documents in languages other than English.

*/ inline const Aws::String& GetLanguageCode() const{ return m_languageCode; } /** *

The code for a language. This allows you to support a language for all * documents when creating the data source connector. English is supported by * default. For more information on supported languages, including their codes, see * Adding * documents in languages other than English.

*/ inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; } /** *

The code for a language. This allows you to support a language for all * documents when creating the data source connector. English is supported by * default. For more information on supported languages, including their codes, see * Adding * documents in languages other than English.

*/ inline void SetLanguageCode(const Aws::String& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; } /** *

The code for a language. This allows you to support a language for all * documents when creating the data source connector. English is supported by * default. For more information on supported languages, including their codes, see * Adding * documents in languages other than English.

*/ inline void SetLanguageCode(Aws::String&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); } /** *

The code for a language. This allows you to support a language for all * documents when creating the data source connector. English is supported by * default. For more information on supported languages, including their codes, see * Adding * documents in languages other than English.

*/ inline void SetLanguageCode(const char* value) { m_languageCodeHasBeenSet = true; m_languageCode.assign(value); } /** *

The code for a language. This allows you to support a language for all * documents when creating the data source connector. English is supported by * default. For more information on supported languages, including their codes, see * Adding * documents in languages other than English.

*/ inline CreateDataSourceRequest& WithLanguageCode(const Aws::String& value) { SetLanguageCode(value); return *this;} /** *

The code for a language. This allows you to support a language for all * documents when creating the data source connector. English is supported by * default. For more information on supported languages, including their codes, see * Adding * documents in languages other than English.

*/ inline CreateDataSourceRequest& WithLanguageCode(Aws::String&& value) { SetLanguageCode(std::move(value)); return *this;} /** *

The code for a language. This allows you to support a language for all * documents when creating the data source connector. English is supported by * default. For more information on supported languages, including their codes, see * Adding * documents in languages other than English.

*/ inline CreateDataSourceRequest& WithLanguageCode(const char* value) { SetLanguageCode(value); return *this;} /** *

Configuration information for altering document metadata and content during * the document ingestion process.

For more information on how to create, * modify and delete document metadata, or make other content alterations when you * ingest documents into Amazon Kendra, see Customizing * document metadata during the ingestion process.

*/ inline const CustomDocumentEnrichmentConfiguration& GetCustomDocumentEnrichmentConfiguration() const{ return m_customDocumentEnrichmentConfiguration; } /** *

Configuration information for altering document metadata and content during * the document ingestion process.

For more information on how to create, * modify and delete document metadata, or make other content alterations when you * ingest documents into Amazon Kendra, see Customizing * document metadata during the ingestion process.

*/ inline bool CustomDocumentEnrichmentConfigurationHasBeenSet() const { return m_customDocumentEnrichmentConfigurationHasBeenSet; } /** *

Configuration information for altering document metadata and content during * the document ingestion process.

For more information on how to create, * modify and delete document metadata, or make other content alterations when you * ingest documents into Amazon Kendra, see Customizing * document metadata during the ingestion process.

*/ inline void SetCustomDocumentEnrichmentConfiguration(const CustomDocumentEnrichmentConfiguration& value) { m_customDocumentEnrichmentConfigurationHasBeenSet = true; m_customDocumentEnrichmentConfiguration = value; } /** *

Configuration information for altering document metadata and content during * the document ingestion process.

For more information on how to create, * modify and delete document metadata, or make other content alterations when you * ingest documents into Amazon Kendra, see Customizing * document metadata during the ingestion process.

*/ inline void SetCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration&& value) { m_customDocumentEnrichmentConfigurationHasBeenSet = true; m_customDocumentEnrichmentConfiguration = std::move(value); } /** *

Configuration information for altering document metadata and content during * the document ingestion process.

For more information on how to create, * modify and delete document metadata, or make other content alterations when you * ingest documents into Amazon Kendra, see Customizing * document metadata during the ingestion process.

*/ inline CreateDataSourceRequest& WithCustomDocumentEnrichmentConfiguration(const CustomDocumentEnrichmentConfiguration& value) { SetCustomDocumentEnrichmentConfiguration(value); return *this;} /** *

Configuration information for altering document metadata and content during * the document ingestion process.

For more information on how to create, * modify and delete document metadata, or make other content alterations when you * ingest documents into Amazon Kendra, see Customizing * document metadata during the ingestion process.

*/ inline CreateDataSourceRequest& WithCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration&& value) { SetCustomDocumentEnrichmentConfiguration(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_indexId; bool m_indexIdHasBeenSet = false; DataSourceType m_type; bool m_typeHasBeenSet = false; DataSourceConfiguration m_configuration; bool m_configurationHasBeenSet = false; DataSourceVpcConfiguration m_vpcConfiguration; bool m_vpcConfigurationHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_schedule; bool m_scheduleHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_languageCode; bool m_languageCodeHasBeenSet = false; CustomDocumentEnrichmentConfiguration m_customDocumentEnrichmentConfiguration; bool m_customDocumentEnrichmentConfigurationHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws