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/wisdom/ConnectWisdomService_EXPORTS.h>
12#include <aws/wisdom/model/QuickResponseStatus.h>
23namespace ConnectWisdomService {
46 template <
typename ChannelsT = Aws::Vector<Aws::String>>
48 m_channelsHasBeenSet =
true;
49 m_channels = std::forward<ChannelsT>(value);
51 template <
typename ChannelsT = Aws::Vector<Aws::String>>
56 template <
typename ChannelsT = Aws::String>
58 m_channelsHasBeenSet =
true;
59 m_channels.emplace_back(std::forward<ChannelsT>(value));
74 template <
typename ContentTypeT = Aws::String>
76 m_contentTypeHasBeenSet =
true;
77 m_contentType = std::forward<ContentTypeT>(value);
79 template <
typename ContentTypeT = Aws::String>
92 template <
typename CreatedTimeT = Aws::Utils::DateTime>
94 m_createdTimeHasBeenSet =
true;
95 m_createdTime = std::forward<CreatedTimeT>(value);
97 template <
typename CreatedTimeT = Aws::Utils::DateTime>
110 template <
typename DescriptionT = Aws::String>
112 m_descriptionHasBeenSet =
true;
113 m_description = std::forward<DescriptionT>(value);
115 template <
typename DescriptionT = Aws::String>
129 m_isActiveHasBeenSet =
true;
144 template <
typename KnowledgeBaseArnT = Aws::String>
146 m_knowledgeBaseArnHasBeenSet =
true;
147 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
149 template <
typename KnowledgeBaseArnT = Aws::String>
163 template <
typename KnowledgeBaseIdT = Aws::String>
165 m_knowledgeBaseIdHasBeenSet =
true;
166 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
168 template <
typename KnowledgeBaseIdT = Aws::String>
182 template <
typename LastModifiedByT = Aws::String>
184 m_lastModifiedByHasBeenSet =
true;
185 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
187 template <
typename LastModifiedByT = Aws::String>
200 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
202 m_lastModifiedTimeHasBeenSet =
true;
203 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
205 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
218 template <
typename NameT = Aws::String>
220 m_nameHasBeenSet =
true;
221 m_name = std::forward<NameT>(value);
223 template <
typename NameT = Aws::String>
225 SetName(std::forward<NameT>(value));
236 template <
typename QuickResponseArnT = Aws::String>
238 m_quickResponseArnHasBeenSet =
true;
239 m_quickResponseArn = std::forward<QuickResponseArnT>(value);
241 template <
typename QuickResponseArnT = Aws::String>
254 template <
typename QuickResponseIdT = Aws::String>
256 m_quickResponseIdHasBeenSet =
true;
257 m_quickResponseId = std::forward<QuickResponseIdT>(value);
259 template <
typename QuickResponseIdT = Aws::String>
273 m_statusHasBeenSet =
true;
288 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
290 m_tagsHasBeenSet =
true;
291 m_tags = std::forward<TagsT>(value);
293 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
295 SetTags(std::forward<TagsT>(value));
298 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
300 m_tagsHasBeenSet =
true;
301 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
314 bool m_isActive{
false};
333 bool m_channelsHasBeenSet =
false;
334 bool m_contentTypeHasBeenSet =
false;
335 bool m_createdTimeHasBeenSet =
false;
336 bool m_descriptionHasBeenSet =
false;
337 bool m_isActiveHasBeenSet =
false;
338 bool m_knowledgeBaseArnHasBeenSet =
false;
339 bool m_knowledgeBaseIdHasBeenSet =
false;
340 bool m_lastModifiedByHasBeenSet =
false;
341 bool m_lastModifiedTimeHasBeenSet =
false;
342 bool m_nameHasBeenSet =
false;
343 bool m_quickResponseArnHasBeenSet =
false;
344 bool m_quickResponseIdHasBeenSet =
false;
345 bool m_statusHasBeenSet =
false;
346 bool m_tagsHasBeenSet =
false;
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
QuickResponseSummary & WithContentType(ContentTypeT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::Vector< Aws::String > & GetChannels() const
bool TagsHasBeenSet() const
void SetQuickResponseArn(QuickResponseArnT &&value)
bool LastModifiedTimeHasBeenSet() const
bool NameHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
QuickResponseSummary & WithDescription(DescriptionT &&value)
bool ChannelsHasBeenSet() const
void SetQuickResponseId(QuickResponseIdT &&value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseSummary()=default
AWS_CONNECTWISDOMSERVICE_API QuickResponseSummary(Aws::Utils::Json::JsonView jsonValue)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::String & GetContentType() const
const Aws::String & GetKnowledgeBaseId() const
QuickResponseSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool IsActiveHasBeenSet() const
void SetContentType(ContentTypeT &&value)
QuickResponseSummary & WithQuickResponseId(QuickResponseIdT &&value)
QuickResponseSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
QuickResponseSummary & WithTags(TagsT &&value)
bool KnowledgeBaseArnHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API QuickResponseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
QuickResponseSummary & WithQuickResponseArn(QuickResponseArnT &&value)
QuickResponseStatus GetStatus() const
QuickResponseSummary & WithLastModifiedBy(LastModifiedByT &&value)
void SetIsActive(bool value)
const Aws::String & GetQuickResponseId() const
bool ContentTypeHasBeenSet() const
QuickResponseSummary & WithIsActive(bool value)
void SetLastModifiedBy(LastModifiedByT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
QuickResponseSummary & WithChannels(ChannelsT &&value)
QuickResponseSummary & AddChannels(ChannelsT &&value)
void SetCreatedTime(CreatedTimeT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetDescription() const
QuickResponseSummary & WithName(NameT &&value)
QuickResponseSummary & WithCreatedTime(CreatedTimeT &&value)
void SetChannels(ChannelsT &&value)
QuickResponseSummary & WithStatus(QuickResponseStatus value)
bool QuickResponseIdHasBeenSet() const
const Aws::String & GetKnowledgeBaseArn() const
bool LastModifiedByHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetQuickResponseArn() const
bool DescriptionHasBeenSet() const
void SetName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetName() const
QuickResponseSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
bool KnowledgeBaseIdHasBeenSet() const
bool CreatedTimeHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool QuickResponseArnHasBeenSet() const
bool StatusHasBeenSet() const
QuickResponseSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::String & GetLastModifiedBy() const
void SetStatus(QuickResponseStatus 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