AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuickResponseSummary.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ConnectWisdomService
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CONNECTWISDOMSERVICE_API QuickResponseSummary();
40 AWS_CONNECTWISDOMSERVICE_API QuickResponseSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECTWISDOMSERVICE_API QuickResponseSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<Aws::String>& GetChannels() const{ return m_channels; }
51 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
52 inline void SetChannels(const Aws::Vector<Aws::String>& value) { m_channelsHasBeenSet = true; m_channels = value; }
53 inline void SetChannels(Aws::Vector<Aws::String>&& value) { m_channelsHasBeenSet = true; m_channels = std::move(value); }
54 inline QuickResponseSummary& WithChannels(const Aws::Vector<Aws::String>& value) { SetChannels(value); return *this;}
55 inline QuickResponseSummary& WithChannels(Aws::Vector<Aws::String>&& value) { SetChannels(std::move(value)); return *this;}
56 inline QuickResponseSummary& AddChannels(const Aws::String& value) { m_channelsHasBeenSet = true; m_channels.push_back(value); return *this; }
57 inline QuickResponseSummary& AddChannels(Aws::String&& value) { m_channelsHasBeenSet = true; m_channels.push_back(std::move(value)); return *this; }
58 inline QuickResponseSummary& AddChannels(const char* value) { m_channelsHasBeenSet = true; m_channels.push_back(value); return *this; }
60
62
69 inline const Aws::String& GetContentType() const{ return m_contentType; }
70 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
71 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
72 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
73 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
74 inline QuickResponseSummary& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
75 inline QuickResponseSummary& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
76 inline QuickResponseSummary& WithContentType(const char* value) { SetContentType(value); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
84 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
85 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
86 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
87 inline QuickResponseSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
88 inline QuickResponseSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
90
92
95 inline const Aws::String& GetDescription() const{ return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
98 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
99 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
100 inline QuickResponseSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
101 inline QuickResponseSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
102 inline QuickResponseSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
104
106
109 inline bool GetIsActive() const{ return m_isActive; }
110 inline bool IsActiveHasBeenSet() const { return m_isActiveHasBeenSet; }
111 inline void SetIsActive(bool value) { m_isActiveHasBeenSet = true; m_isActive = value; }
112 inline QuickResponseSummary& WithIsActive(bool value) { SetIsActive(value); return *this;}
114
116
119 inline const Aws::String& GetKnowledgeBaseArn() const{ return m_knowledgeBaseArn; }
120 inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; }
121 inline void SetKnowledgeBaseArn(const Aws::String& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = value; }
122 inline void SetKnowledgeBaseArn(Aws::String&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::move(value); }
123 inline void SetKnowledgeBaseArn(const char* value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn.assign(value); }
124 inline QuickResponseSummary& WithKnowledgeBaseArn(const Aws::String& value) { SetKnowledgeBaseArn(value); return *this;}
125 inline QuickResponseSummary& WithKnowledgeBaseArn(Aws::String&& value) { SetKnowledgeBaseArn(std::move(value)); return *this;}
126 inline QuickResponseSummary& WithKnowledgeBaseArn(const char* value) { SetKnowledgeBaseArn(value); return *this;}
128
130
134 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
135 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
136 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
137 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
138 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
139 inline QuickResponseSummary& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
140 inline QuickResponseSummary& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
141 inline QuickResponseSummary& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
143
145
149 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
150 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
151 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
152 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
153 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
154 inline QuickResponseSummary& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
155 inline QuickResponseSummary& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
156 inline QuickResponseSummary& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
158
160
163 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
164 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
165 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
166 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
168 inline QuickResponseSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
170
172
175 inline const Aws::String& GetName() const{ return m_name; }
176 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
177 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
178 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
179 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
180 inline QuickResponseSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
181 inline QuickResponseSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
182 inline QuickResponseSummary& WithName(const char* value) { SetName(value); return *this;}
184
186
189 inline const Aws::String& GetQuickResponseArn() const{ return m_quickResponseArn; }
190 inline bool QuickResponseArnHasBeenSet() const { return m_quickResponseArnHasBeenSet; }
191 inline void SetQuickResponseArn(const Aws::String& value) { m_quickResponseArnHasBeenSet = true; m_quickResponseArn = value; }
192 inline void SetQuickResponseArn(Aws::String&& value) { m_quickResponseArnHasBeenSet = true; m_quickResponseArn = std::move(value); }
193 inline void SetQuickResponseArn(const char* value) { m_quickResponseArnHasBeenSet = true; m_quickResponseArn.assign(value); }
194 inline QuickResponseSummary& WithQuickResponseArn(const Aws::String& value) { SetQuickResponseArn(value); return *this;}
195 inline QuickResponseSummary& WithQuickResponseArn(Aws::String&& value) { SetQuickResponseArn(std::move(value)); return *this;}
196 inline QuickResponseSummary& WithQuickResponseArn(const char* value) { SetQuickResponseArn(value); return *this;}
198
200
203 inline const Aws::String& GetQuickResponseId() const{ return m_quickResponseId; }
204 inline bool QuickResponseIdHasBeenSet() const { return m_quickResponseIdHasBeenSet; }
205 inline void SetQuickResponseId(const Aws::String& value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId = value; }
206 inline void SetQuickResponseId(Aws::String&& value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId = std::move(value); }
207 inline void SetQuickResponseId(const char* value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId.assign(value); }
208 inline QuickResponseSummary& WithQuickResponseId(const Aws::String& value) { SetQuickResponseId(value); return *this;}
209 inline QuickResponseSummary& WithQuickResponseId(Aws::String&& value) { SetQuickResponseId(std::move(value)); return *this;}
210 inline QuickResponseSummary& WithQuickResponseId(const char* value) { SetQuickResponseId(value); return *this;}
212
214
217 inline const QuickResponseStatus& GetStatus() const{ return m_status; }
218 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
219 inline void SetStatus(const QuickResponseStatus& value) { m_statusHasBeenSet = true; m_status = value; }
220 inline void SetStatus(QuickResponseStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
221 inline QuickResponseSummary& WithStatus(const QuickResponseStatus& value) { SetStatus(value); return *this;}
222 inline QuickResponseSummary& WithStatus(QuickResponseStatus&& value) { SetStatus(std::move(value)); return *this;}
224
226
229 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
230 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
231 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
232 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
233 inline QuickResponseSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
234 inline QuickResponseSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
235 inline QuickResponseSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
236 inline QuickResponseSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
237 inline QuickResponseSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
238 inline QuickResponseSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
239 inline QuickResponseSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
240 inline QuickResponseSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
241 inline QuickResponseSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
243 private:
244
245 Aws::Vector<Aws::String> m_channels;
246 bool m_channelsHasBeenSet = false;
247
248 Aws::String m_contentType;
249 bool m_contentTypeHasBeenSet = false;
250
251 Aws::Utils::DateTime m_createdTime;
252 bool m_createdTimeHasBeenSet = false;
253
254 Aws::String m_description;
255 bool m_descriptionHasBeenSet = false;
256
257 bool m_isActive;
258 bool m_isActiveHasBeenSet = false;
259
260 Aws::String m_knowledgeBaseArn;
261 bool m_knowledgeBaseArnHasBeenSet = false;
262
263 Aws::String m_knowledgeBaseId;
264 bool m_knowledgeBaseIdHasBeenSet = false;
265
266 Aws::String m_lastModifiedBy;
267 bool m_lastModifiedByHasBeenSet = false;
268
269 Aws::Utils::DateTime m_lastModifiedTime;
270 bool m_lastModifiedTimeHasBeenSet = false;
271
272 Aws::String m_name;
273 bool m_nameHasBeenSet = false;
274
275 Aws::String m_quickResponseArn;
276 bool m_quickResponseArnHasBeenSet = false;
277
278 Aws::String m_quickResponseId;
279 bool m_quickResponseIdHasBeenSet = false;
280
281 QuickResponseStatus m_status;
282 bool m_statusHasBeenSet = false;
283
285 bool m_tagsHasBeenSet = false;
286 };
287
288} // namespace Model
289} // namespace ConnectWisdomService
290} // namespace Aws
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
QuickResponseSummary & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetChannels() const
QuickResponseSummary & WithDescription(const Aws::String &value)
QuickResponseSummary & WithName(const char *value)
QuickResponseSummary & WithQuickResponseArn(Aws::String &&value)
QuickResponseSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
QuickResponseSummary & WithKnowledgeBaseId(const Aws::String &value)
QuickResponseSummary & WithKnowledgeBaseId(const char *value)
QuickResponseSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
QuickResponseSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
QuickResponseSummary & AddTags(Aws::String &&key, Aws::String &&value)
QuickResponseSummary & WithQuickResponseArn(const Aws::String &value)
QuickResponseSummary & WithContentType(const Aws::String &value)
QuickResponseSummary & WithChannels(const Aws::Vector< Aws::String > &value)
void SetChannels(Aws::Vector< Aws::String > &&value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseSummary(Aws::Utils::Json::JsonView jsonValue)
QuickResponseSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
QuickResponseSummary & AddTags(const Aws::String &key, Aws::String &&value)
QuickResponseSummary & WithQuickResponseId(const char *value)
QuickResponseSummary & WithQuickResponseArn(const char *value)
QuickResponseSummary & WithQuickResponseId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
QuickResponseSummary & WithKnowledgeBaseArn(const char *value)
QuickResponseSummary & WithKnowledgeBaseId(Aws::String &&value)
QuickResponseSummary & AddChannels(const char *value)
QuickResponseSummary & WithContentType(Aws::String &&value)
QuickResponseSummary & AddTags(const char *key, const char *value)
QuickResponseSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
QuickResponseSummary & AddChannels(const Aws::String &value)
QuickResponseSummary & WithLastModifiedBy(const char *value)
QuickResponseSummary & WithDescription(const char *value)
QuickResponseSummary & WithKnowledgeBaseArn(Aws::String &&value)
QuickResponseSummary & AddTags(const Aws::String &key, const Aws::String &value)
QuickResponseSummary & WithStatus(QuickResponseStatus &&value)
QuickResponseSummary & WithChannels(Aws::Vector< Aws::String > &&value)
QuickResponseSummary & AddTags(Aws::String &&key, const char *value)
QuickResponseSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetChannels(const Aws::Vector< Aws::String > &value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseSummary()
QuickResponseSummary & AddTags(const char *key, Aws::String &&value)
QuickResponseSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
QuickResponseSummary & WithLastModifiedBy(Aws::String &&value)
QuickResponseSummary & WithLastModifiedBy(const Aws::String &value)
QuickResponseSummary & WithKnowledgeBaseArn(const Aws::String &value)
QuickResponseSummary & WithQuickResponseId(Aws::String &&value)
QuickResponseSummary & WithContentType(const char *value)
QuickResponseSummary & WithName(const Aws::String &value)
QuickResponseSummary & AddChannels(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
QuickResponseSummary & WithDescription(Aws::String &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
QuickResponseSummary & WithStatus(const 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