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/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
51 template<
typename QuickResponseArnT = Aws::String>
53 template<
typename QuickResponseArnT = Aws::String>
63 template<
typename QuickResponseIdT = Aws::String>
65 template<
typename QuickResponseIdT = Aws::String>
75 template<
typename KnowledgeBaseArnT = Aws::String>
77 template<
typename KnowledgeBaseArnT = Aws::String>
87 template<
typename KnowledgeBaseIdT = Aws::String>
89 template<
typename KnowledgeBaseIdT = Aws::String>
99 template<
typename NameT = Aws::String>
100 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
101 template<
typename NameT = Aws::String>
115 template<
typename ContentTypeT = Aws::String>
117 template<
typename ContentTypeT = Aws::String>
137 template<
typename CreatedTimeT = Aws::Utils::DateTime>
139 template<
typename CreatedTimeT = Aws::Utils::DateTime>
149 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
151 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
161 template<
typename DescriptionT = Aws::String>
163 template<
typename DescriptionT = Aws::String>
174 template<
typename LastModifiedByT = Aws::String>
176 template<
typename LastModifiedByT = Aws::String>
186 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
197 template<
typename ChannelsT = Aws::Vector<Aws::String>>
198 void SetChannels(
ChannelsT&& value) { m_channelsHasBeenSet =
true; m_channels = std::forward<ChannelsT>(value); }
199 template<
typename ChannelsT = Aws::Vector<Aws::String>>
201 template<
typename ChannelsT = Aws::String>
211 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
212 void SetTags(
TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
213 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
215 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
217 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(
key), std::forward<TagsValueT>(value));
return *
this;
223 bool m_quickResponseArnHasBeenSet =
false;
226 bool m_quickResponseIdHasBeenSet =
false;
229 bool m_knowledgeBaseArnHasBeenSet =
false;
232 bool m_knowledgeBaseIdHasBeenSet =
false;
235 bool m_nameHasBeenSet =
false;
238 bool m_contentTypeHasBeenSet =
false;
241 bool m_statusHasBeenSet =
false;
244 bool m_createdTimeHasBeenSet =
false;
247 bool m_lastModifiedTimeHasBeenSet =
false;
250 bool m_descriptionHasBeenSet =
false;
253 bool m_lastModifiedByHasBeenSet =
false;
255 bool m_isActive{
false};
256 bool m_isActiveHasBeenSet =
false;
259 bool m_channelsHasBeenSet =
false;
262 bool m_tagsHasBeenSet =
false;
bool QuickResponseIdHasBeenSet() const
QuickResponseSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
QuickResponseSummary & WithChannels(ChannelsT &&value)
bool ChannelsHasBeenSet() const
bool TagsHasBeenSet() const
QuickResponseSummary & WithLastModifiedBy(LastModifiedByT &&value)
void SetDescription(DescriptionT &&value)
QuickResponseSummary & WithTags(TagsT &&value)
const Aws::String & GetQuickResponseArn() const
const Aws::String & GetQuickResponseId() const
bool KnowledgeBaseArnHasBeenSet() const
void SetQuickResponseId(QuickResponseIdT &&value)
bool QuickResponseArnHasBeenSet() const
bool KnowledgeBaseIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool StatusHasBeenSet() const
AWS_QCONNECT_API QuickResponseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ContentTypeHasBeenSet() const
QuickResponseSummary & WithStatus(QuickResponseStatus value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
QuickResponseSummary & AddChannels(ChannelsT &&value)
const Aws::String & GetLastModifiedBy() const
QuickResponseSummary & WithCreatedTime(CreatedTimeT &&value)
QuickResponseSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
QuickResponseStatus GetStatus() const
void SetQuickResponseArn(QuickResponseArnT &&value)
void SetIsActive(bool value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
QuickResponseSummary & WithQuickResponseArn(QuickResponseArnT &&value)
const Aws::String & GetKnowledgeBaseArn() const
QuickResponseSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetCreatedTime(CreatedTimeT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
QuickResponseSummary & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool CreatedTimeHasBeenSet() const
const Aws::String & GetDescription() const
AWS_QCONNECT_API QuickResponseSummary()=default
bool LastModifiedTimeHasBeenSet() const
void SetTags(TagsT &&value)
QuickResponseSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
void SetContentType(ContentTypeT &&value)
void SetName(NameT &&value)
QuickResponseSummary & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetChannels() const
void SetStatus(QuickResponseStatus value)
QuickResponseSummary & WithIsActive(bool value)
void SetLastModifiedBy(LastModifiedByT &&value)
void SetChannels(ChannelsT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool IsActiveHasBeenSet() const
bool LastModifiedByHasBeenSet() const
QuickResponseSummary & WithQuickResponseId(QuickResponseIdT &&value)
QuickResponseSummary & WithContentType(ContentTypeT &&value)
const Aws::String & GetContentType() const
const Aws::String & GetKnowledgeBaseId() const
AWS_QCONNECT_API QuickResponseSummary(Aws::Utils::Json::JsonView jsonValue)
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