AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ServiceNowConfiguration.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/model/ServiceNowBuildVersionType.h>
10#include <aws/kendra/model/ServiceNowKnowledgeArticleConfiguration.h>
11#include <aws/kendra/model/ServiceNowServiceCatalogConfiguration.h>
12#include <aws/kendra/model/ServiceNowAuthenticationType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace kendra
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_KENDRA_API ServiceNowConfiguration() = default;
42 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetHostUrl() const { return m_hostUrl; }
51 inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; }
52 template<typename HostUrlT = Aws::String>
53 void SetHostUrl(HostUrlT&& value) { m_hostUrlHasBeenSet = true; m_hostUrl = std::forward<HostUrlT>(value); }
54 template<typename HostUrlT = Aws::String>
55 ServiceNowConfiguration& WithHostUrl(HostUrlT&& value) { SetHostUrl(std::forward<HostUrlT>(value)); return *this;}
57
59
67 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
68 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
69 template<typename SecretArnT = Aws::String>
70 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
71 template<typename SecretArnT = Aws::String>
72 ServiceNowConfiguration& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
74
76
81 inline ServiceNowBuildVersionType GetServiceNowBuildVersion() const { return m_serviceNowBuildVersion; }
82 inline bool ServiceNowBuildVersionHasBeenSet() const { return m_serviceNowBuildVersionHasBeenSet; }
83 inline void SetServiceNowBuildVersion(ServiceNowBuildVersionType value) { m_serviceNowBuildVersionHasBeenSet = true; m_serviceNowBuildVersion = value; }
86
88
92 inline const ServiceNowKnowledgeArticleConfiguration& GetKnowledgeArticleConfiguration() const { return m_knowledgeArticleConfiguration; }
93 inline bool KnowledgeArticleConfigurationHasBeenSet() const { return m_knowledgeArticleConfigurationHasBeenSet; }
94 template<typename KnowledgeArticleConfigurationT = ServiceNowKnowledgeArticleConfiguration>
95 void SetKnowledgeArticleConfiguration(KnowledgeArticleConfigurationT&& value) { m_knowledgeArticleConfigurationHasBeenSet = true; m_knowledgeArticleConfiguration = std::forward<KnowledgeArticleConfigurationT>(value); }
96 template<typename KnowledgeArticleConfigurationT = ServiceNowKnowledgeArticleConfiguration>
97 ServiceNowConfiguration& WithKnowledgeArticleConfiguration(KnowledgeArticleConfigurationT&& value) { SetKnowledgeArticleConfiguration(std::forward<KnowledgeArticleConfigurationT>(value)); return *this;}
99
101
105 inline const ServiceNowServiceCatalogConfiguration& GetServiceCatalogConfiguration() const { return m_serviceCatalogConfiguration; }
106 inline bool ServiceCatalogConfigurationHasBeenSet() const { return m_serviceCatalogConfigurationHasBeenSet; }
107 template<typename ServiceCatalogConfigurationT = ServiceNowServiceCatalogConfiguration>
108 void SetServiceCatalogConfiguration(ServiceCatalogConfigurationT&& value) { m_serviceCatalogConfigurationHasBeenSet = true; m_serviceCatalogConfiguration = std::forward<ServiceCatalogConfigurationT>(value); }
109 template<typename ServiceCatalogConfigurationT = ServiceNowServiceCatalogConfiguration>
110 ServiceNowConfiguration& WithServiceCatalogConfiguration(ServiceCatalogConfigurationT&& value) { SetServiceCatalogConfiguration(std::forward<ServiceCatalogConfigurationT>(value)); return *this;}
112
114
126 inline ServiceNowAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
127 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
128 inline void SetAuthenticationType(ServiceNowAuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
131 private:
132
133 Aws::String m_hostUrl;
134 bool m_hostUrlHasBeenSet = false;
135
136 Aws::String m_secretArn;
137 bool m_secretArnHasBeenSet = false;
138
140 bool m_serviceNowBuildVersionHasBeenSet = false;
141
142 ServiceNowKnowledgeArticleConfiguration m_knowledgeArticleConfiguration;
143 bool m_knowledgeArticleConfigurationHasBeenSet = false;
144
145 ServiceNowServiceCatalogConfiguration m_serviceCatalogConfiguration;
146 bool m_serviceCatalogConfigurationHasBeenSet = false;
147
149 bool m_authenticationTypeHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace kendra
154} // namespace Aws
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)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceNowConfiguration & WithAuthenticationType(ServiceNowAuthenticationType value)
AWS_KENDRA_API ServiceNowConfiguration(Aws::Utils::Json::JsonView jsonValue)
ServiceNowAuthenticationType GetAuthenticationType() const
ServiceNowConfiguration & WithKnowledgeArticleConfiguration(KnowledgeArticleConfigurationT &&value)
const ServiceNowKnowledgeArticleConfiguration & GetKnowledgeArticleConfiguration() const
const ServiceNowServiceCatalogConfiguration & GetServiceCatalogConfiguration() const
ServiceNowConfiguration & WithSecretArn(SecretArnT &&value)
void SetServiceNowBuildVersion(ServiceNowBuildVersionType value)
ServiceNowConfiguration & WithServiceCatalogConfiguration(ServiceCatalogConfigurationT &&value)
AWS_KENDRA_API ServiceNowConfiguration()=default
void SetServiceCatalogConfiguration(ServiceCatalogConfigurationT &&value)
ServiceNowBuildVersionType GetServiceNowBuildVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue