7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9#include <aws/kendra/model/SalesforceCustomKnowledgeArticleTypeConfiguration.h>
10#include <aws/kendra/model/SalesforceKnowledgeArticleState.h>
11#include <aws/kendra/model/SalesforceStandardKnowledgeArticleTypeConfiguration.h>
47 template <
typename IncludedStatesT = Aws::Vector<SalesforceKnowledgeArticleState>>
49 m_includedStatesHasBeenSet =
true;
50 m_includedStates = std::forward<IncludedStatesT>(value);
52 template <
typename IncludedStatesT = Aws::Vector<SalesforceKnowledgeArticleState>>
58 m_includedStatesHasBeenSet =
true;
59 m_includedStates.push_back(value);
69 return m_standardKnowledgeArticleTypeConfiguration;
72 template <
typename StandardKnowledgeArticleTypeConfigurationT = SalesforceStandardKnowledgeArticleTypeConfiguration>
74 m_standardKnowledgeArticleTypeConfigurationHasBeenSet =
true;
75 m_standardKnowledgeArticleTypeConfiguration = std::forward<StandardKnowledgeArticleTypeConfigurationT>(value);
77 template <
typename StandardKnowledgeArticleTypeConfigurationT = SalesforceStandardKnowledgeArticleTypeConfiguration>
79 StandardKnowledgeArticleTypeConfigurationT&& value) {
90 return m_customKnowledgeArticleTypeConfigurations;
93 template <
typename CustomKnowledgeArticleTypeConfigurationsT = Aws::Vector<SalesforceCustomKnowledgeArticleTypeConfiguration>>
95 m_customKnowledgeArticleTypeConfigurationsHasBeenSet =
true;
96 m_customKnowledgeArticleTypeConfigurations = std::forward<CustomKnowledgeArticleTypeConfigurationsT>(value);
98 template <
typename CustomKnowledgeArticleTypeConfigurationsT = Aws::Vector<SalesforceCustomKnowledgeArticleTypeConfiguration>>
103 template <
typename CustomKnowledgeArticleTypeConfigurationsT = SalesforceCustomKnowledgeArticleTypeConfiguration>
105 m_customKnowledgeArticleTypeConfigurationsHasBeenSet =
true;
106 m_customKnowledgeArticleTypeConfigurations.emplace_back(std::forward<CustomKnowledgeArticleTypeConfigurationsT>(value));
116 bool m_includedStatesHasBeenSet =
false;
117 bool m_standardKnowledgeArticleTypeConfigurationHasBeenSet =
false;
118 bool m_customKnowledgeArticleTypeConfigurationsHasBeenSet =
false;
SalesforceKnowledgeArticleConfiguration & WithStandardKnowledgeArticleTypeConfiguration(StandardKnowledgeArticleTypeConfigurationT &&value)
AWS_KENDRA_API SalesforceKnowledgeArticleConfiguration()=default
void SetIncludedStates(IncludedStatesT &&value)
bool StandardKnowledgeArticleTypeConfigurationHasBeenSet() const
AWS_KENDRA_API SalesforceKnowledgeArticleConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API SalesforceKnowledgeArticleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SalesforceKnowledgeArticleConfiguration & AddCustomKnowledgeArticleTypeConfigurations(CustomKnowledgeArticleTypeConfigurationsT &&value)
SalesforceKnowledgeArticleConfiguration & WithIncludedStates(IncludedStatesT &&value)
void SetCustomKnowledgeArticleTypeConfigurations(CustomKnowledgeArticleTypeConfigurationsT &&value)
const SalesforceStandardKnowledgeArticleTypeConfiguration & GetStandardKnowledgeArticleTypeConfiguration() const
bool IncludedStatesHasBeenSet() const
const Aws::Vector< SalesforceKnowledgeArticleState > & GetIncludedStates() const
SalesforceKnowledgeArticleConfiguration & AddIncludedStates(SalesforceKnowledgeArticleState value)
const Aws::Vector< SalesforceCustomKnowledgeArticleTypeConfiguration > & GetCustomKnowledgeArticleTypeConfigurations() const
void SetStandardKnowledgeArticleTypeConfiguration(StandardKnowledgeArticleTypeConfigurationT &&value)
SalesforceKnowledgeArticleConfiguration & WithCustomKnowledgeArticleTypeConfigurations(CustomKnowledgeArticleTypeConfigurationsT &&value)
bool CustomKnowledgeArticleTypeConfigurationsHasBeenSet() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
SalesforceKnowledgeArticleState
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue