7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wisdom/ConnectWisdomServiceRequest.h>
11#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
12#include <aws/wisdom/model/KnowledgeBaseType.h>
13#include <aws/wisdom/model/RenderingConfiguration.h>
14#include <aws/wisdom/model/ServerSideEncryptionConfiguration.h>
15#include <aws/wisdom/model/SourceConfiguration.h>
20namespace ConnectWisdomService {
47 template <
typename ClientTokenT = Aws::String>
49 m_clientTokenHasBeenSet =
true;
50 m_clientToken = std::forward<ClientTokenT>(value);
52 template <
typename ClientTokenT = Aws::String>
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
86 m_knowledgeBaseTypeHasBeenSet =
true;
87 m_knowledgeBaseType = value;
101 template <
typename NameT = Aws::String>
103 m_nameHasBeenSet =
true;
104 m_name = std::forward<NameT>(value);
106 template <
typename NameT = Aws::String>
108 SetName(std::forward<NameT>(value));
119 template <
typename RenderingConfigurationT = RenderingConfiguration>
121 m_renderingConfigurationHasBeenSet =
true;
122 m_renderingConfiguration = std::forward<RenderingConfigurationT>(value);
124 template <
typename RenderingConfigurationT = RenderingConfiguration>
143 return m_serverSideEncryptionConfiguration;
146 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
148 m_serverSideEncryptionConfigurationHasBeenSet =
true;
149 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
151 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
165 template <
typename SourceConfigurationT = SourceConfiguration>
167 m_sourceConfigurationHasBeenSet =
true;
168 m_sourceConfiguration = std::forward<SourceConfigurationT>(value);
170 template <
typename SourceConfigurationT = SourceConfiguration>
183 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 m_tagsHasBeenSet =
true;
186 m_tags = std::forward<TagsT>(value);
188 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
190 SetTags(std::forward<TagsT>(value));
193 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
195 m_tagsHasBeenSet =
true;
196 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
209 RenderingConfiguration m_renderingConfiguration;
211 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
213 SourceConfiguration m_sourceConfiguration;
216 bool m_clientTokenHasBeenSet =
true;
217 bool m_descriptionHasBeenSet =
false;
218 bool m_knowledgeBaseTypeHasBeenSet =
false;
219 bool m_nameHasBeenSet =
false;
220 bool m_renderingConfigurationHasBeenSet =
false;
221 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
222 bool m_sourceConfigurationHasBeenSet =
false;
223 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