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>
44 m_crawlAttachmentsHasBeenSet =
true;
45 m_crawlAttachments = value;
63 template <
typename IncludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
65 m_includeAttachmentFilePatternsHasBeenSet =
true;
66 m_includeAttachmentFilePatterns = std::forward<IncludeAttachmentFilePatternsT>(value);
68 template <
typename IncludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
73 template <
typename IncludeAttachmentFilePatternsT = Aws::String>
75 m_includeAttachmentFilePatternsHasBeenSet =
true;
76 m_includeAttachmentFilePatterns.emplace_back(std::forward<IncludeAttachmentFilePatternsT>(value));
91 template <
typename ExcludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
93 m_excludeAttachmentFilePatternsHasBeenSet =
true;
94 m_excludeAttachmentFilePatterns = std::forward<ExcludeAttachmentFilePatternsT>(value);
96 template <
typename ExcludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
101 template <
typename ExcludeAttachmentFilePatternsT = Aws::String>
103 m_excludeAttachmentFilePatternsHasBeenSet =
true;
104 m_excludeAttachmentFilePatterns.emplace_back(std::forward<ExcludeAttachmentFilePatternsT>(value));
116 template <
typename DocumentDataFieldNameT = Aws::String>
118 m_documentDataFieldNameHasBeenSet =
true;
119 m_documentDataFieldName = std::forward<DocumentDataFieldNameT>(value);
121 template <
typename DocumentDataFieldNameT = Aws::String>
135 template <
typename DocumentTitleFieldNameT = Aws::String>
137 m_documentTitleFieldNameHasBeenSet =
true;
138 m_documentTitleFieldName = std::forward<DocumentTitleFieldNameT>(value);
140 template <
typename DocumentTitleFieldNameT = Aws::String>
158 template <
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
160 m_fieldMappingsHasBeenSet =
true;
161 m_fieldMappings = std::forward<FieldMappingsT>(value);
163 template <
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
168 template <
typename FieldMappingsT = DataSourceToIndexFieldMapping>
170 m_fieldMappingsHasBeenSet =
true;
171 m_fieldMappings.emplace_back(std::forward<FieldMappingsT>(value));
187 template <
typename FilterQueryT = Aws::String>
189 m_filterQueryHasBeenSet =
true;
190 m_filterQuery = std::forward<FilterQueryT>(value);
192 template <
typename FilterQueryT = Aws::String>
199 bool m_crawlAttachments{
false};
200 bool m_crawlAttachmentsHasBeenSet =
false;
203 bool m_includeAttachmentFilePatternsHasBeenSet =
false;
206 bool m_excludeAttachmentFilePatternsHasBeenSet =
false;
209 bool m_documentDataFieldNameHasBeenSet =
false;
212 bool m_documentTitleFieldNameHasBeenSet =
false;
215 bool m_fieldMappingsHasBeenSet =
false;
218 bool m_filterQueryHasBeenSet =
false;
AWS_KENDRA_API ServiceNowKnowledgeArticleConfiguration()=default
bool FilterQueryHasBeenSet() const
ServiceNowKnowledgeArticleConfiguration & AddIncludeAttachmentFilePatterns(IncludeAttachmentFilePatternsT &&value)
void SetFilterQuery(FilterQueryT &&value)
ServiceNowKnowledgeArticleConfiguration & AddFieldMappings(FieldMappingsT &&value)
bool IncludeAttachmentFilePatternsHasBeenSet() const
bool DocumentDataFieldNameHasBeenSet() const
const Aws::String & GetDocumentTitleFieldName() const
ServiceNowKnowledgeArticleConfiguration & WithDocumentTitleFieldName(DocumentTitleFieldNameT &&value)
void SetExcludeAttachmentFilePatterns(ExcludeAttachmentFilePatternsT &&value)
ServiceNowKnowledgeArticleConfiguration & WithFilterQuery(FilterQueryT &&value)
AWS_KENDRA_API ServiceNowKnowledgeArticleConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFilterQuery() const
const Aws::String & GetDocumentDataFieldName() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDocumentDataFieldName(DocumentDataFieldNameT &&value)
ServiceNowKnowledgeArticleConfiguration & WithCrawlAttachments(bool value)
bool GetCrawlAttachments() const
ServiceNowKnowledgeArticleConfiguration & AddExcludeAttachmentFilePatterns(ExcludeAttachmentFilePatternsT &&value)
const Aws::Vector< Aws::String > & GetIncludeAttachmentFilePatterns() const
ServiceNowKnowledgeArticleConfiguration & WithDocumentDataFieldName(DocumentDataFieldNameT &&value)
const Aws::Vector< Aws::String > & GetExcludeAttachmentFilePatterns() const
ServiceNowKnowledgeArticleConfiguration & WithIncludeAttachmentFilePatterns(IncludeAttachmentFilePatternsT &&value)
bool CrawlAttachmentsHasBeenSet() const
ServiceNowKnowledgeArticleConfiguration & WithFieldMappings(FieldMappingsT &&value)
bool FieldMappingsHasBeenSet() const
AWS_KENDRA_API ServiceNowKnowledgeArticleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceNowKnowledgeArticleConfiguration & WithExcludeAttachmentFilePatterns(ExcludeAttachmentFilePatternsT &&value)
void SetIncludeAttachmentFilePatterns(IncludeAttachmentFilePatternsT &&value)
void SetDocumentTitleFieldName(DocumentTitleFieldNameT &&value)
void SetCrawlAttachments(bool value)
const Aws::Vector< DataSourceToIndexFieldMapping > & GetFieldMappings() const
void SetFieldMappings(FieldMappingsT &&value)
bool DocumentTitleFieldNameHasBeenSet() const
bool ExcludeAttachmentFilePatternsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue