7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/model/QuickResponseContents.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/qconnect/model/GroupingConfiguration.h>
13#include <aws/qconnect/model/QuickResponseStatus.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
74 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
112 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
137 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
149 inline void SetKnowledgeBaseArn(
const char* value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn.assign(value); }
164 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
179 inline void SetLanguage(
const char* value) { m_languageHasBeenSet =
true; m_language.assign(value); }
194 inline void SetLastModifiedBy(
const char* value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy.assign(value); }
220 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
234 inline void SetQuickResponseArn(
const char* value) { m_quickResponseArnHasBeenSet =
true; m_quickResponseArn.assign(value); }
248 inline void SetQuickResponseId(
const char* value) { m_quickResponseIdHasBeenSet =
true; m_quickResponseId.assign(value); }
263 inline void SetShortcutKey(
const char* value) { m_shortcutKeyHasBeenSet =
true; m_shortcutKey.assign(value); }
297 inline QuickResponseData&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
302 bool m_channelsHasBeenSet =
false;
305 bool m_contentTypeHasBeenSet =
false;
308 bool m_contentsHasBeenSet =
false;
311 bool m_createdTimeHasBeenSet =
false;
314 bool m_descriptionHasBeenSet =
false;
317 bool m_groupingConfigurationHasBeenSet =
false;
320 bool m_isActiveHasBeenSet =
false;
323 bool m_knowledgeBaseArnHasBeenSet =
false;
326 bool m_knowledgeBaseIdHasBeenSet =
false;
329 bool m_languageHasBeenSet =
false;
332 bool m_lastModifiedByHasBeenSet =
false;
335 bool m_lastModifiedTimeHasBeenSet =
false;
338 bool m_nameHasBeenSet =
false;
341 bool m_quickResponseArnHasBeenSet =
false;
344 bool m_quickResponseIdHasBeenSet =
false;
347 bool m_shortcutKeyHasBeenSet =
false;
350 bool m_statusHasBeenSet =
false;
353 bool m_tagsHasBeenSet =
false;
void SetName(Aws::String &&value)
void SetShortcutKey(Aws::String &&value)
QuickResponseData & WithChannels(Aws::Vector< Aws::String > &&value)
const Aws::String & GetKnowledgeBaseId() const
void SetQuickResponseArn(const char *value)
void SetStatus(const QuickResponseStatus &value)
QuickResponseData & WithGroupingConfiguration(const GroupingConfiguration &value)
QuickResponseData & WithQuickResponseId(const Aws::String &value)
QuickResponseData & WithKnowledgeBaseId(const Aws::String &value)
const Aws::String & GetContentType() const
void SetName(const char *value)
QuickResponseData & WithContentType(Aws::String &&value)
void SetLastModifiedBy(const Aws::String &value)
bool DescriptionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetName(const Aws::String &value)
QuickResponseData & AddChannels(const Aws::String &value)
void SetChannels(Aws::Vector< Aws::String > &&value)
const Aws::String & GetShortcutKey() const
void SetGroupingConfiguration(const GroupingConfiguration &value)
QuickResponseData & WithContentType(const char *value)
QuickResponseData & AddTags(const Aws::String &key, Aws::String &&value)
bool KnowledgeBaseIdHasBeenSet() const
bool IsActiveHasBeenSet() const
void SetContentType(Aws::String &&value)
void SetQuickResponseId(const Aws::String &value)
void SetDescription(const char *value)
bool LastModifiedTimeHasBeenSet() const
QuickResponseData & WithQuickResponseId(Aws::String &&value)
const Aws::String & GetDescription() const
void SetKnowledgeBaseId(const Aws::String &value)
void SetQuickResponseArn(const Aws::String &value)
bool ShortcutKeyHasBeenSet() const
void SetShortcutKey(const char *value)
const Aws::Vector< Aws::String > & GetChannels() const
void SetKnowledgeBaseId(Aws::String &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
bool StatusHasBeenSet() const
QuickResponseData & WithName(const Aws::String &value)
QuickResponseData & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetLanguage(const Aws::String &value)
bool GroupingConfigurationHasBeenSet() const
QuickResponseData & WithKnowledgeBaseArn(const char *value)
QuickResponseData & WithLastModifiedBy(const char *value)
QuickResponseData & WithChannels(const Aws::Vector< Aws::String > &value)
void SetGroupingConfiguration(GroupingConfiguration &&value)
QuickResponseData & WithQuickResponseArn(Aws::String &&value)
QuickResponseData & AddTags(const char *key, const char *value)
void SetDescription(const Aws::String &value)
QuickResponseData & WithDescription(const char *value)
QuickResponseData & WithContents(QuickResponseContents &&value)
QuickResponseData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
QuickResponseData & WithName(const char *value)
const QuickResponseStatus & GetStatus() const
bool ContentsHasBeenSet() const
bool LanguageHasBeenSet() const
QuickResponseData & WithKnowledgeBaseId(const char *value)
void SetDescription(Aws::String &&value)
const GroupingConfiguration & GetGroupingConfiguration() const
QuickResponseData & WithShortcutKey(const char *value)
bool KnowledgeBaseArnHasBeenSet() const
void SetQuickResponseId(const char *value)
void SetLastModifiedBy(Aws::String &&value)
void SetContents(const QuickResponseContents &value)
QuickResponseData & WithLanguage(const char *value)
bool NameHasBeenSet() const
AWS_QCONNECT_API QuickResponseData & operator=(Aws::Utils::Json::JsonView jsonValue)
QuickResponseData & WithShortcutKey(const Aws::String &value)
void SetQuickResponseArn(Aws::String &&value)
QuickResponseData & WithQuickResponseId(const char *value)
QuickResponseData & WithDescription(Aws::String &&value)
QuickResponseData & WithKnowledgeBaseArn(Aws::String &&value)
bool LastModifiedByHasBeenSet() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
bool CreatedTimeHasBeenSet() const
const Aws::String & GetLastModifiedBy() const
const Aws::String & GetLanguage() const
const Aws::String & GetKnowledgeBaseArn() const
QuickResponseData & AddTags(const Aws::String &key, const Aws::String &value)
bool QuickResponseIdHasBeenSet() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
bool TagsHasBeenSet() const
AWS_QCONNECT_API QuickResponseData(Aws::Utils::Json::JsonView jsonValue)
QuickResponseData & WithLastModifiedBy(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetContents(QuickResponseContents &&value)
QuickResponseData & AddTags(Aws::String &&key, Aws::String &&value)
const QuickResponseContents & GetContents() const
void SetLastModifiedBy(const char *value)
QuickResponseData & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
QuickResponseData & AddChannels(const char *value)
void SetContentType(const char *value)
QuickResponseData & AddTags(Aws::String &&key, const char *value)
bool QuickResponseArnHasBeenSet() const
const Aws::String & GetName() const
QuickResponseData & AddTags(Aws::String &&key, const Aws::String &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKnowledgeBaseArn(const char *value)
QuickResponseData & WithQuickResponseArn(const Aws::String &value)
const Aws::String & GetQuickResponseArn() const
void SetQuickResponseId(Aws::String &&value)
QuickResponseData & AddTags(const char *key, Aws::String &&value)
QuickResponseData & WithIsActive(bool value)
QuickResponseData & WithContents(const QuickResponseContents &value)
QuickResponseData & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetStatus(QuickResponseStatus &&value)
const Aws::String & GetQuickResponseId() const
QuickResponseData & WithLastModifiedBy(const Aws::String &value)
void SetKnowledgeBaseId(const char *value)
QuickResponseData & WithShortcutKey(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
QuickResponseData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
QuickResponseData & WithDescription(const Aws::String &value)
QuickResponseData & WithLanguage(const Aws::String &value)
QuickResponseData & WithKnowledgeBaseArn(const Aws::String &value)
QuickResponseData & WithLanguage(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetContentType(const Aws::String &value)
void SetLanguage(const char *value)
void SetLanguage(Aws::String &&value)
QuickResponseData & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetIsActive(bool value)
void SetKnowledgeBaseArn(const Aws::String &value)
QuickResponseData & WithStatus(const QuickResponseStatus &value)
QuickResponseData & WithKnowledgeBaseId(Aws::String &&value)
void SetChannels(const Aws::Vector< Aws::String > &value)
AWS_QCONNECT_API QuickResponseData()
void SetShortcutKey(const Aws::String &value)
QuickResponseData & WithQuickResponseArn(const char *value)
QuickResponseData & AddChannels(Aws::String &&value)
QuickResponseData & WithContentType(const Aws::String &value)
bool ContentTypeHasBeenSet() const
bool ChannelsHasBeenSet() const
void SetKnowledgeBaseArn(Aws::String &&value)
QuickResponseData & WithGroupingConfiguration(GroupingConfiguration &&value)
QuickResponseData & WithStatus(QuickResponseStatus &&value)
QuickResponseData & WithName(Aws::String &&value)
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