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/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/core/utils/DateTime.h>
11#include <aws/qconnect/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 QConnect
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_QCONNECT_API QuickResponseSummary();
42 AWS_QCONNECT_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
133 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
134 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
135 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
136 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
137 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
138 inline QuickResponseSummary& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
139 inline QuickResponseSummary& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
140 inline QuickResponseSummary& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
142
144
148 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
149 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
150 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
151 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
152 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
153 inline QuickResponseSummary& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
154 inline QuickResponseSummary& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
155 inline QuickResponseSummary& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
157
159
162 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
163 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
164 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
165 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
167 inline QuickResponseSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
169
171
174 inline const Aws::String& GetName() const{ return m_name; }
175 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
176 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
177 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
178 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
179 inline QuickResponseSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
180 inline QuickResponseSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
181 inline QuickResponseSummary& WithName(const char* value) { SetName(value); return *this;}
183
185
188 inline const Aws::String& GetQuickResponseArn() const{ return m_quickResponseArn; }
189 inline bool QuickResponseArnHasBeenSet() const { return m_quickResponseArnHasBeenSet; }
190 inline void SetQuickResponseArn(const Aws::String& value) { m_quickResponseArnHasBeenSet = true; m_quickResponseArn = value; }
191 inline void SetQuickResponseArn(Aws::String&& value) { m_quickResponseArnHasBeenSet = true; m_quickResponseArn = std::move(value); }
192 inline void SetQuickResponseArn(const char* value) { m_quickResponseArnHasBeenSet = true; m_quickResponseArn.assign(value); }
193 inline QuickResponseSummary& WithQuickResponseArn(const Aws::String& value) { SetQuickResponseArn(value); return *this;}
194 inline QuickResponseSummary& WithQuickResponseArn(Aws::String&& value) { SetQuickResponseArn(std::move(value)); return *this;}
195 inline QuickResponseSummary& WithQuickResponseArn(const char* value) { SetQuickResponseArn(value); return *this;}
197
199
202 inline const Aws::String& GetQuickResponseId() const{ return m_quickResponseId; }
203 inline bool QuickResponseIdHasBeenSet() const { return m_quickResponseIdHasBeenSet; }
204 inline void SetQuickResponseId(const Aws::String& value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId = value; }
205 inline void SetQuickResponseId(Aws::String&& value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId = std::move(value); }
206 inline void SetQuickResponseId(const char* value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId.assign(value); }
207 inline QuickResponseSummary& WithQuickResponseId(const Aws::String& value) { SetQuickResponseId(value); return *this;}
208 inline QuickResponseSummary& WithQuickResponseId(Aws::String&& value) { SetQuickResponseId(std::move(value)); return *this;}
209 inline QuickResponseSummary& WithQuickResponseId(const char* value) { SetQuickResponseId(value); return *this;}
211
213
216 inline const QuickResponseStatus& GetStatus() const{ return m_status; }
217 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
218 inline void SetStatus(const QuickResponseStatus& value) { m_statusHasBeenSet = true; m_status = value; }
219 inline void SetStatus(QuickResponseStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
220 inline QuickResponseSummary& WithStatus(const QuickResponseStatus& value) { SetStatus(value); return *this;}
221 inline QuickResponseSummary& WithStatus(QuickResponseStatus&& value) { SetStatus(std::move(value)); return *this;}
223
225
228 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
229 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
230 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
231 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
232 inline QuickResponseSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
233 inline QuickResponseSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
234 inline QuickResponseSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
235 inline QuickResponseSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
236 inline QuickResponseSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
237 inline QuickResponseSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
238 inline QuickResponseSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
239 inline QuickResponseSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
240 inline QuickResponseSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
242 private:
243
244 Aws::Vector<Aws::String> m_channels;
245 bool m_channelsHasBeenSet = false;
246
247 Aws::String m_contentType;
248 bool m_contentTypeHasBeenSet = false;
249
250 Aws::Utils::DateTime m_createdTime;
251 bool m_createdTimeHasBeenSet = false;
252
253 Aws::String m_description;
254 bool m_descriptionHasBeenSet = false;
255
256 bool m_isActive;
257 bool m_isActiveHasBeenSet = false;
258
259 Aws::String m_knowledgeBaseArn;
260 bool m_knowledgeBaseArnHasBeenSet = false;
261
262 Aws::String m_knowledgeBaseId;
263 bool m_knowledgeBaseIdHasBeenSet = false;
264
265 Aws::String m_lastModifiedBy;
266 bool m_lastModifiedByHasBeenSet = false;
267
268 Aws::Utils::DateTime m_lastModifiedTime;
269 bool m_lastModifiedTimeHasBeenSet = false;
270
271 Aws::String m_name;
272 bool m_nameHasBeenSet = false;
273
274 Aws::String m_quickResponseArn;
275 bool m_quickResponseArnHasBeenSet = false;
276
277 Aws::String m_quickResponseId;
278 bool m_quickResponseIdHasBeenSet = false;
279
280 QuickResponseStatus m_status;
281 bool m_statusHasBeenSet = false;
282
284 bool m_tagsHasBeenSet = false;
285 };
286
287} // namespace Model
288} // namespace QConnect
289} // namespace Aws
void SetStatus(const QuickResponseStatus &value)
QuickResponseSummary & WithContentType(const Aws::String &value)
QuickResponseSummary & WithContentType(Aws::String &&value)
QuickResponseSummary & WithStatus(QuickResponseStatus &&value)
QuickResponseSummary & WithQuickResponseArn(const char *value)
QuickResponseSummary & AddTags(Aws::String &&key, const Aws::String &value)
QuickResponseSummary & WithQuickResponseId(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_QCONNECT_API QuickResponseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
QuickResponseSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
QuickResponseSummary & WithQuickResponseId(Aws::String &&value)
QuickResponseSummary & WithName(const char *value)
QuickResponseSummary & AddTags(Aws::String &&key, const char *value)
void SetChannels(const Aws::Vector< Aws::String > &value)
QuickResponseSummary & WithLastModifiedBy(const Aws::String &value)
QuickResponseSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const QuickResponseStatus & GetStatus() const
QuickResponseSummary & WithQuickResponseId(const Aws::String &value)
void SetContentType(const Aws::String &value)
QuickResponseSummary & AddChannels(Aws::String &&value)
QuickResponseSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
QuickResponseSummary & WithKnowledgeBaseArn(const Aws::String &value)
QuickResponseSummary & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
QuickResponseSummary & WithKnowledgeBaseArn(const char *value)
void SetQuickResponseId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
QuickResponseSummary & AddTags(const Aws::String &key, Aws::String &&value)
QuickResponseSummary & WithKnowledgeBaseId(const Aws::String &value)
void SetKnowledgeBaseId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
QuickResponseSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
QuickResponseSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
QuickResponseSummary & WithQuickResponseArn(const Aws::String &value)
QuickResponseSummary & AddTags(const Aws::String &key, const Aws::String &value)
QuickResponseSummary & WithLastModifiedBy(const char *value)
void SetLastModifiedBy(const Aws::String &value)
void SetKnowledgeBaseArn(const Aws::String &value)
QuickResponseSummary & WithChannels(Aws::Vector< Aws::String > &&value)
QuickResponseSummary & AddTags(const char *key, const char *value)
QuickResponseSummary & WithLastModifiedBy(Aws::String &&value)
QuickResponseSummary & AddChannels(const char *value)
QuickResponseSummary & AddTags(const char *key, Aws::String &&value)
void SetChannels(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetChannels() const
QuickResponseSummary & WithDescription(Aws::String &&value)
QuickResponseSummary & AddChannels(const Aws::String &value)
QuickResponseSummary & AddTags(Aws::String &&key, Aws::String &&value)
QuickResponseSummary & WithIsActive(bool value)
QuickResponseSummary & WithQuickResponseArn(Aws::String &&value)
QuickResponseSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
QuickResponseSummary & WithChannels(const Aws::Vector< Aws::String > &value)
void SetQuickResponseArn(const Aws::String &value)
QuickResponseSummary & WithContentType(const char *value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
QuickResponseSummary & WithDescription(const Aws::String &value)
QuickResponseSummary & WithKnowledgeBaseId(const char *value)
QuickResponseSummary & WithStatus(const QuickResponseStatus &value)
QuickResponseSummary & WithKnowledgeBaseId(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetStatus(QuickResponseStatus &&value)
QuickResponseSummary & WithKnowledgeBaseArn(Aws::String &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
QuickResponseSummary & WithDescription(const char *value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
AWS_QCONNECT_API QuickResponseSummary(Aws::Utils::Json::JsonView jsonValue)
QuickResponseSummary & WithName(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&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