7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/ConnectWisdomServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wisdom/model/KnowledgeBaseType.h>
11#include <aws/wisdom/model/RenderingConfiguration.h>
12#include <aws/wisdom/model/ServerSideEncryptionConfiguration.h>
13#include <aws/wisdom/model/SourceConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/UUID.h>
20namespace ConnectWisdomService
51 template<
typename ClientTokenT = Aws::String>
52 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
53 template<
typename ClientTokenT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
87 template<
typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
89 template<
typename NameT = Aws::String>
99 template<
typename RenderingConfigurationT = RenderingConfiguration>
100 void SetRenderingConfiguration(RenderingConfigurationT&& value) { m_renderingConfigurationHasBeenSet =
true; m_renderingConfiguration = std::forward<RenderingConfigurationT>(value); }
101 template<
typename RenderingConfigurationT = RenderingConfiguration>
118 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
119 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { m_serverSideEncryptionConfigurationHasBeenSet =
true; m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value); }
120 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
131 template<
typename SourceConfigurationT = SourceConfiguration>
132 void SetSourceConfiguration(SourceConfigurationT&& value) { m_sourceConfigurationHasBeenSet =
true; m_sourceConfiguration = std::forward<SourceConfigurationT>(value); }
133 template<
typename SourceConfigurationT = SourceConfiguration>
143 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
145 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
147 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
149 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
155 bool m_clientTokenHasBeenSet =
true;
158 bool m_descriptionHasBeenSet =
false;
161 bool m_knowledgeBaseTypeHasBeenSet =
false;
164 bool m_nameHasBeenSet =
false;
166 RenderingConfiguration m_renderingConfiguration;
167 bool m_renderingConfigurationHasBeenSet =
false;
169 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
170 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
172 SourceConfiguration m_sourceConfiguration;
173 bool m_sourceConfigurationHasBeenSet =
false;
176 bool m_tagsHasBeenSet =
false;
const RenderingConfiguration & GetRenderingConfiguration() const
const Aws::String & GetDescription() const
CreateKnowledgeBaseRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
bool RenderingConfigurationHasBeenSet() const
KnowledgeBaseType GetKnowledgeBaseType() const
bool ServerSideEncryptionConfigurationHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API CreateKnowledgeBaseRequest()=default
const Aws::String & GetClientToken() const
CreateKnowledgeBaseRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool SourceConfigurationHasBeenSet() const
void SetTags(TagsT &&value)
bool DescriptionHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool TagsHasBeenSet() const
CreateKnowledgeBaseRequest & WithName(NameT &&value)
const SourceConfiguration & GetSourceConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetName() const
CreateKnowledgeBaseRequest & WithSourceConfiguration(SourceConfigurationT &&value)
CreateKnowledgeBaseRequest & WithTags(TagsT &&value)
void SetRenderingConfiguration(RenderingConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
CreateKnowledgeBaseRequest & WithClientToken(ClientTokenT &&value)
CreateKnowledgeBaseRequest & WithKnowledgeBaseType(KnowledgeBaseType value)
CreateKnowledgeBaseRequest & WithDescription(DescriptionT &&value)
bool ClientTokenHasBeenSet() const
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
void SetKnowledgeBaseType(KnowledgeBaseType value)
CreateKnowledgeBaseRequest & WithRenderingConfiguration(RenderingConfigurationT &&value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
void SetSourceConfiguration(SourceConfigurationT &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
void SetDescription(DescriptionT &&value)
bool KnowledgeBaseTypeHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String