7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/wisdom/model/QuickResponseStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
25namespace ConnectWisdomService
52 template<
typename ChannelsT = Aws::Vector<Aws::String>>
53 void SetChannels(ChannelsT&& value) { m_channelsHasBeenSet =
true; m_channels = std::forward<ChannelsT>(value); }
54 template<
typename ChannelsT = Aws::Vector<Aws::String>>
56 template<
typename ChannelsT = Aws::String>
70 template<
typename ContentTypeT = Aws::String>
71 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
72 template<
typename ContentTypeT = Aws::String>
82 template<
typename CreatedTimeT = Aws::Utils::DateTime>
83 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
84 template<
typename CreatedTimeT = Aws::Utils::DateTime>
94 template<
typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
96 template<
typename DescriptionT = Aws::String>
106 inline void SetIsActive(
bool value) { m_isActiveHasBeenSet =
true; m_isActive = value; }
116 template<
typename KnowledgeBaseArnT = Aws::String>
117 void SetKnowledgeBaseArn(KnowledgeBaseArnT&& value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value); }
118 template<
typename KnowledgeBaseArnT = Aws::String>
129 template<
typename KnowledgeBaseIdT = Aws::String>
130 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
131 template<
typename KnowledgeBaseIdT = Aws::String>
142 template<
typename LastModifiedByT = Aws::String>
143 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
144 template<
typename LastModifiedByT = Aws::String>
154 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
155 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
156 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
166 template<
typename NameT = Aws::String>
167 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
168 template<
typename NameT = Aws::String>
178 template<
typename QuickResponseArnT = Aws::String>
179 void SetQuickResponseArn(QuickResponseArnT&& value) { m_quickResponseArnHasBeenSet =
true; m_quickResponseArn = std::forward<QuickResponseArnT>(value); }
180 template<
typename QuickResponseArnT = Aws::String>
190 template<
typename QuickResponseIdT = Aws::String>
191 void SetQuickResponseId(QuickResponseIdT&& value) { m_quickResponseIdHasBeenSet =
true; m_quickResponseId = std::forward<QuickResponseIdT>(value); }
192 template<
typename QuickResponseIdT = Aws::String>
212 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
213 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
214 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
216 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
218 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
224 bool m_channelsHasBeenSet =
false;
227 bool m_contentTypeHasBeenSet =
false;
230 bool m_createdTimeHasBeenSet =
false;
233 bool m_descriptionHasBeenSet =
false;
235 bool m_isActive{
false};
236 bool m_isActiveHasBeenSet =
false;
239 bool m_knowledgeBaseArnHasBeenSet =
false;
242 bool m_knowledgeBaseIdHasBeenSet =
false;
245 bool m_lastModifiedByHasBeenSet =
false;
248 bool m_lastModifiedTimeHasBeenSet =
false;
251 bool m_nameHasBeenSet =
false;
254 bool m_quickResponseArnHasBeenSet =
false;
257 bool m_quickResponseIdHasBeenSet =
false;
260 bool m_statusHasBeenSet =
false;
263 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