7#include <aws/core/utils/DateTime.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/qconnect/QConnect_EXPORTS.h>
12#include <aws/qconnect/model/GroupingConfiguration.h>
13#include <aws/qconnect/model/QuickResponseContents.h>
14#include <aws/qconnect/model/QuickResponseStatus.h>
46 template <
typename QuickResponseArnT = Aws::String>
48 m_quickResponseArnHasBeenSet =
true;
49 m_quickResponseArn = std::forward<QuickResponseArnT>(value);
51 template <
typename QuickResponseArnT = Aws::String>
64 template <
typename QuickResponseIdT = Aws::String>
66 m_quickResponseIdHasBeenSet =
true;
67 m_quickResponseId = std::forward<QuickResponseIdT>(value);
69 template <
typename QuickResponseIdT = Aws::String>
82 template <
typename KnowledgeBaseArnT = Aws::String>
84 m_knowledgeBaseArnHasBeenSet =
true;
85 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
87 template <
typename KnowledgeBaseArnT = Aws::String>
101 template <
typename KnowledgeBaseIdT = Aws::String>
103 m_knowledgeBaseIdHasBeenSet =
true;
104 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
106 template <
typename KnowledgeBaseIdT = Aws::String>
119 template <
typename NameT = Aws::String>
121 m_nameHasBeenSet =
true;
122 m_name = std::forward<NameT>(value);
124 template <
typename NameT = Aws::String>
126 SetName(std::forward<NameT>(value));
141 template <
typename ContentTypeT = Aws::String>
143 m_contentTypeHasBeenSet =
true;
144 m_contentType = std::forward<ContentTypeT>(value);
146 template <
typename ContentTypeT = Aws::String>
160 m_statusHasBeenSet =
true;
175 template <
typename CreatedTimeT = Aws::Utils::DateTime>
177 m_createdTimeHasBeenSet =
true;
178 m_createdTime = std::forward<CreatedTimeT>(value);
180 template <
typename CreatedTimeT = Aws::Utils::DateTime>
193 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
195 m_lastModifiedTimeHasBeenSet =
true;
196 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
198 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
211 template <
typename ContentsT = QuickResponseContents>
213 m_contentsHasBeenSet =
true;
214 m_contents = std::forward<ContentsT>(value);
216 template <
typename ContentsT = QuickResponseContents>
229 template <
typename DescriptionT = Aws::String>
231 m_descriptionHasBeenSet =
true;
232 m_description = std::forward<DescriptionT>(value);
234 template <
typename DescriptionT = Aws::String>
248 template <
typename GroupingConfigurationT = GroupingConfiguration>
250 m_groupingConfigurationHasBeenSet =
true;
251 m_groupingConfiguration = std::forward<GroupingConfigurationT>(value);
253 template <
typename GroupingConfigurationT = GroupingConfiguration>
267 template <
typename ShortcutKeyT = Aws::String>
269 m_shortcutKeyHasBeenSet =
true;
270 m_shortcutKey = std::forward<ShortcutKeyT>(value);
272 template <
typename ShortcutKeyT = Aws::String>
286 template <
typename LastModifiedByT = Aws::String>
288 m_lastModifiedByHasBeenSet =
true;
289 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
291 template <
typename LastModifiedByT = Aws::String>
305 m_isActiveHasBeenSet =
true;
321 template <
typename ChannelsT = Aws::Vector<Aws::String>>
323 m_channelsHasBeenSet =
true;
324 m_channels = std::forward<ChannelsT>(value);
326 template <
typename ChannelsT = Aws::Vector<Aws::String>>
331 template <
typename ChannelsT = Aws::String>
333 m_channelsHasBeenSet =
true;
334 m_channels.emplace_back(std::forward<ChannelsT>(value));
349 template <
typename LanguageT = Aws::String>
351 m_languageHasBeenSet =
true;
352 m_language = std::forward<LanguageT>(value);
354 template <
typename LanguageT = Aws::String>
367 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
369 m_tagsHasBeenSet =
true;
370 m_tags = std::forward<TagsT>(value);
372 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
374 SetTags(std::forward<TagsT>(value));
377 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
379 m_tagsHasBeenSet =
true;
380 m_tags.emplace(std::forward<TagsKeyT>(
key), std::forward<TagsValueT>(value));
403 QuickResponseContents m_contents;
407 GroupingConfiguration m_groupingConfiguration;
413 bool m_isActive{
false};
420 bool m_quickResponseArnHasBeenSet =
false;
421 bool m_quickResponseIdHasBeenSet =
false;
422 bool m_knowledgeBaseArnHasBeenSet =
false;
423 bool m_knowledgeBaseIdHasBeenSet =
false;
424 bool m_nameHasBeenSet =
false;
425 bool m_contentTypeHasBeenSet =
false;
426 bool m_statusHasBeenSet =
false;
427 bool m_createdTimeHasBeenSet =
false;
428 bool m_lastModifiedTimeHasBeenSet =
false;
429 bool m_contentsHasBeenSet =
false;
430 bool m_descriptionHasBeenSet =
false;
431 bool m_groupingConfigurationHasBeenSet =
false;
432 bool m_shortcutKeyHasBeenSet =
false;
433 bool m_lastModifiedByHasBeenSet =
false;
434 bool m_isActiveHasBeenSet =
false;
435 bool m_channelsHasBeenSet =
false;
436 bool m_languageHasBeenSet =
false;
437 bool m_tagsHasBeenSet =
false;
QuickResponseData & WithShortcutKey(ShortcutKeyT &&value)
QuickResponseData & WithQuickResponseArn(QuickResponseArnT &&value)
const Aws::String & GetKnowledgeBaseId() const
QuickResponseData & WithChannels(ChannelsT &&value)
QuickResponseStatus GetStatus() const
const Aws::String & GetContentType() const
QuickResponseData & WithStatus(QuickResponseStatus value)
QuickResponseData & WithLastModifiedTime(LastModifiedTimeT &&value)
bool DescriptionHasBeenSet() const
QuickResponseData & AddChannels(ChannelsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetShortcutKey() const
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
void SetDescription(DescriptionT &&value)
bool KnowledgeBaseIdHasBeenSet() const
void SetLastModifiedBy(LastModifiedByT &&value)
bool IsActiveHasBeenSet() const
QuickResponseData & AddTags(TagsKeyT &&key, TagsValueT &&value)
QuickResponseData & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool LastModifiedTimeHasBeenSet() const
QuickResponseData & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::String & GetDescription() const
QuickResponseData & WithCreatedTime(CreatedTimeT &&value)
bool ShortcutKeyHasBeenSet() const
const Aws::Vector< Aws::String > & GetChannels() const
QuickResponseData & WithLanguage(LanguageT &&value)
QuickResponseData & WithName(NameT &&value)
bool StatusHasBeenSet() const
void SetStatus(QuickResponseStatus value)
bool GroupingConfigurationHasBeenSet() const
void SetContents(ContentsT &&value)
QuickResponseData & WithGroupingConfiguration(GroupingConfigurationT &&value)
QuickResponseData & WithLastModifiedBy(LastModifiedByT &&value)
QuickResponseData & WithTags(TagsT &&value)
bool ContentsHasBeenSet() const
bool LanguageHasBeenSet() const
QuickResponseData & WithDescription(DescriptionT &&value)
const GroupingConfiguration & GetGroupingConfiguration() const
bool KnowledgeBaseArnHasBeenSet() const
bool NameHasBeenSet() const
void SetChannels(ChannelsT &&value)
AWS_QCONNECT_API QuickResponseData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
QuickResponseData & WithQuickResponseId(QuickResponseIdT &&value)
bool LastModifiedByHasBeenSet() const
bool CreatedTimeHasBeenSet() const
const Aws::String & GetLastModifiedBy() const
const Aws::String & GetLanguage() const
const Aws::String & GetKnowledgeBaseArn() const
void SetShortcutKey(ShortcutKeyT &&value)
bool QuickResponseIdHasBeenSet() const
bool TagsHasBeenSet() const
void SetContentType(ContentTypeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_QCONNECT_API QuickResponseData(Aws::Utils::Json::JsonView jsonValue)
const QuickResponseContents & GetContents() const
AWS_QCONNECT_API QuickResponseData()=default
QuickResponseData & WithContents(ContentsT &&value)
bool QuickResponseArnHasBeenSet() const
const Aws::String & GetName() const
void SetLanguage(LanguageT &&value)
void SetQuickResponseId(QuickResponseIdT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetQuickResponseArn() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
QuickResponseData & WithIsActive(bool value)
void SetCreatedTime(CreatedTimeT &&value)
const Aws::String & GetQuickResponseId() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetTags(TagsT &&value)
void SetGroupingConfiguration(GroupingConfigurationT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetIsActive(bool value)
QuickResponseData & WithContentType(ContentTypeT &&value)
bool ContentTypeHasBeenSet() const
bool ChannelsHasBeenSet() const
void SetQuickResponseArn(QuickResponseArnT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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
Aws::Utils::Json::JsonValue JsonValue