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/core/utils/memory/stl/AWSVector.h>
11#include <aws/wisdom/ConnectWisdomServiceRequest.h>
12#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
13#include <aws/wisdom/model/GroupingConfiguration.h>
14#include <aws/wisdom/model/QuickResponseDataProvider.h>
19namespace ConnectWisdomService {
42 template <
typename ChannelsT = Aws::Vector<Aws::String>>
44 m_channelsHasBeenSet =
true;
45 m_channels = std::forward<ChannelsT>(value);
47 template <
typename ChannelsT = Aws::Vector<Aws::String>>
52 template <
typename ChannelsT = Aws::String>
54 m_channelsHasBeenSet =
true;
55 m_channels.emplace_back(std::forward<ChannelsT>(value));
70 template <
typename ClientTokenT = Aws::String>
72 m_clientTokenHasBeenSet =
true;
73 m_clientToken = std::forward<ClientTokenT>(value);
75 template <
typename ClientTokenT = Aws::String>
88 template <
typename ContentT = QuickResponseDataProv
ider>
90 m_contentHasBeenSet =
true;
91 m_content = std::forward<ContentT>(value);
93 template <
typename ContentT = QuickResponseDataProv
ider>
110 template <
typename ContentTypeT = Aws::String>
112 m_contentTypeHasBeenSet =
true;
113 m_contentType = std::forward<ContentTypeT>(value);
115 template <
typename ContentTypeT = Aws::String>
128 template <
typename DescriptionT = Aws::String>
130 m_descriptionHasBeenSet =
true;
131 m_description = std::forward<DescriptionT>(value);
133 template <
typename DescriptionT = Aws::String>
147 template <
typename GroupingConfigurationT = GroupingConfiguration>
149 m_groupingConfigurationHasBeenSet =
true;
150 m_groupingConfiguration = std::forward<GroupingConfigurationT>(value);
152 template <
typename GroupingConfigurationT = GroupingConfiguration>
166 m_isActiveHasBeenSet =
true;
183 template <
typename KnowledgeBaseIdT = Aws::String>
185 m_knowledgeBaseIdHasBeenSet =
true;
186 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
188 template <
typename KnowledgeBaseIdT = Aws::String>
205 template <
typename LanguageT = Aws::String>
207 m_languageHasBeenSet =
true;
208 m_language = std::forward<LanguageT>(value);
210 template <
typename LanguageT = Aws::String>
223 template <
typename NameT = Aws::String>
225 m_nameHasBeenSet =
true;
226 m_name = std::forward<NameT>(value);
228 template <
typename NameT = Aws::String>
230 SetName(std::forward<NameT>(value));
242 template <
typename ShortcutKeyT = Aws::String>
244 m_shortcutKeyHasBeenSet =
true;
245 m_shortcutKey = std::forward<ShortcutKeyT>(value);
247 template <
typename ShortcutKeyT = Aws::String>
260 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
262 m_tagsHasBeenSet =
true;
263 m_tags = std::forward<TagsT>(value);
265 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
267 SetTags(std::forward<TagsT>(value));
270 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
272 m_tagsHasBeenSet =
true;
273 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
282 QuickResponseDataProvider m_content;
288 GroupingConfiguration m_groupingConfiguration;
290 bool m_isActive{
false};
301 bool m_channelsHasBeenSet =
false;
302 bool m_clientTokenHasBeenSet =
true;
303 bool m_contentHasBeenSet =
false;
304 bool m_contentTypeHasBeenSet =
false;
305 bool m_descriptionHasBeenSet =
false;
306 bool m_groupingConfigurationHasBeenSet =
false;
307 bool m_isActiveHasBeenSet =
false;
308 bool m_knowledgeBaseIdHasBeenSet =
false;
309 bool m_languageHasBeenSet =
false;
310 bool m_nameHasBeenSet =
false;
311 bool m_shortcutKeyHasBeenSet =
false;
312 bool m_tagsHasBeenSet =
false;
void SetName(NameT &&value)
void SetTags(TagsT &&value)
CreateQuickResponseRequest & WithLanguage(LanguageT &&value)
const Aws::String & GetLanguage() const
CreateQuickResponseRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetContent(ContentT &&value)
CreateQuickResponseRequest & AddChannels(ChannelsT &&value)
bool NameHasBeenSet() const
bool IsActiveHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool LanguageHasBeenSet() const
bool GroupingConfigurationHasBeenSet() const
const Aws::String & GetName() const
void SetIsActive(bool value)
CreateQuickResponseRequest & WithIsActive(bool value)
CreateQuickResponseRequest & WithClientToken(ClientTokenT &&value)
bool KnowledgeBaseIdHasBeenSet() const
bool ShortcutKeyHasBeenSet() const
void SetChannels(ChannelsT &&value)
bool ContentTypeHasBeenSet() const
CreateQuickResponseRequest & WithDescription(DescriptionT &&value)
void SetGroupingConfiguration(GroupingConfigurationT &&value)
CreateQuickResponseRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetContentType(ContentTypeT &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
const Aws::String & GetContentType() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ContentHasBeenSet() const
const Aws::Vector< Aws::String > & GetChannels() const
void SetLanguage(LanguageT &&value)
CreateQuickResponseRequest & WithGroupingConfiguration(GroupingConfigurationT &&value)
CreateQuickResponseRequest & WithChannels(ChannelsT &&value)
const Aws::String & GetClientToken() const
const QuickResponseDataProvider & GetContent() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetShortcutKey() const
const GroupingConfiguration & GetGroupingConfiguration() const
bool TagsHasBeenSet() const
const Aws::String & GetDescription() const
void SetShortcutKey(ShortcutKeyT &&value)
AWS_CONNECTWISDOMSERVICE_API CreateQuickResponseRequest()=default
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
CreateQuickResponseRequest & WithShortcutKey(ShortcutKeyT &&value)
bool ClientTokenHasBeenSet() const
CreateQuickResponseRequest & WithContentType(ContentTypeT &&value)
const Aws::String & GetKnowledgeBaseId() const
CreateQuickResponseRequest & WithContent(ContentT &&value)
bool DescriptionHasBeenSet() const
bool ChannelsHasBeenSet() const
CreateQuickResponseRequest & WithTags(TagsT &&value)
CreateQuickResponseRequest & WithName(NameT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector