7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9#include <aws/kendra/model/ServiceNowAuthenticationType.h>
10#include <aws/kendra/model/ServiceNowBuildVersionType.h>
11#include <aws/kendra/model/ServiceNowKnowledgeArticleConfiguration.h>
12#include <aws/kendra/model/ServiceNowServiceCatalogConfiguration.h>
46 template <
typename HostUrlT = Aws::String>
48 m_hostUrlHasBeenSet =
true;
49 m_hostUrl = std::forward<HostUrlT>(value);
51 template <
typename HostUrlT = Aws::String>
69 template <
typename SecretArnT = Aws::String>
71 m_secretArnHasBeenSet =
true;
72 m_secretArn = std::forward<SecretArnT>(value);
74 template <
typename SecretArnT = Aws::String>
90 m_serviceNowBuildVersionHasBeenSet =
true;
91 m_serviceNowBuildVersion = value;
106 template <
typename KnowledgeArticleConfigurationT = ServiceNowKnowledgeArticleConfiguration>
108 m_knowledgeArticleConfigurationHasBeenSet =
true;
109 m_knowledgeArticleConfiguration = std::forward<KnowledgeArticleConfigurationT>(value);
111 template <
typename KnowledgeArticleConfigurationT = ServiceNowKnowledgeArticleConfiguration>
125 template <
typename ServiceCatalogConfigurationT = ServiceNowServiceCatalogConfiguration>
127 m_serviceCatalogConfigurationHasBeenSet =
true;
128 m_serviceCatalogConfiguration = std::forward<ServiceCatalogConfigurationT>(value);
130 template <
typename ServiceCatalogConfigurationT = ServiceNowServiceCatalogConfiguration>
153 m_authenticationTypeHasBeenSet =
true;
154 m_authenticationType = value;
163 bool m_hostUrlHasBeenSet =
false;
166 bool m_secretArnHasBeenSet =
false;
169 bool m_serviceNowBuildVersionHasBeenSet =
false;
171 ServiceNowKnowledgeArticleConfiguration m_knowledgeArticleConfiguration;
172 bool m_knowledgeArticleConfigurationHasBeenSet =
false;
174 ServiceNowServiceCatalogConfiguration m_serviceCatalogConfiguration;
175 bool m_serviceCatalogConfigurationHasBeenSet =
false;
178 bool m_authenticationTypeHasBeenSet =
false;
void SetAuthenticationType(ServiceNowAuthenticationType value)
ServiceNowConfiguration & WithHostUrl(HostUrlT &&value)
ServiceNowConfiguration & WithServiceNowBuildVersion(ServiceNowBuildVersionType value)
void SetKnowledgeArticleConfiguration(KnowledgeArticleConfigurationT &&value)
AWS_KENDRA_API ServiceNowConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AuthenticationTypeHasBeenSet() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSecretArn() const
ServiceNowConfiguration & WithAuthenticationType(ServiceNowAuthenticationType value)
AWS_KENDRA_API ServiceNowConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool ServiceNowBuildVersionHasBeenSet() const
void SetHostUrl(HostUrlT &&value)
ServiceNowAuthenticationType GetAuthenticationType() const
ServiceNowConfiguration & WithKnowledgeArticleConfiguration(KnowledgeArticleConfigurationT &&value)
const ServiceNowKnowledgeArticleConfiguration & GetKnowledgeArticleConfiguration() const
bool KnowledgeArticleConfigurationHasBeenSet() const
const ServiceNowServiceCatalogConfiguration & GetServiceCatalogConfiguration() const
const Aws::String & GetHostUrl() const
ServiceNowConfiguration & WithSecretArn(SecretArnT &&value)
bool SecretArnHasBeenSet() const
void SetSecretArn(SecretArnT &&value)
void SetServiceNowBuildVersion(ServiceNowBuildVersionType value)
ServiceNowConfiguration & WithServiceCatalogConfiguration(ServiceCatalogConfigurationT &&value)
bool HostUrlHasBeenSet() const
bool ServiceCatalogConfigurationHasBeenSet() const
AWS_KENDRA_API ServiceNowConfiguration()=default
void SetServiceCatalogConfiguration(ServiceCatalogConfigurationT &&value)
ServiceNowBuildVersionType GetServiceNowBuildVersion() const
ServiceNowAuthenticationType
ServiceNowBuildVersionType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue