7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/model/DataSourceVpcConfiguration.h>
11#include <aws/kendra/model/DataSourceToIndexFieldMapping.h>
52 template<
typename DomainT = Aws::String>
53 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
54 template<
typename DomainT = Aws::String>
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>
81 inline void SetCrawlFileComments(
bool value) { m_crawlFileCommentsHasBeenSet =
true; m_crawlFileComments = value; }
91 inline void SetCrawlChatRooms(
bool value) { m_crawlChatRoomsHasBeenSet =
true; m_crawlChatRooms = value; }
101 inline void SetCrawlAttachments(
bool value) { m_crawlAttachmentsHasBeenSet =
true; m_crawlAttachments = value; }
114 template<
typename FolderIdsT = Aws::Vector<Aws::String>>
115 void SetFolderIds(FolderIdsT&& value) { m_folderIdsHasBeenSet =
true; m_folderIds = std::forward<FolderIdsT>(value); }
116 template<
typename FolderIdsT = Aws::Vector<Aws::String>>
118 template<
typename FolderIdsT = Aws::String>
119 QuipConfiguration&
AddFolderIds(FolderIdsT&& value) { m_folderIdsHasBeenSet =
true; m_folderIds.emplace_back(std::forward<FolderIdsT>(value));
return *
this; }
134 template<
typename ThreadFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
135 void SetThreadFieldMappings(ThreadFieldMappingsT&& value) { m_threadFieldMappingsHasBeenSet =
true; m_threadFieldMappings = std::forward<ThreadFieldMappingsT>(value); }
136 template<
typename ThreadFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
138 template<
typename ThreadFieldMappingsT = DataSourceToIndexFieldMapping>
139 QuipConfiguration&
AddThreadFieldMappings(ThreadFieldMappingsT&& value) { m_threadFieldMappingsHasBeenSet =
true; m_threadFieldMappings.emplace_back(std::forward<ThreadFieldMappingsT>(value));
return *
this; }
154 template<
typename MessageFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
155 void SetMessageFieldMappings(MessageFieldMappingsT&& value) { m_messageFieldMappingsHasBeenSet =
true; m_messageFieldMappings = std::forward<MessageFieldMappingsT>(value); }
156 template<
typename MessageFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
158 template<
typename MessageFieldMappingsT = DataSourceToIndexFieldMapping>
159 QuipConfiguration&
AddMessageFieldMappings(MessageFieldMappingsT&& value) { m_messageFieldMappingsHasBeenSet =
true; m_messageFieldMappings.emplace_back(std::forward<MessageFieldMappingsT>(value));
return *
this; }
174 template<
typename AttachmentFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
175 void SetAttachmentFieldMappings(AttachmentFieldMappingsT&& value) { m_attachmentFieldMappingsHasBeenSet =
true; m_attachmentFieldMappings = std::forward<AttachmentFieldMappingsT>(value); }
176 template<
typename AttachmentFieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
178 template<
typename AttachmentFieldMappingsT = DataSourceToIndexFieldMapping>
179 QuipConfiguration&
AddAttachmentFieldMappings(AttachmentFieldMappingsT&& value) { m_attachmentFieldMappingsHasBeenSet =
true; m_attachmentFieldMappings.emplace_back(std::forward<AttachmentFieldMappingsT>(value));
return *
this; }
192 template<
typename InclusionPatternsT = Aws::Vector<Aws::String>>
193 void SetInclusionPatterns(InclusionPatternsT&& value) { m_inclusionPatternsHasBeenSet =
true; m_inclusionPatterns = std::forward<InclusionPatternsT>(value); }
194 template<
typename InclusionPatternsT = Aws::Vector<Aws::String>>
196 template<
typename InclusionPatternsT = Aws::String>
197 QuipConfiguration&
AddInclusionPatterns(InclusionPatternsT&& value) { m_inclusionPatternsHasBeenSet =
true; m_inclusionPatterns.emplace_back(std::forward<InclusionPatternsT>(value));
return *
this; }
210 template<
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
211 void SetExclusionPatterns(ExclusionPatternsT&& value) { m_exclusionPatternsHasBeenSet =
true; m_exclusionPatterns = std::forward<ExclusionPatternsT>(value); }
212 template<
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
214 template<
typename ExclusionPatternsT = Aws::String>
215 QuipConfiguration&
AddExclusionPatterns(ExclusionPatternsT&& value) { m_exclusionPatternsHasBeenSet =
true; m_exclusionPatterns.emplace_back(std::forward<ExclusionPatternsT>(value));
return *
this; }
227 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
228 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet =
true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
229 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
235 bool m_domainHasBeenSet =
false;
238 bool m_secretArnHasBeenSet =
false;
240 bool m_crawlFileComments{
false};
241 bool m_crawlFileCommentsHasBeenSet =
false;
243 bool m_crawlChatRooms{
false};
244 bool m_crawlChatRoomsHasBeenSet =
false;
246 bool m_crawlAttachments{
false};
247 bool m_crawlAttachmentsHasBeenSet =
false;
250 bool m_folderIdsHasBeenSet =
false;
253 bool m_threadFieldMappingsHasBeenSet =
false;
256 bool m_messageFieldMappingsHasBeenSet =
false;
259 bool m_attachmentFieldMappingsHasBeenSet =
false;
262 bool m_inclusionPatternsHasBeenSet =
false;
265 bool m_exclusionPatternsHasBeenSet =
false;
267 DataSourceVpcConfiguration m_vpcConfiguration;
268 bool m_vpcConfigurationHasBeenSet =
false;
void SetCrawlFileComments(bool value)
QuipConfiguration & WithCrawlFileComments(bool value)
QuipConfiguration & WithCrawlAttachments(bool value)
bool MessageFieldMappingsHasBeenSet() const
bool DomainHasBeenSet() const
bool ExclusionPatternsHasBeenSet() const
QuipConfiguration & AddMessageFieldMappings(MessageFieldMappingsT &&value)
QuipConfiguration & WithThreadFieldMappings(ThreadFieldMappingsT &&value)
const Aws::String & GetDomain() const
bool CrawlFileCommentsHasBeenSet() const
void SetMessageFieldMappings(MessageFieldMappingsT &&value)
void SetCrawlAttachments(bool value)
const Aws::Vector< DataSourceToIndexFieldMapping > & GetAttachmentFieldMappings() const
QuipConfiguration & WithDomain(DomainT &&value)
AWS_KENDRA_API QuipConfiguration()=default
QuipConfiguration & WithFolderIds(FolderIdsT &&value)
QuipConfiguration & WithCrawlChatRooms(bool value)
QuipConfiguration & AddAttachmentFieldMappings(AttachmentFieldMappingsT &&value)
AWS_KENDRA_API QuipConfiguration(Aws::Utils::Json::JsonView jsonValue)
QuipConfiguration & WithInclusionPatterns(InclusionPatternsT &&value)
QuipConfiguration & AddThreadFieldMappings(ThreadFieldMappingsT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetCrawlAttachments() const
const Aws::Vector< DataSourceToIndexFieldMapping > & GetMessageFieldMappings() const
const Aws::Vector< Aws::String > & GetFolderIds() const
bool VpcConfigurationHasBeenSet() const
QuipConfiguration & WithAttachmentFieldMappings(AttachmentFieldMappingsT &&value)
const Aws::Vector< Aws::String > & GetInclusionPatterns() const
QuipConfiguration & AddInclusionPatterns(InclusionPatternsT &&value)
bool ThreadFieldMappingsHasBeenSet() const
const Aws::Vector< DataSourceToIndexFieldMapping > & GetThreadFieldMappings() const
QuipConfiguration & WithMessageFieldMappings(MessageFieldMappingsT &&value)
AWS_KENDRA_API QuipConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetThreadFieldMappings(ThreadFieldMappingsT &&value)
void SetInclusionPatterns(InclusionPatternsT &&value)
void SetFolderIds(FolderIdsT &&value)
void SetAttachmentFieldMappings(AttachmentFieldMappingsT &&value)
void SetCrawlChatRooms(bool value)
bool AttachmentFieldMappingsHasBeenSet() const
bool SecretArnHasBeenSet() const
QuipConfiguration & WithSecretArn(SecretArnT &&value)
const Aws::Vector< Aws::String > & GetExclusionPatterns() const
const Aws::String & GetSecretArn() const
QuipConfiguration & AddFolderIds(FolderIdsT &&value)
void SetExclusionPatterns(ExclusionPatternsT &&value)
void SetSecretArn(SecretArnT &&value)
bool CrawlChatRoomsHasBeenSet() const
QuipConfiguration & AddExclusionPatterns(ExclusionPatternsT &&value)
const DataSourceVpcConfiguration & GetVpcConfiguration() const
QuipConfiguration & WithExclusionPatterns(ExclusionPatternsT &&value)
bool InclusionPatternsHasBeenSet() const
bool CrawlAttachmentsHasBeenSet() const
bool GetCrawlChatRooms() const
void SetDomain(DomainT &&value)
bool GetCrawlFileComments() const
bool FolderIdsHasBeenSet() const
void SetVpcConfiguration(VpcConfigurationT &&value)
QuipConfiguration & WithVpcConfiguration(VpcConfigurationT &&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