7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/model/DataSourceVpcConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kendra/model/SlackEntity.h>
12#include <aws/kendra/model/DataSourceToIndexFieldMapping.h>
65 template<
typename TeamIdT = Aws::String>
66 void SetTeamId(TeamIdT&& value) { m_teamIdHasBeenSet =
true; m_teamId = std::forward<TeamIdT>(value); }
67 template<
typename TeamIdT = Aws::String>
83 template<
typename SecretArnT = Aws::String>
84 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet =
true; m_secretArn = std::forward<SecretArnT>(value); }
85 template<
typename SecretArnT = Aws::String>
98 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
99 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet =
true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
100 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
111 template<
typename SlackEntityListT = Aws::Vector<SlackEntity>>
112 void SetSlackEntityList(SlackEntityListT&& value) { m_slackEntityListHasBeenSet =
true; m_slackEntityList = std::forward<SlackEntityListT>(value); }
113 template<
typename SlackEntityListT = Aws::Vector<SlackEntity>>
127 inline void SetUseChangeLog(
bool value) { m_useChangeLogHasBeenSet =
true; m_useChangeLog = value; }
137 inline void SetCrawlBotMessage(
bool value) { m_crawlBotMessageHasBeenSet =
true; m_crawlBotMessage = value; }
148 inline void SetExcludeArchived(
bool value) { m_excludeArchivedHasBeenSet =
true; m_excludeArchived = value; }
159 template<
typename SinceCrawlDateT = Aws::String>
160 void SetSinceCrawlDate(SinceCrawlDateT&& value) { m_sinceCrawlDateHasBeenSet =
true; m_sinceCrawlDate = std::forward<SinceCrawlDateT>(value); }
161 template<
typename SinceCrawlDateT = Aws::String>
177 inline void SetLookBackPeriod(
int value) { m_lookBackPeriodHasBeenSet =
true; m_lookBackPeriod = value; }
189 template<
typename PrivateChannelFilterT = Aws::Vector<Aws::String>>
190 void SetPrivateChannelFilter(PrivateChannelFilterT&& value) { m_privateChannelFilterHasBeenSet =
true; m_privateChannelFilter = std::forward<PrivateChannelFilterT>(value); }
191 template<
typename PrivateChannelFilterT = Aws::Vector<Aws::String>>
193 template<
typename PrivateChannelFilterT = Aws::String>
205 template<
typename PublicChannelFilterT = Aws::Vector<Aws::String>>
206 void SetPublicChannelFilter(PublicChannelFilterT&& value) { m_publicChannelFilterHasBeenSet =
true; m_publicChannelFilter = std::forward<PublicChannelFilterT>(value); }
207 template<
typename PublicChannelFilterT = Aws::Vector<Aws::String>>
209 template<
typename PublicChannelFilterT = Aws::String>
223 template<
typename InclusionPatternsT = Aws::Vector<Aws::String>>
224 void SetInclusionPatterns(InclusionPatternsT&& value) { m_inclusionPatternsHasBeenSet =
true; m_inclusionPatterns = std::forward<InclusionPatternsT>(value); }
225 template<
typename InclusionPatternsT = Aws::Vector<Aws::String>>
227 template<
typename InclusionPatternsT = Aws::String>
241 template<
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
242 void SetExclusionPatterns(ExclusionPatternsT&& value) { m_exclusionPatternsHasBeenSet =
true; m_exclusionPatterns = std::forward<ExclusionPatternsT>(value); }
243 template<
typename ExclusionPatternsT = Aws::Vector<Aws::String>>
245 template<
typename ExclusionPatternsT = Aws::String>
261 template<
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
262 void SetFieldMappings(FieldMappingsT&& value) { m_fieldMappingsHasBeenSet =
true; m_fieldMappings = std::forward<FieldMappingsT>(value); }
263 template<
typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
265 template<
typename FieldMappingsT = DataSourceToIndexFieldMapping>
271 bool m_teamIdHasBeenSet =
false;
274 bool m_secretArnHasBeenSet =
false;
277 bool m_vpcConfigurationHasBeenSet =
false;
280 bool m_slackEntityListHasBeenSet =
false;
282 bool m_useChangeLog{
false};
283 bool m_useChangeLogHasBeenSet =
false;
285 bool m_crawlBotMessage{
false};
286 bool m_crawlBotMessageHasBeenSet =
false;
288 bool m_excludeArchived{
false};
289 bool m_excludeArchivedHasBeenSet =
false;
292 bool m_sinceCrawlDateHasBeenSet =
false;
294 int m_lookBackPeriod{0};
295 bool m_lookBackPeriodHasBeenSet =
false;
298 bool m_privateChannelFilterHasBeenSet =
false;
301 bool m_publicChannelFilterHasBeenSet =
false;
304 bool m_inclusionPatternsHasBeenSet =
false;
307 bool m_exclusionPatternsHasBeenSet =
false;
310 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