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>
12#include <aws/kendra/model/SlackEntity.h>
59 template <
typename TeamIdT = Aws::String>
61 m_teamIdHasBeenSet =
true;
62 m_teamId = std::forward<TeamIdT>(value);
64 template <
typename TeamIdT = Aws::String>
83 template <
typename SecretArnT = Aws::String>
85 m_secretArnHasBeenSet =
true;
86 m_secretArn = std::forward<SecretArnT>(value);
88 template <
typename SecretArnT = Aws::String>
104 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
106 m_vpcConfigurationHasBeenSet =
true;
107 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
109 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
123 template <
typename SlackEntityListT = Aws::Vector<SlackEntity>>
125 m_slackEntityListHasBeenSet =
true;
126 m_slackEntityList = std::forward<SlackEntityListT>(value);
128 template <
typename SlackEntityListT = Aws::Vector<SlackEntity>>
134 m_slackEntityListHasBeenSet =
true;
135 m_slackEntityList.push_back(value);
150 m_useChangeLogHasBeenSet =
true;
151 m_useChangeLog = value;
166 m_crawlBotMessageHasBeenSet =
true;
167 m_crawlBotMessage = value;
183 m_excludeArchivedHasBeenSet =
true;
184 m_excludeArchived = value;
199 template <
typename SinceCrawlDateT = Aws::String>
201 m_sinceCrawlDateHasBeenSet =
true;
202 m_sinceCrawlDate = std::forward<SinceCrawlDateT>(value);
204 template <
typename SinceCrawlDateT = Aws::String>
224 m_lookBackPeriodHasBeenSet =
true;
225 m_lookBackPeriod = value;
241 template <
typename PrivateChannelFilterT = Aws::Vector<Aws::String>>
243 m_privateChannelFilterHasBeenSet =
true;
244 m_privateChannelFilter = std::forward<PrivateChannelFilterT>(value);
246 template <
typename PrivateChannelFilterT = Aws::Vector<Aws::String>>
251 template <
typename PrivateChannelFilterT = Aws::String>
253 m_privateChannelFilterHasBeenSet =
true;
254 m_privateChannelFilter.emplace_back(std::forward<PrivateChannelFilterT>(value));
267 template <
typename PublicChannelFilterT = Aws::Vector<Aws::String>>
269 m_publicChannelFilterHasBeenSet =
true;
270 m_publicChannelFilter = std::forward<PublicChannelFilterT>(value);
272 template <
typename PublicChannelFilterT = Aws::Vector<Aws::String>>
277 template <
typename PublicChannelFilterT = Aws::String>
279 m_publicChannelFilterHasBeenSet =
true;
280 m_publicChannelFilter.emplace_back(std::forward<PublicChannelFilterT>(value));
295 template <
typename InclusionPatternsT = Aws::Vector<Aws::String>>
297 m_inclusionPatternsHasBeenSet =
true;
298 m_inclusionPatterns = std::forward<InclusionPatternsT>(value);
300 template <
typename InclusionPatternsT = Aws::Vector<Aws::String>>
305 template <
typename InclusionPatternsT = Aws::String>
307 m_inclusionPatternsHasBeenSet =
true;
308 m_inclusionPatterns.emplace_back(std::forward<InclusionPatternsT>(value));
323 template <
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
325 m_exclusionPatternsHasBeenSet =
true;
326 m_exclusionPatterns = std::forward<ExclusionPatternsT>(value);
328 template <
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
333 template <
typename ExclusionPatternsT = Aws::String>
335 m_exclusionPatternsHasBeenSet =
true;
336 m_exclusionPatterns.emplace_back(std::forward<ExclusionPatternsT>(value));
353 template <
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
355 m_fieldMappingsHasBeenSet =
true;
356 m_fieldMappings = std::forward<FieldMappingsT>(value);
358 template <
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
363 template <
typename FieldMappingsT = DataSourceToIndexFieldMapping>
365 m_fieldMappingsHasBeenSet =
true;
366 m_fieldMappings.emplace_back(std::forward<FieldMappingsT>(value));
372 bool m_teamIdHasBeenSet =
false;
375 bool m_secretArnHasBeenSet =
false;
378 bool m_vpcConfigurationHasBeenSet =
false;
381 bool m_slackEntityListHasBeenSet =
false;
383 bool m_useChangeLog{
false};
384 bool m_useChangeLogHasBeenSet =
false;
386 bool m_crawlBotMessage{
false};
387 bool m_crawlBotMessageHasBeenSet =
false;
389 bool m_excludeArchived{
false};
390 bool m_excludeArchivedHasBeenSet =
false;
393 bool m_sinceCrawlDateHasBeenSet =
false;
395 int m_lookBackPeriod{0};
396 bool m_lookBackPeriodHasBeenSet =
false;
399 bool m_privateChannelFilterHasBeenSet =
false;
402 bool m_publicChannelFilterHasBeenSet =
false;
405 bool m_inclusionPatternsHasBeenSet =
false;
408 bool m_exclusionPatternsHasBeenSet =
false;
411 bool m_fieldMappingsHasBeenSet =
false;
void SetSecretArn(SecretArnT &&value)
void SetLookBackPeriod(int value)
bool TeamIdHasBeenSet() const
void SetPublicChannelFilter(PublicChannelFilterT &&value)
bool PrivateChannelFilterHasBeenSet() const
SlackConfiguration & WithCrawlBotMessage(bool value)
bool ExclusionPatternsHasBeenSet() const
const Aws::Vector< Aws::String > & GetPrivateChannelFilter() const
const Aws::Vector< Aws::String > & GetPublicChannelFilter() const
SlackConfiguration & WithVpcConfiguration(VpcConfigurationT &&value)
AWS_KENDRA_API SlackConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetSlackEntityList(SlackEntityListT &&value)
const Aws::Vector< Aws::String > & GetInclusionPatterns() const
AWS_KENDRA_API SlackConfiguration()=default
bool GetCrawlBotMessage() const
void SetTeamId(TeamIdT &&value)
SlackConfiguration & WithInclusionPatterns(InclusionPatternsT &&value)
const Aws::String & GetSecretArn() const
SlackConfiguration & WithSlackEntityList(SlackEntityListT &&value)
SlackConfiguration & AddFieldMappings(FieldMappingsT &&value)
SlackConfiguration & WithUseChangeLog(bool value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
bool SlackEntityListHasBeenSet() const
SlackConfiguration & AddInclusionPatterns(InclusionPatternsT &&value)
void SetFieldMappings(FieldMappingsT &&value)
SlackConfiguration & AddPublicChannelFilter(PublicChannelFilterT &&value)
SlackConfiguration & AddExclusionPatterns(ExclusionPatternsT &&value)
void SetUseChangeLog(bool value)
void SetInclusionPatterns(InclusionPatternsT &&value)
void SetVpcConfiguration(VpcConfigurationT &&value)
int GetLookBackPeriod() const
const DataSourceVpcConfiguration & GetVpcConfiguration() const
bool SinceCrawlDateHasBeenSet() const
SlackConfiguration & WithExclusionPatterns(ExclusionPatternsT &&value)
bool GetUseChangeLog() const
SlackConfiguration & AddSlackEntityList(SlackEntity value)
const Aws::String & GetSinceCrawlDate() const
bool InclusionPatternsHasBeenSet() const
const Aws::String & GetTeamId() const
bool UseChangeLogHasBeenSet() const
bool GetExcludeArchived() const
void SetExclusionPatterns(ExclusionPatternsT &&value)
bool VpcConfigurationHasBeenSet() const
SlackConfiguration & AddPrivateChannelFilter(PrivateChannelFilterT &&value)
SlackConfiguration & WithSinceCrawlDate(SinceCrawlDateT &&value)
SlackConfiguration & WithSecretArn(SecretArnT &&value)
void SetPrivateChannelFilter(PrivateChannelFilterT &&value)
void SetCrawlBotMessage(bool value)
SlackConfiguration & WithFieldMappings(FieldMappingsT &&value)
AWS_KENDRA_API SlackConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSinceCrawlDate(SinceCrawlDateT &&value)
bool SecretArnHasBeenSet() const
SlackConfiguration & WithTeamId(TeamIdT &&value)
bool ExcludeArchivedHasBeenSet() const
void SetExcludeArchived(bool value)
bool LookBackPeriodHasBeenSet() const
bool CrawlBotMessageHasBeenSet() const
bool FieldMappingsHasBeenSet() const
const Aws::Vector< DataSourceToIndexFieldMapping > & GetFieldMappings() const
bool PublicChannelFilterHasBeenSet() const
SlackConfiguration & WithPublicChannelFilter(PublicChannelFilterT &&value)
SlackConfiguration & WithLookBackPeriod(int value)
const Aws::Vector< SlackEntity > & GetSlackEntityList() const
SlackConfiguration & WithPrivateChannelFilter(PrivateChannelFilterT &&value)
SlackConfiguration & WithExcludeArchived(bool value)
const Aws::Vector< Aws::String > & GetExclusionPatterns() 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