7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/model/SalesforceKnowledgeArticleConfiguration.h>
11#include <aws/kendra/model/SalesforceChatterFeedConfiguration.h>
12#include <aws/kendra/model/SalesforceStandardObjectAttachmentConfiguration.h>
13#include <aws/kendra/model/SalesforceStandardObjectConfiguration.h>
52 template<
typename ServerUrlT = Aws::String>
53 void SetServerUrl(ServerUrlT&& value) { m_serverUrlHasBeenSet =
true; m_serverUrl = std::forward<ServerUrlT>(value); }
54 template<
typename ServerUrlT = Aws::String>
75 template<
typename SecretArnT = Aws::String>
76 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet =
true; m_secretArn = std::forward<SecretArnT>(value); }
77 template<
typename SecretArnT = Aws::String>
88 template<
typename StandardObjectConfigurationsT = Aws::Vector<SalesforceStandardObjectConfiguration>>
89 void SetStandardObjectConfigurations(StandardObjectConfigurationsT&& value) { m_standardObjectConfigurationsHasBeenSet =
true; m_standardObjectConfigurations = std::forward<StandardObjectConfigurationsT>(value); }
90 template<
typename StandardObjectConfigurationsT = Aws::Vector<SalesforceStandardObjectConfiguration>>
92 template<
typename StandardObjectConfigurationsT = SalesforceStandardObjectConfiguration>
105 template<
typename KnowledgeArticleConfigurationT = SalesforceKnowledgeArticleConfiguration>
106 void SetKnowledgeArticleConfiguration(KnowledgeArticleConfigurationT&& value) { m_knowledgeArticleConfigurationHasBeenSet =
true; m_knowledgeArticleConfiguration = std::forward<KnowledgeArticleConfigurationT>(value); }
107 template<
typename KnowledgeArticleConfigurationT = SalesforceKnowledgeArticleConfiguration>
117 template<
typename ChatterFeedConfigurationT = SalesforceChatterFeedConfiguration>
118 void SetChatterFeedConfiguration(ChatterFeedConfigurationT&& value) { m_chatterFeedConfigurationHasBeenSet =
true; m_chatterFeedConfiguration = std::forward<ChatterFeedConfigurationT>(value); }
119 template<
typename ChatterFeedConfigurationT = SalesforceChatterFeedConfiguration>
130 inline void SetCrawlAttachments(
bool value) { m_crawlAttachmentsHasBeenSet =
true; m_crawlAttachments = value; }
141 template<
typename StandardObjectAttachmentConfigurationT = SalesforceStandardObjectAttachmentConfiguration>
142 void SetStandardObjectAttachmentConfiguration(StandardObjectAttachmentConfigurationT&& value) { m_standardObjectAttachmentConfigurationHasBeenSet =
true; m_standardObjectAttachmentConfiguration = std::forward<StandardObjectAttachmentConfigurationT>(value); }
143 template<
typename StandardObjectAttachmentConfigurationT = SalesforceStandardObjectAttachmentConfiguration>
158 template<
typename IncludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
159 void SetIncludeAttachmentFilePatterns(IncludeAttachmentFilePatternsT&& value) { m_includeAttachmentFilePatternsHasBeenSet =
true; m_includeAttachmentFilePatterns = std::forward<IncludeAttachmentFilePatternsT>(value); }
160 template<
typename IncludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
162 template<
typename IncludeAttachmentFilePatternsT = Aws::String>
177 template<
typename ExcludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
178 void SetExcludeAttachmentFilePatterns(ExcludeAttachmentFilePatternsT&& value) { m_excludeAttachmentFilePatternsHasBeenSet =
true; m_excludeAttachmentFilePatterns = std::forward<ExcludeAttachmentFilePatternsT>(value); }
179 template<
typename ExcludeAttachmentFilePatternsT = Aws::Vector<Aws::String>>
181 template<
typename ExcludeAttachmentFilePatternsT = Aws::String>
187 bool m_serverUrlHasBeenSet =
false;
190 bool m_secretArnHasBeenSet =
false;
193 bool m_standardObjectConfigurationsHasBeenSet =
false;
196 bool m_knowledgeArticleConfigurationHasBeenSet =
false;
199 bool m_chatterFeedConfigurationHasBeenSet =
false;
201 bool m_crawlAttachments{
false};
202 bool m_crawlAttachmentsHasBeenSet =
false;
204 SalesforceStandardObjectAttachmentConfiguration m_standardObjectAttachmentConfiguration;
205 bool m_standardObjectAttachmentConfigurationHasBeenSet =
false;
208 bool m_includeAttachmentFilePatternsHasBeenSet =
false;
211 bool m_excludeAttachmentFilePatternsHasBeenSet =
false;
SalesforceConfiguration & AddExcludeAttachmentFilePatterns(ExcludeAttachmentFilePatternsT &&value)
void SetStandardObjectAttachmentConfiguration(StandardObjectAttachmentConfigurationT &&value)
bool SecretArnHasBeenSet() const
SalesforceConfiguration & WithStandardObjectAttachmentConfiguration(StandardObjectAttachmentConfigurationT &&value)
const SalesforceChatterFeedConfiguration & GetChatterFeedConfiguration() const
const Aws::Vector< Aws::String > & GetExcludeAttachmentFilePatterns() const
void SetChatterFeedConfiguration(ChatterFeedConfigurationT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServerUrl(ServerUrlT &&value)
void SetIncludeAttachmentFilePatterns(IncludeAttachmentFilePatternsT &&value)
const Aws::String & GetServerUrl() const
SalesforceConfiguration & WithSecretArn(SecretArnT &&value)
bool CrawlAttachmentsHasBeenSet() const
bool GetCrawlAttachments() const
bool StandardObjectConfigurationsHasBeenSet() const
void SetKnowledgeArticleConfiguration(KnowledgeArticleConfigurationT &&value)
SalesforceConfiguration & WithStandardObjectConfigurations(StandardObjectConfigurationsT &&value)
AWS_KENDRA_API SalesforceConfiguration()=default
SalesforceConfiguration & WithServerUrl(ServerUrlT &&value)
SalesforceConfiguration & WithExcludeAttachmentFilePatterns(ExcludeAttachmentFilePatternsT &&value)
bool ExcludeAttachmentFilePatternsHasBeenSet() const
SalesforceConfiguration & WithIncludeAttachmentFilePatterns(IncludeAttachmentFilePatternsT &&value)
AWS_KENDRA_API SalesforceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StandardObjectAttachmentConfigurationHasBeenSet() const
void SetCrawlAttachments(bool value)
void SetStandardObjectConfigurations(StandardObjectConfigurationsT &&value)
SalesforceConfiguration & WithChatterFeedConfiguration(ChatterFeedConfigurationT &&value)
SalesforceConfiguration & WithKnowledgeArticleConfiguration(KnowledgeArticleConfigurationT &&value)
const Aws::Vector< SalesforceStandardObjectConfiguration > & GetStandardObjectConfigurations() const
bool KnowledgeArticleConfigurationHasBeenSet() const
bool ServerUrlHasBeenSet() const
void SetSecretArn(SecretArnT &&value)
bool ChatterFeedConfigurationHasBeenSet() const
const SalesforceStandardObjectAttachmentConfiguration & GetStandardObjectAttachmentConfiguration() const
SalesforceConfiguration & AddIncludeAttachmentFilePatterns(IncludeAttachmentFilePatternsT &&value)
void SetExcludeAttachmentFilePatterns(ExcludeAttachmentFilePatternsT &&value)
SalesforceConfiguration & AddStandardObjectConfigurations(StandardObjectConfigurationsT &&value)
bool IncludeAttachmentFilePatternsHasBeenSet() const
const Aws::String & GetSecretArn() const
const SalesforceKnowledgeArticleConfiguration & GetKnowledgeArticleConfiguration() const
SalesforceConfiguration & WithCrawlAttachments(bool value)
AWS_KENDRA_API SalesforceConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetIncludeAttachmentFilePatterns() 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