7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kendra/model/DataSourceToIndexFieldMapping.h>
49 inline void SetCrawlAttachments(
bool value) { m_crawlAttachmentsHasBeenSet =
true; m_crawlAttachments = value; }
63 template<
typename IncludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
64 void SetIncludeAttachmentFilePatterns(IncludeAttachmentFilePatternsT&& value) { m_includeAttachmentFilePatternsHasBeenSet =
true; m_includeAttachmentFilePatterns = std::forward<IncludeAttachmentFilePatternsT>(value); }
65 template<
typename IncludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
67 template<
typename IncludeAttachmentFilePatternsT = Aws::String>
81 template<
typename ExcludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
82 void SetExcludeAttachmentFilePatterns(ExcludeAttachmentFilePatternsT&& value) { m_excludeAttachmentFilePatternsHasBeenSet =
true; m_excludeAttachmentFilePatterns = std::forward<ExcludeAttachmentFilePatternsT>(value); }
83 template<
typename ExcludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
85 template<
typename ExcludeAttachmentFilePatternsT = Aws::String>
96 template<
typename DocumentDataFieldNameT = Aws::String>
97 void SetDocumentDataFieldName(DocumentDataFieldNameT&& value) { m_documentDataFieldNameHasBeenSet =
true; m_documentDataFieldName = std::forward<DocumentDataFieldNameT>(value); }
98 template<
typename DocumentDataFieldNameT = Aws::String>
109 template<
typename DocumentTitleFieldNameT = Aws::String>
110 void SetDocumentTitleFieldName(DocumentTitleFieldNameT&& value) { m_documentTitleFieldNameHasBeenSet =
true; m_documentTitleFieldName = std::forward<DocumentTitleFieldNameT>(value); }
111 template<
typename DocumentTitleFieldNameT = Aws::String>
126 template<
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
127 void SetFieldMappings(FieldMappingsT&& value) { m_fieldMappingsHasBeenSet =
true; m_fieldMappings = std::forward<FieldMappingsT>(value); }
128 template<
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
130 template<
typename FieldMappingsT = DataSourceToIndexFieldMapping>
145 template<
typename FilterQueryT = Aws::String>
146 void SetFilterQuery(FilterQueryT&& value) { m_filterQueryHasBeenSet =
true; m_filterQuery = std::forward<FilterQueryT>(value); }
147 template<
typename FilterQueryT = Aws::String>
152 bool m_crawlAttachments{
false};
153 bool m_crawlAttachmentsHasBeenSet =
false;
156 bool m_includeAttachmentFilePatternsHasBeenSet =
false;
159 bool m_excludeAttachmentFilePatternsHasBeenSet =
false;
162 bool m_documentDataFieldNameHasBeenSet =
false;
165 bool m_documentTitleFieldNameHasBeenSet =
false;
168 bool m_fieldMappingsHasBeenSet =
false;
171 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