7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/model/SharePointVersion.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/kendra/model/DataSourceVpcConfiguration.h>
12#include <aws/kendra/model/S3Path.h>
13#include <aws/kendra/model/SharePointOnlineAuthenticationType.h>
14#include <aws/kendra/model/ProxyConfiguration.h>
15#include <aws/kendra/model/DataSourceToIndexFieldMapping.h>
64 template<
typename UrlsT = Aws::Vector<Aws::String>>
65 void SetUrls(UrlsT&& value) { m_urlsHasBeenSet =
true; m_urls = std::forward<UrlsT>(value); }
66 template<
typename UrlsT = Aws::Vector<Aws::String>>
68 template<
typename UrlsT = Aws::String>
82 template<
typename SecretArnT = Aws::String>
83 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet =
true; m_secretArn = std::forward<SecretArnT>(value); }
84 template<
typename SecretArnT = Aws::String>
94 inline void SetCrawlAttachments(
bool value) { m_crawlAttachmentsHasBeenSet =
true; m_crawlAttachments = value; }
107 inline void SetUseChangeLog(
bool value) { m_useChangeLogHasBeenSet =
true; m_useChangeLog = value; }
122 template<
typename InclusionPatternsT = Aws::Vector<Aws::String>>
123 void SetInclusionPatterns(InclusionPatternsT&& value) { m_inclusionPatternsHasBeenSet =
true; m_inclusionPatterns = std::forward<InclusionPatternsT>(value); }
124 template<
typename InclusionPatternsT = Aws::Vector<Aws::String>>
126 template<
typename InclusionPatternsT = Aws::String>
141 template<
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
142 void SetExclusionPatterns(ExclusionPatternsT&& value) { m_exclusionPatternsHasBeenSet =
true; m_exclusionPatterns = std::forward<ExclusionPatternsT>(value); }
143 template<
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
145 template<
typename ExclusionPatternsT = Aws::String>
158 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
159 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet =
true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
160 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
176 template<
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
177 void SetFieldMappings(FieldMappingsT&& value) { m_fieldMappingsHasBeenSet =
true; m_fieldMappings = std::forward<FieldMappingsT>(value); }
178 template<
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
180 template<
typename FieldMappingsT = DataSourceToIndexFieldMapping>
191 template<
typename DocumentTitleFieldNameT = Aws::String>
192 void SetDocumentTitleFieldName(DocumentTitleFieldNameT&& value) { m_documentTitleFieldNameHasBeenSet =
true; m_documentTitleFieldName = std::forward<DocumentTitleFieldNameT>(value); }
193 template<
typename DocumentTitleFieldNameT = Aws::String>
203 inline void SetDisableLocalGroups(
bool value) { m_disableLocalGroupsHasBeenSet =
true; m_disableLocalGroups = value; }
218 template<
typename SslCertificateS3PathT = S3Path>
219 void SetSslCertificateS3Path(SslCertificateS3PathT&& value) { m_sslCertificateS3PathHasBeenSet =
true; m_sslCertificateS3Path = std::forward<SslCertificateS3PathT>(value); }
220 template<
typename SslCertificateS3PathT = S3Path>
256 template<
typename ProxyConfigurationT = ProxyConfiguration>
257 void SetProxyConfiguration(ProxyConfigurationT&& value) { m_proxyConfigurationHasBeenSet =
true; m_proxyConfiguration = std::forward<ProxyConfigurationT>(value); }
258 template<
typename ProxyConfigurationT = ProxyConfiguration>
264 bool m_sharePointVersionHasBeenSet =
false;
267 bool m_urlsHasBeenSet =
false;
270 bool m_secretArnHasBeenSet =
false;
272 bool m_crawlAttachments{
false};
273 bool m_crawlAttachmentsHasBeenSet =
false;
275 bool m_useChangeLog{
false};
276 bool m_useChangeLogHasBeenSet =
false;
279 bool m_inclusionPatternsHasBeenSet =
false;
282 bool m_exclusionPatternsHasBeenSet =
false;
284 DataSourceVpcConfiguration m_vpcConfiguration;
285 bool m_vpcConfigurationHasBeenSet =
false;
288 bool m_fieldMappingsHasBeenSet =
false;
291 bool m_documentTitleFieldNameHasBeenSet =
false;
293 bool m_disableLocalGroups{
false};
294 bool m_disableLocalGroupsHasBeenSet =
false;
296 S3Path m_sslCertificateS3Path;
297 bool m_sslCertificateS3PathHasBeenSet =
false;
300 bool m_authenticationTypeHasBeenSet =
false;
302 ProxyConfiguration m_proxyConfiguration;
303 bool m_proxyConfigurationHasBeenSet =
false;
SharePointOnlineAuthenticationType GetAuthenticationType() const
bool AuthenticationTypeHasBeenSet() const
void SetSharePointVersion(SharePointVersion value)
SharePointConfiguration & WithFieldMappings(FieldMappingsT &&value)
SharePointConfiguration & WithCrawlAttachments(bool value)
const DataSourceVpcConfiguration & GetVpcConfiguration() const
void SetExclusionPatterns(ExclusionPatternsT &&value)
void SetUrls(UrlsT &&value)
SharePointConfiguration & WithUrls(UrlsT &&value)
bool SecretArnHasBeenSet() const
SharePointConfiguration & AddInclusionPatterns(InclusionPatternsT &&value)
void SetInclusionPatterns(InclusionPatternsT &&value)
bool GetCrawlAttachments() const
SharePointConfiguration & WithSharePointVersion(SharePointVersion value)
SharePointConfiguration & WithInclusionPatterns(InclusionPatternsT &&value)
void SetCrawlAttachments(bool value)
bool SslCertificateS3PathHasBeenSet() const
void SetProxyConfiguration(ProxyConfigurationT &&value)
const ProxyConfiguration & GetProxyConfiguration() const
bool ExclusionPatternsHasBeenSet() const
AWS_KENDRA_API SharePointConfiguration()=default
bool CrawlAttachmentsHasBeenSet() const
SharePointConfiguration & AddExclusionPatterns(ExclusionPatternsT &&value)
AWS_KENDRA_API SharePointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SharePointConfiguration & AddFieldMappings(FieldMappingsT &&value)
bool DocumentTitleFieldNameHasBeenSet() const
bool DisableLocalGroupsHasBeenSet() const
const Aws::Vector< Aws::String > & GetInclusionPatterns() const
const Aws::String & GetDocumentTitleFieldName() const
SharePointConfiguration & WithDocumentTitleFieldName(DocumentTitleFieldNameT &&value)
bool UseChangeLogHasBeenSet() const
bool SharePointVersionHasBeenSet() const
SharePointConfiguration & WithSslCertificateS3Path(SslCertificateS3PathT &&value)
bool GetDisableLocalGroups() const
const Aws::Vector< Aws::String > & GetExclusionPatterns() const
SharePointVersion GetSharePointVersion() const
SharePointConfiguration & WithUseChangeLog(bool value)
void SetUseChangeLog(bool value)
SharePointConfiguration & WithExclusionPatterns(ExclusionPatternsT &&value)
void SetSslCertificateS3Path(SslCertificateS3PathT &&value)
bool InclusionPatternsHasBeenSet() const
const S3Path & GetSslCertificateS3Path() const
SharePointConfiguration & AddUrls(UrlsT &&value)
const Aws::Vector< Aws::String > & GetUrls() const
const Aws::String & GetSecretArn() const
bool ProxyConfigurationHasBeenSet() const
SharePointConfiguration & WithSecretArn(SecretArnT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDocumentTitleFieldName(DocumentTitleFieldNameT &&value)
AWS_KENDRA_API SharePointConfiguration(Aws::Utils::Json::JsonView jsonValue)
SharePointConfiguration & WithVpcConfiguration(VpcConfigurationT &&value)
bool FieldMappingsHasBeenSet() const
void SetDisableLocalGroups(bool value)
bool GetUseChangeLog() const
void SetVpcConfiguration(VpcConfigurationT &&value)
const Aws::Vector< DataSourceToIndexFieldMapping > & GetFieldMappings() const
bool UrlsHasBeenSet() const
SharePointConfiguration & WithProxyConfiguration(ProxyConfigurationT &&value)
void SetAuthenticationType(SharePointOnlineAuthenticationType value)
void SetSecretArn(SecretArnT &&value)
SharePointConfiguration & WithAuthenticationType(SharePointOnlineAuthenticationType value)
SharePointConfiguration & WithDisableLocalGroups(bool value)
void SetFieldMappings(FieldMappingsT &&value)
bool VpcConfigurationHasBeenSet() const
SharePointOnlineAuthenticationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue