/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides configuration information required to connect to a ServiceNow data
* source.See Also:
AWS
* API Reference
The ServiceNow instance that the data source connects to. The host endpoint
* should look like the following: {instance}.service-now.com.
The ServiceNow instance that the data source connects to. The host endpoint
* should look like the following: {instance}.service-now.com.
The ServiceNow instance that the data source connects to. The host endpoint
* should look like the following: {instance}.service-now.com.
The ServiceNow instance that the data source connects to. The host endpoint
* should look like the following: {instance}.service-now.com.
The ServiceNow instance that the data source connects to. The host endpoint
* should look like the following: {instance}.service-now.com.
The ServiceNow instance that the data source connects to. The host endpoint
* should look like the following: {instance}.service-now.com.
The ServiceNow instance that the data source connects to. The host endpoint
* should look like the following: {instance}.service-now.com.
The ServiceNow instance that the data source connects to. The host endpoint
* should look like the following: {instance}.service-now.com.
The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains * the user name and password required to connect to the ServiceNow instance.
*/ inline const Aws::String& GetSecretArn() const{ return m_secretArn; } /** *The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains * the user name and password required to connect to the ServiceNow instance.
*/ inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains * the user name and password required to connect to the ServiceNow instance.
*/ inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } /** *The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains * the user name and password required to connect to the ServiceNow instance.
*/ inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains * the user name and password required to connect to the ServiceNow instance.
*/ inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); } /** *The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains * the user name and password required to connect to the ServiceNow instance.
*/ inline ServiceNowConfiguration& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains * the user name and password required to connect to the ServiceNow instance.
*/ inline ServiceNowConfiguration& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains * the user name and password required to connect to the ServiceNow instance.
*/ inline ServiceNowConfiguration& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} /** *The identifier of the release that the ServiceNow host is running. If the
* host is not running the LONDON release, use
* OTHERS.
The identifier of the release that the ServiceNow host is running. If the
* host is not running the LONDON release, use
* OTHERS.
The identifier of the release that the ServiceNow host is running. If the
* host is not running the LONDON release, use
* OTHERS.
The identifier of the release that the ServiceNow host is running. If the
* host is not running the LONDON release, use
* OTHERS.
The identifier of the release that the ServiceNow host is running. If the
* host is not running the LONDON release, use
* OTHERS.
The identifier of the release that the ServiceNow host is running. If the
* host is not running the LONDON release, use
* OTHERS.
Provides configuration information for crawling knowledge articles in the * ServiceNow site.
*/ inline const ServiceNowKnowledgeArticleConfiguration& GetKnowledgeArticleConfiguration() const{ return m_knowledgeArticleConfiguration; } /** *Provides configuration information for crawling knowledge articles in the * ServiceNow site.
*/ inline bool KnowledgeArticleConfigurationHasBeenSet() const { return m_knowledgeArticleConfigurationHasBeenSet; } /** *Provides configuration information for crawling knowledge articles in the * ServiceNow site.
*/ inline void SetKnowledgeArticleConfiguration(const ServiceNowKnowledgeArticleConfiguration& value) { m_knowledgeArticleConfigurationHasBeenSet = true; m_knowledgeArticleConfiguration = value; } /** *Provides configuration information for crawling knowledge articles in the * ServiceNow site.
*/ inline void SetKnowledgeArticleConfiguration(ServiceNowKnowledgeArticleConfiguration&& value) { m_knowledgeArticleConfigurationHasBeenSet = true; m_knowledgeArticleConfiguration = std::move(value); } /** *Provides configuration information for crawling knowledge articles in the * ServiceNow site.
*/ inline ServiceNowConfiguration& WithKnowledgeArticleConfiguration(const ServiceNowKnowledgeArticleConfiguration& value) { SetKnowledgeArticleConfiguration(value); return *this;} /** *Provides configuration information for crawling knowledge articles in the * ServiceNow site.
*/ inline ServiceNowConfiguration& WithKnowledgeArticleConfiguration(ServiceNowKnowledgeArticleConfiguration&& value) { SetKnowledgeArticleConfiguration(std::move(value)); return *this;} /** *Provides configuration information for crawling service catalogs in the * ServiceNow site.
*/ inline const ServiceNowServiceCatalogConfiguration& GetServiceCatalogConfiguration() const{ return m_serviceCatalogConfiguration; } /** *Provides configuration information for crawling service catalogs in the * ServiceNow site.
*/ inline bool ServiceCatalogConfigurationHasBeenSet() const { return m_serviceCatalogConfigurationHasBeenSet; } /** *Provides configuration information for crawling service catalogs in the * ServiceNow site.
*/ inline void SetServiceCatalogConfiguration(const ServiceNowServiceCatalogConfiguration& value) { m_serviceCatalogConfigurationHasBeenSet = true; m_serviceCatalogConfiguration = value; } /** *Provides configuration information for crawling service catalogs in the * ServiceNow site.
*/ inline void SetServiceCatalogConfiguration(ServiceNowServiceCatalogConfiguration&& value) { m_serviceCatalogConfigurationHasBeenSet = true; m_serviceCatalogConfiguration = std::move(value); } /** *Provides configuration information for crawling service catalogs in the * ServiceNow site.
*/ inline ServiceNowConfiguration& WithServiceCatalogConfiguration(const ServiceNowServiceCatalogConfiguration& value) { SetServiceCatalogConfiguration(value); return *this;} /** *Provides configuration information for crawling service catalogs in the * ServiceNow site.
*/ inline ServiceNowConfiguration& WithServiceCatalogConfiguration(ServiceNowServiceCatalogConfiguration&& value) { SetServiceCatalogConfiguration(std::move(value)); return *this;} private: Aws::String m_hostUrl; bool m_hostUrlHasBeenSet; Aws::String m_secretArn; bool m_secretArnHasBeenSet; ServiceNowBuildVersionType m_serviceNowBuildVersion; bool m_serviceNowBuildVersionHasBeenSet; ServiceNowKnowledgeArticleConfiguration m_knowledgeArticleConfiguration; bool m_knowledgeArticleConfigurationHasBeenSet; ServiceNowServiceCatalogConfiguration m_serviceCatalogConfiguration; bool m_serviceCatalogConfigurationHasBeenSet; }; } // namespace Model } // namespace kendra } // namespace Aws