7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10#include <aws/kendra/model/DataSourceToIndexFieldMapping.h>
11#include <aws/kendra/model/DataSourceVpcConfiguration.h>
12#include <aws/kendra/model/ProxyConfiguration.h>
13#include <aws/kendra/model/S3Path.h>
14#include <aws/kendra/model/SharePointOnlineAuthenticationType.h>
15#include <aws/kendra/model/SharePointVersion.h>
49 m_sharePointVersionHasBeenSet =
true;
50 m_sharePointVersion = value;
64 template <
typename UrlsT = Aws::Vector<Aws::String>>
66 m_urlsHasBeenSet =
true;
67 m_urls = std::forward<UrlsT>(value);
69 template <
typename UrlsT = Aws::Vector<Aws::String>>
71 SetUrls(std::forward<UrlsT>(value));
74 template <
typename UrlsT = Aws::String>
76 m_urlsHasBeenSet =
true;
77 m_urls.emplace_back(std::forward<UrlsT>(value));
92 template <
typename SecretArnT = Aws::String>
94 m_secretArnHasBeenSet =
true;
95 m_secretArn = std::forward<SecretArnT>(value);
97 template <
typename SecretArnT = Aws::String>
111 m_crawlAttachmentsHasBeenSet =
true;
112 m_crawlAttachments = value;
130 m_useChangeLogHasBeenSet =
true;
131 m_useChangeLog = value;
150 template <
typename InclusionPatternsT = Aws::Vector<Aws::String>>
152 m_inclusionPatternsHasBeenSet =
true;
153 m_inclusionPatterns = std::forward<InclusionPatternsT>(value);
155 template <
typename InclusionPatternsT = Aws::Vector<Aws::String>>
160 template <
typename InclusionPatternsT = Aws::String>
162 m_inclusionPatternsHasBeenSet =
true;
163 m_inclusionPatterns.emplace_back(std::forward<InclusionPatternsT>(value));
179 template <
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
181 m_exclusionPatternsHasBeenSet =
true;
182 m_exclusionPatterns = std::forward<ExclusionPatternsT>(value);
184 template <
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
189 template <
typename ExclusionPatternsT = Aws::String>
191 m_exclusionPatternsHasBeenSet =
true;
192 m_exclusionPatterns.emplace_back(std::forward<ExclusionPatternsT>(value));
206 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
208 m_vpcConfigurationHasBeenSet =
true;
209 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
211 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
230 template <
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
232 m_fieldMappingsHasBeenSet =
true;
233 m_fieldMappings = std::forward<FieldMappingsT>(value);
235 template <
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
240 template <
typename FieldMappingsT = DataSourceToIndexFieldMapping>
242 m_fieldMappingsHasBeenSet =
true;
243 m_fieldMappings.emplace_back(std::forward<FieldMappingsT>(value));
255 template <
typename DocumentTitleFieldNameT = Aws::String>
257 m_documentTitleFieldNameHasBeenSet =
true;
258 m_documentTitleFieldName = std::forward<DocumentTitleFieldNameT>(value);
260 template <
typename DocumentTitleFieldNameT = Aws::String>
274 m_disableLocalGroupsHasBeenSet =
true;
275 m_disableLocalGroups = value;
294 template <
typename SslCertificateS3PathT = S3Path>
296 m_sslCertificateS3PathHasBeenSet =
true;
297 m_sslCertificateS3Path = std::forward<SslCertificateS3PathT>(value);
299 template <
typename SslCertificateS3PathT = S3Path>
316 m_authenticationTypeHasBeenSet =
true;
317 m_authenticationType = value;
344 template <
typename ProxyConfigurationT = ProxyConfiguration>
346 m_proxyConfigurationHasBeenSet =
true;
347 m_proxyConfiguration = std::forward<ProxyConfigurationT>(value);
349 template <
typename ProxyConfigurationT = ProxyConfiguration>
362 bool m_crawlAttachments{
false};
364 bool m_useChangeLog{
false};
370 DataSourceVpcConfiguration m_vpcConfiguration;
376 bool m_disableLocalGroups{
false};
378 S3Path m_sslCertificateS3Path;
382 ProxyConfiguration m_proxyConfiguration;
383 bool m_sharePointVersionHasBeenSet =
false;
384 bool m_urlsHasBeenSet =
false;
385 bool m_secretArnHasBeenSet =
false;
386 bool m_crawlAttachmentsHasBeenSet =
false;
387 bool m_useChangeLogHasBeenSet =
false;
388 bool m_inclusionPatternsHasBeenSet =
false;
389 bool m_exclusionPatternsHasBeenSet =
false;
390 bool m_vpcConfigurationHasBeenSet =
false;
391 bool m_fieldMappingsHasBeenSet =
false;
392 bool m_documentTitleFieldNameHasBeenSet =
false;
393 bool m_disableLocalGroupsHasBeenSet =
false;
394 bool m_sslCertificateS3PathHasBeenSet =
false;
395 bool m_authenticationTypeHasBeenSet =
false;
396 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