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 ContentsT = QuickResponseContents>
177 m_contentsHasBeenSet =
true;
178 m_contents = std::forward<ContentsT>(value);
180 template <
typename ContentsT = QuickResponseContents>
193 template <
typename CreatedTimeT = Aws::Utils::DateTime>
195 m_createdTimeHasBeenSet =
true;
196 m_createdTime = std::forward<CreatedTimeT>(value);
198 template <
typename CreatedTimeT = Aws::Utils::DateTime>
212 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
214 m_lastModifiedTimeHasBeenSet =
true;
215 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
217 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
231 m_isActiveHasBeenSet =
true;
246 template <
typename DescriptionT = Aws::String>
248 m_descriptionHasBeenSet =
true;
249 m_description = std::forward<DescriptionT>(value);
251 template <
typename DescriptionT = Aws::String>
265 template <
typename GroupingConfigurationT = GroupingConfiguration>
267 m_groupingConfigurationHasBeenSet =
true;
268 m_groupingConfiguration = std::forward<GroupingConfigurationT>(value);
270 template <
typename GroupingConfigurationT = GroupingConfiguration>
284 template <
typename ShortcutKeyT = Aws::String>
286 m_shortcutKeyHasBeenSet =
true;
287 m_shortcutKey = std::forward<ShortcutKeyT>(value);
289 template <
typename ShortcutKeyT = Aws::String>
303 template <
typename LastModifiedByT = Aws::String>
305 m_lastModifiedByHasBeenSet =
true;
306 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
308 template <
typename LastModifiedByT = Aws::String>
322 template <
typename ChannelsT = Aws::Vector<Aws::String>>
324 m_channelsHasBeenSet =
true;
325 m_channels = std::forward<ChannelsT>(value);
327 template <
typename ChannelsT = Aws::Vector<Aws::String>>
332 template <
typename ChannelsT = Aws::String>
334 m_channelsHasBeenSet =
true;
335 m_channels.emplace_back(std::forward<ChannelsT>(value));
347 template <
typename LanguageT = Aws::String>
349 m_languageHasBeenSet =
true;
350 m_language = std::forward<LanguageT>(value);
352 template <
typename LanguageT = Aws::String>
366 template <
typename AttributesNotInterpolatedT = Aws::Vector<Aws::String>>
368 m_attributesNotInterpolatedHasBeenSet =
true;
369 m_attributesNotInterpolated = std::forward<AttributesNotInterpolatedT>(value);
371 template <
typename AttributesNotInterpolatedT = Aws::Vector<Aws::String>>
376 template <
typename AttributesNotInterpolatedT = Aws::String>
378 m_attributesNotInterpolatedHasBeenSet =
true;
379 m_attributesNotInterpolated.emplace_back(std::forward<AttributesNotInterpolatedT>(value));
391 template <
typename AttributesInterpolatedT = Aws::Vector<Aws::String>>
393 m_attributesInterpolatedHasBeenSet =
true;
394 m_attributesInterpolated = std::forward<AttributesInterpolatedT>(value);
396 template <
typename AttributesInterpolatedT = Aws::Vector<Aws::String>>
401 template <
typename AttributesInterpolatedT = Aws::String>
403 m_attributesInterpolatedHasBeenSet =
true;
404 m_attributesInterpolated.emplace_back(std::forward<AttributesInterpolatedT>(value));
415 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
417 m_tagsHasBeenSet =
true;
418 m_tags = std::forward<TagsT>(value);
420 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
422 SetTags(std::forward<TagsT>(value));
425 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
427 m_tagsHasBeenSet =
true;
428 m_tags.emplace(std::forward<TagsKeyT>(
key), std::forward<TagsValueT>(value));
447 QuickResponseContents m_contents;
453 bool m_isActive{
false};
457 GroupingConfiguration m_groupingConfiguration;
472 bool m_quickResponseArnHasBeenSet =
false;
473 bool m_quickResponseIdHasBeenSet =
false;
474 bool m_knowledgeBaseArnHasBeenSet =
false;
475 bool m_knowledgeBaseIdHasBeenSet =
false;
476 bool m_nameHasBeenSet =
false;
477 bool m_contentTypeHasBeenSet =
false;
478 bool m_statusHasBeenSet =
false;
479 bool m_contentsHasBeenSet =
false;
480 bool m_createdTimeHasBeenSet =
false;
481 bool m_lastModifiedTimeHasBeenSet =
false;
482 bool m_isActiveHasBeenSet =
false;
483 bool m_descriptionHasBeenSet =
false;
484 bool m_groupingConfigurationHasBeenSet =
false;
485 bool m_shortcutKeyHasBeenSet =
false;
486 bool m_lastModifiedByHasBeenSet =
false;
487 bool m_channelsHasBeenSet =
false;
488 bool m_languageHasBeenSet =
false;
489 bool m_attributesNotInterpolatedHasBeenSet =
false;
490 bool m_attributesInterpolatedHasBeenSet =
false;
491 bool m_tagsHasBeenSet =
false;
void SetAttributesInterpolated(AttributesInterpolatedT &&value)
QuickResponseSearchResultData & AddChannels(ChannelsT &&value)
QuickResponseSearchResultData & WithGroupingConfiguration(GroupingConfigurationT &&value)
QuickResponseSearchResultData & WithQuickResponseId(QuickResponseIdT &&value)
const Aws::String & GetName() const
bool IsActiveHasBeenSet() const
bool TagsHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
const Aws::String & GetLastModifiedBy() const
AWS_QCONNECT_API QuickResponseSearchResultData & operator=(Aws::Utils::Json::JsonView jsonValue)
QuickResponseSearchResultData & WithQuickResponseArn(QuickResponseArnT &&value)
void SetLanguage(LanguageT &&value)
bool KnowledgeBaseIdHasBeenSet() const
const GroupingConfiguration & GetGroupingConfiguration() const
bool ShortcutKeyHasBeenSet() const
void SetIsActive(bool value)
QuickResponseSearchResultData & WithShortcutKey(ShortcutKeyT &&value)
QuickResponseSearchResultData & WithLastModifiedBy(LastModifiedByT &&value)
void SetStatus(QuickResponseStatus value)
const Aws::String & GetQuickResponseArn() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool ContentTypeHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::Vector< Aws::String > & GetAttributesNotInterpolated() const
QuickResponseSearchResultData & WithIsActive(bool value)
const Aws::String & GetKnowledgeBaseArn() const
QuickResponseSearchResultData & WithAttributesNotInterpolated(AttributesNotInterpolatedT &&value)
bool CreatedTimeHasBeenSet() const
const QuickResponseContents & GetContents() const
void SetAttributesNotInterpolated(AttributesNotInterpolatedT &&value)
QuickResponseSearchResultData & WithStatus(QuickResponseStatus value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetLanguage() const
bool StatusHasBeenSet() const
QuickResponseSearchResultData & WithLanguage(LanguageT &&value)
QuickResponseSearchResultData & WithContentType(ContentTypeT &&value)
bool LanguageHasBeenSet() const
bool AttributesNotInterpolatedHasBeenSet() const
QuickResponseStatus GetStatus() const
void SetShortcutKey(ShortcutKeyT &&value)
QuickResponseSearchResultData & WithDescription(DescriptionT &&value)
QuickResponseSearchResultData & WithAttributesInterpolated(AttributesInterpolatedT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
void SetContentType(ContentTypeT &&value)
bool DescriptionHasBeenSet() const
QuickResponseSearchResultData & AddAttributesInterpolated(AttributesInterpolatedT &&value)
void SetGroupingConfiguration(GroupingConfigurationT &&value)
AWS_QCONNECT_API QuickResponseSearchResultData(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContentType() const
QuickResponseSearchResultData & WithName(NameT &&value)
bool ChannelsHasBeenSet() const
void SetContents(ContentsT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::String & GetQuickResponseId() const
bool LastModifiedByHasBeenSet() const
bool GroupingConfigurationHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetShortcutKey() const
QuickResponseSearchResultData & WithCreatedTime(CreatedTimeT &&value)
QuickResponseSearchResultData & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetKnowledgeBaseId() const
bool KnowledgeBaseArnHasBeenSet() const
bool ContentsHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Vector< Aws::String > & GetChannels() const
QuickResponseSearchResultData & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetChannels(ChannelsT &&value)
bool NameHasBeenSet() const
AWS_QCONNECT_API QuickResponseSearchResultData()=default
bool QuickResponseIdHasBeenSet() const
bool AttributesInterpolatedHasBeenSet() const
QuickResponseSearchResultData & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
QuickResponseSearchResultData & AddAttributesNotInterpolated(AttributesNotInterpolatedT &&value)
QuickResponseSearchResultData & WithContents(ContentsT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
bool QuickResponseArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetAttributesInterpolated() const
void SetName(NameT &&value)
QuickResponseSearchResultData & WithChannels(ChannelsT &&value)
QuickResponseSearchResultData & WithTags(TagsT &&value)
void SetQuickResponseArn(QuickResponseArnT &&value)
QuickResponseSearchResultData & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetCreatedTime(CreatedTimeT &&value)
void SetQuickResponseId(QuickResponseIdT &&value)
void SetTags(TagsT &&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