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>
46 template <
typename EnterpriseIdT = Aws::String>
48 m_enterpriseIdHasBeenSet =
true;
49 m_enterpriseId = std::forward<EnterpriseIdT>(value);
51 template <
typename EnterpriseIdT = Aws::String>
76 template <
typename SecretArnT = Aws::String>
78 m_secretArnHasBeenSet =
true;
79 m_secretArn = std::forward<SecretArnT>(value);
81 template <
typename SecretArnT = Aws::String>
98 m_useChangeLogHasBeenSet =
true;
99 m_useChangeLog = value;
114 m_crawlCommentsHasBeenSet =
true;
115 m_crawlComments = value;
130 m_crawlTasksHasBeenSet =
true;
131 m_crawlTasks = value;
146 m_crawlWebLinksHasBeenSet =
true;
147 m_crawlWebLinks = value;
167 template <
typename FileFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
169 m_fileFieldMappingsHasBeenSet =
true;
170 m_fileFieldMappings = std::forward<FileFieldMappingsT>(value);
172 template <
typename FileFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
177 template <
typename FileFieldMappingsT = DataSourceToIndexFieldMapping>
179 m_fileFieldMappingsHasBeenSet =
true;
180 m_fileFieldMappings.emplace_back(std::forward<FileFieldMappingsT>(value));
197 template <
typename TaskFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
199 m_taskFieldMappingsHasBeenSet =
true;
200 m_taskFieldMappings = std::forward<TaskFieldMappingsT>(value);
202 template <
typename TaskFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
207 template <
typename TaskFieldMappingsT = DataSourceToIndexFieldMapping>
209 m_taskFieldMappingsHasBeenSet =
true;
210 m_taskFieldMappings.emplace_back(std::forward<TaskFieldMappingsT>(value));
227 template <
typename CommentFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
229 m_commentFieldMappingsHasBeenSet =
true;
230 m_commentFieldMappings = std::forward<CommentFieldMappingsT>(value);
232 template <
typename CommentFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
237 template <
typename CommentFieldMappingsT = DataSourceToIndexFieldMapping>
239 m_commentFieldMappingsHasBeenSet =
true;
240 m_commentFieldMappings.emplace_back(std::forward<CommentFieldMappingsT>(value));
257 template <
typename WebLinkFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
259 m_webLinkFieldMappingsHasBeenSet =
true;
260 m_webLinkFieldMappings = std::forward<WebLinkFieldMappingsT>(value);
262 template <
typename WebLinkFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
267 template <
typename WebLinkFieldMappingsT = DataSourceToIndexFieldMapping>
269 m_webLinkFieldMappingsHasBeenSet =
true;
270 m_webLinkFieldMappings.emplace_back(std::forward<WebLinkFieldMappingsT>(value));
286 template <
typename InclusionPatternsT = Aws::Vector<Aws::String>>
288 m_inclusionPatternsHasBeenSet =
true;
289 m_inclusionPatterns = std::forward<InclusionPatternsT>(value);
291 template <
typename InclusionPatternsT = Aws::Vector<Aws::String>>
296 template <
typename InclusionPatternsT = Aws::String>
298 m_inclusionPatternsHasBeenSet =
true;
299 m_inclusionPatterns.emplace_back(std::forward<InclusionPatternsT>(value));
315 template <
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
317 m_exclusionPatternsHasBeenSet =
true;
318 m_exclusionPatterns = std::forward<ExclusionPatternsT>(value);
320 template <
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
325 template <
typename ExclusionPatternsT = Aws::String>
327 m_exclusionPatternsHasBeenSet =
true;
328 m_exclusionPatterns.emplace_back(std::forward<ExclusionPatternsT>(value));
342 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
344 m_vpcConfigurationHasBeenSet =
true;
345 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
347 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
355 bool m_enterpriseIdHasBeenSet =
false;
358 bool m_secretArnHasBeenSet =
false;
360 bool m_useChangeLog{
false};
361 bool m_useChangeLogHasBeenSet =
false;
363 bool m_crawlComments{
false};
364 bool m_crawlCommentsHasBeenSet =
false;
366 bool m_crawlTasks{
false};
367 bool m_crawlTasksHasBeenSet =
false;
369 bool m_crawlWebLinks{
false};
370 bool m_crawlWebLinksHasBeenSet =
false;
373 bool m_fileFieldMappingsHasBeenSet =
false;
376 bool m_taskFieldMappingsHasBeenSet =
false;
379 bool m_commentFieldMappingsHasBeenSet =
false;
382 bool m_webLinkFieldMappingsHasBeenSet =
false;
385 bool m_inclusionPatternsHasBeenSet =
false;
388 bool m_exclusionPatternsHasBeenSet =
false;
390 DataSourceVpcConfiguration m_vpcConfiguration;
391 bool m_vpcConfigurationHasBeenSet =
false;
BoxConfiguration & WithCommentFieldMappings(CommentFieldMappingsT &&value)
bool TaskFieldMappingsHasBeenSet() const
bool InclusionPatternsHasBeenSet() const
void SetExclusionPatterns(ExclusionPatternsT &&value)
void SetTaskFieldMappings(TaskFieldMappingsT &&value)
BoxConfiguration & WithCrawlTasks(bool value)
void SetUseChangeLog(bool value)
BoxConfiguration & WithFileFieldMappings(FileFieldMappingsT &&value)
BoxConfiguration & WithTaskFieldMappings(TaskFieldMappingsT &&value)
BoxConfiguration & AddFileFieldMappings(FileFieldMappingsT &&value)
const Aws::Vector< DataSourceToIndexFieldMapping > & GetTaskFieldMappings() const
BoxConfiguration & AddTaskFieldMappings(TaskFieldMappingsT &&value)
BoxConfiguration & AddCommentFieldMappings(CommentFieldMappingsT &&value)
bool VpcConfigurationHasBeenSet() const
AWS_KENDRA_API BoxConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCrawlWebLinks(bool value)
bool GetCrawlWebLinks() const
bool CrawlWebLinksHasBeenSet() const
BoxConfiguration & AddInclusionPatterns(InclusionPatternsT &&value)
void SetVpcConfiguration(VpcConfigurationT &&value)
BoxConfiguration & WithExclusionPatterns(ExclusionPatternsT &&value)
BoxConfiguration & WithCrawlComments(bool value)
void SetCrawlTasks(bool value)
bool GetCrawlTasks() const
BoxConfiguration & WithWebLinkFieldMappings(WebLinkFieldMappingsT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< DataSourceToIndexFieldMapping > & GetFileFieldMappings() const
const Aws::Vector< DataSourceToIndexFieldMapping > & GetWebLinkFieldMappings() const
bool GetCrawlComments() const
bool SecretArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetExclusionPatterns() const
void SetInclusionPatterns(InclusionPatternsT &&value)
const Aws::Vector< Aws::String > & GetInclusionPatterns() const
AWS_KENDRA_API BoxConfiguration(Aws::Utils::Json::JsonView jsonValue)
BoxConfiguration & WithCrawlWebLinks(bool value)
void SetSecretArn(SecretArnT &&value)
bool GetUseChangeLog() const
const DataSourceVpcConfiguration & GetVpcConfiguration() const
bool CrawlCommentsHasBeenSet() const
BoxConfiguration & WithInclusionPatterns(InclusionPatternsT &&value)
bool CommentFieldMappingsHasBeenSet() const
bool WebLinkFieldMappingsHasBeenSet() const
bool EnterpriseIdHasBeenSet() const
void SetCommentFieldMappings(CommentFieldMappingsT &&value)
BoxConfiguration & WithEnterpriseId(EnterpriseIdT &&value)
const Aws::String & GetEnterpriseId() const
BoxConfiguration & WithVpcConfiguration(VpcConfigurationT &&value)
void SetCrawlComments(bool value)
void SetFileFieldMappings(FileFieldMappingsT &&value)
const Aws::Vector< DataSourceToIndexFieldMapping > & GetCommentFieldMappings() const
bool ExclusionPatternsHasBeenSet() const
bool FileFieldMappingsHasBeenSet() const
BoxConfiguration & WithSecretArn(SecretArnT &&value)
BoxConfiguration & AddWebLinkFieldMappings(WebLinkFieldMappingsT &&value)
bool CrawlTasksHasBeenSet() const
void SetEnterpriseId(EnterpriseIdT &&value)
const Aws::String & GetSecretArn() const
AWS_KENDRA_API BoxConfiguration()=default
bool UseChangeLogHasBeenSet() const
BoxConfiguration & WithUseChangeLog(bool value)
BoxConfiguration & AddExclusionPatterns(ExclusionPatternsT &&value)
void SetWebLinkFieldMappings(WebLinkFieldMappingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue