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/ConfluenceSpaceToIndexFieldMapping.h>
49 m_crawlPersonalSpacesHasBeenSet =
true;
50 m_crawlPersonalSpaces = value;
65 m_crawlArchivedSpacesHasBeenSet =
true;
66 m_crawlArchivedSpaces = value;
85 template <
typename IncludeSpacesT = Aws::Vector<Aws::String>>
87 m_includeSpacesHasBeenSet =
true;
88 m_includeSpaces = std::forward<IncludeSpacesT>(value);
90 template <
typename IncludeSpacesT = Aws::Vector<Aws::String>>
95 template <
typename IncludeSpacesT = Aws::String>
97 m_includeSpacesHasBeenSet =
true;
98 m_includeSpaces.emplace_back(std::forward<IncludeSpacesT>(value));
112 template <
typename ExcludeSpacesT = Aws::Vector<Aws::String>>
114 m_excludeSpacesHasBeenSet =
true;
115 m_excludeSpaces = std::forward<ExcludeSpacesT>(value);
117 template <
typename ExcludeSpacesT = Aws::Vector<Aws::String>>
122 template <
typename ExcludeSpacesT = Aws::String>
124 m_excludeSpacesHasBeenSet =
true;
125 m_excludeSpaces.emplace_back(std::forward<ExcludeSpacesT>(value));
143 template <
typename SpaceFieldMappingsT = Aws::Vector<ConfluenceSpaceToIndexFieldMapping>>
145 m_spaceFieldMappingsHasBeenSet =
true;
146 m_spaceFieldMappings = std::forward<SpaceFieldMappingsT>(value);
148 template <
typename SpaceFieldMappingsT = Aws::Vector<ConfluenceSpaceToIndexFieldMapping>>
153 template <
typename SpaceFieldMappingsT = ConfluenceSpaceToIndexFieldMapping>
155 m_spaceFieldMappingsHasBeenSet =
true;
156 m_spaceFieldMappings.emplace_back(std::forward<SpaceFieldMappingsT>(value));
161 bool m_crawlPersonalSpaces{
false};
162 bool m_crawlPersonalSpacesHasBeenSet =
false;
164 bool m_crawlArchivedSpaces{
false};
165 bool m_crawlArchivedSpacesHasBeenSet =
false;
168 bool m_includeSpacesHasBeenSet =
false;
171 bool m_excludeSpacesHasBeenSet =
false;
174 bool m_spaceFieldMappingsHasBeenSet =
false;
ConfluenceSpaceConfiguration & WithCrawlPersonalSpaces(bool value)
bool GetCrawlArchivedSpaces() const
const Aws::Vector< ConfluenceSpaceToIndexFieldMapping > & GetSpaceFieldMappings() const
const Aws::Vector< Aws::String > & GetExcludeSpaces() const
ConfluenceSpaceConfiguration & AddExcludeSpaces(ExcludeSpacesT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIncludeSpaces(IncludeSpacesT &&value)
bool ExcludeSpacesHasBeenSet() const
AWS_KENDRA_API ConfluenceSpaceConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool CrawlArchivedSpacesHasBeenSet() const
void SetCrawlArchivedSpaces(bool value)
AWS_KENDRA_API ConfluenceSpaceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API ConfluenceSpaceConfiguration()=default
ConfluenceSpaceConfiguration & WithSpaceFieldMappings(SpaceFieldMappingsT &&value)
void SetExcludeSpaces(ExcludeSpacesT &&value)
bool CrawlPersonalSpacesHasBeenSet() const
ConfluenceSpaceConfiguration & AddIncludeSpaces(IncludeSpacesT &&value)
void SetCrawlPersonalSpaces(bool value)
ConfluenceSpaceConfiguration & AddSpaceFieldMappings(SpaceFieldMappingsT &&value)
bool SpaceFieldMappingsHasBeenSet() const
bool IncludeSpacesHasBeenSet() const
const Aws::Vector< Aws::String > & GetIncludeSpaces() const
ConfluenceSpaceConfiguration & WithExcludeSpaces(ExcludeSpacesT &&value)
bool GetCrawlPersonalSpaces() const
ConfluenceSpaceConfiguration & WithIncludeSpaces(IncludeSpacesT &&value)
ConfluenceSpaceConfiguration & WithCrawlArchivedSpaces(bool value)
void SetSpaceFieldMappings(SpaceFieldMappingsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue