7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/QuickResponseStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/qconnect/model/QuickResponseContents.h>
12#include <aws/qconnect/model/GroupingConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
52 template<
typename QuickResponseArnT = Aws::String>
54 template<
typename QuickResponseArnT = Aws::String>
64 template<
typename QuickResponseIdT = Aws::String>
66 template<
typename QuickResponseIdT = Aws::String>
76 template<
typename KnowledgeBaseArnT = Aws::String>
78 template<
typename KnowledgeBaseArnT = Aws::String>
89 template<
typename KnowledgeBaseIdT = Aws::String>
91 template<
typename KnowledgeBaseIdT = Aws::String>
101 template<
typename NameT = Aws::String>
102 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
103 template<
typename NameT = Aws::String>
117 template<
typename ContentTypeT = Aws::String>
119 template<
typename ContentTypeT = Aws::String>
139 template<
typename CreatedTimeT = Aws::Utils::DateTime>
141 template<
typename CreatedTimeT = Aws::Utils::DateTime>
151 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
153 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
163 template<
typename ContentsT = QuickResponseContents>
164 void SetContents(
ContentsT&& value) { m_contentsHasBeenSet =
true; m_contents = std::forward<ContentsT>(value); }
165 template<
typename ContentsT = QuickResponseContents>
175 template<
typename DescriptionT = Aws::String>
177 template<
typename DescriptionT = Aws::String>
188 template<
typename GroupingConfigurationT = GroupingConfiguration>
190 template<
typename GroupingConfigurationT = GroupingConfiguration>
201 template<
typename ShortcutKeyT = Aws::String>
203 template<
typename ShortcutKeyT = Aws::String>
214 template<
typename LastModifiedByT = Aws::String>
216 template<
typename LastModifiedByT = Aws::String>
226 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
237 template<
typename ChannelsT = Aws::Vector<Aws::String>>
238 void SetChannels(
ChannelsT&& value) { m_channelsHasBeenSet =
true; m_channels = std::forward<ChannelsT>(value); }
239 template<
typename ChannelsT = Aws::Vector<Aws::String>>
241 template<
typename ChannelsT = Aws::String>
255 template<
typename LanguageT = Aws::String>
256 void SetLanguage(
LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
257 template<
typename LanguageT = Aws::String>
267 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
268 void SetTags(
TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
269 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
271 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
273 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(
key), std::forward<TagsValueT>(value));
return *
this;
279 bool m_quickResponseArnHasBeenSet =
false;
282 bool m_quickResponseIdHasBeenSet =
false;
285 bool m_knowledgeBaseArnHasBeenSet =
false;
288 bool m_knowledgeBaseIdHasBeenSet =
false;
291 bool m_nameHasBeenSet =
false;
294 bool m_contentTypeHasBeenSet =
false;
297 bool m_statusHasBeenSet =
false;
300 bool m_createdTimeHasBeenSet =
false;
303 bool m_lastModifiedTimeHasBeenSet =
false;
305 QuickResponseContents m_contents;
306 bool m_contentsHasBeenSet =
false;
309 bool m_descriptionHasBeenSet =
false;
311 GroupingConfiguration m_groupingConfiguration;
312 bool m_groupingConfigurationHasBeenSet =
false;
315 bool m_shortcutKeyHasBeenSet =
false;
318 bool m_lastModifiedByHasBeenSet =
false;
320 bool m_isActive{
false};
321 bool m_isActiveHasBeenSet =
false;
324 bool m_channelsHasBeenSet =
false;
327 bool m_languageHasBeenSet =
false;
330 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