AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateQuickResponseRequest.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qconnect/model/QuickResponseDataProvider.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/qconnect/model/GroupingConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace QConnect
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_QCONNECT_API UpdateQuickResponseRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateQuickResponse"; }
34
35 AWS_QCONNECT_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::Vector<Aws::String>& GetChannels() const{ return m_channels; }
44 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
45 inline void SetChannels(const Aws::Vector<Aws::String>& value) { m_channelsHasBeenSet = true; m_channels = value; }
46 inline void SetChannels(Aws::Vector<Aws::String>&& value) { m_channelsHasBeenSet = true; m_channels = std::move(value); }
47 inline UpdateQuickResponseRequest& WithChannels(const Aws::Vector<Aws::String>& value) { SetChannels(value); return *this;}
48 inline UpdateQuickResponseRequest& WithChannels(Aws::Vector<Aws::String>&& value) { SetChannels(std::move(value)); return *this;}
49 inline UpdateQuickResponseRequest& AddChannels(const Aws::String& value) { m_channelsHasBeenSet = true; m_channels.push_back(value); return *this; }
50 inline UpdateQuickResponseRequest& AddChannels(Aws::String&& value) { m_channelsHasBeenSet = true; m_channels.push_back(std::move(value)); return *this; }
51 inline UpdateQuickResponseRequest& AddChannels(const char* value) { m_channelsHasBeenSet = true; m_channels.push_back(value); return *this; }
53
55
58 inline const QuickResponseDataProvider& GetContent() const{ return m_content; }
59 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
60 inline void SetContent(const QuickResponseDataProvider& value) { m_contentHasBeenSet = true; m_content = value; }
61 inline void SetContent(QuickResponseDataProvider&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
62 inline UpdateQuickResponseRequest& WithContent(const QuickResponseDataProvider& value) { SetContent(value); return *this;}
63 inline UpdateQuickResponseRequest& WithContent(QuickResponseDataProvider&& value) { SetContent(std::move(value)); return *this;}
65
67
74 inline const Aws::String& GetContentType() const{ return m_contentType; }
75 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
76 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
77 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
78 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
79 inline UpdateQuickResponseRequest& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
80 inline UpdateQuickResponseRequest& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
81 inline UpdateQuickResponseRequest& WithContentType(const char* value) { SetContentType(value); return *this;}
83
85
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline UpdateQuickResponseRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline UpdateQuickResponseRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline UpdateQuickResponseRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
97
99
102 inline const GroupingConfiguration& GetGroupingConfiguration() const{ return m_groupingConfiguration; }
103 inline bool GroupingConfigurationHasBeenSet() const { return m_groupingConfigurationHasBeenSet; }
104 inline void SetGroupingConfiguration(const GroupingConfiguration& value) { m_groupingConfigurationHasBeenSet = true; m_groupingConfiguration = value; }
105 inline void SetGroupingConfiguration(GroupingConfiguration&& value) { m_groupingConfigurationHasBeenSet = true; m_groupingConfiguration = std::move(value); }
109
111
114 inline bool GetIsActive() const{ return m_isActive; }
115 inline bool IsActiveHasBeenSet() const { return m_isActiveHasBeenSet; }
116 inline void SetIsActive(bool value) { m_isActiveHasBeenSet = true; m_isActive = value; }
117 inline UpdateQuickResponseRequest& WithIsActive(bool value) { SetIsActive(value); return *this;}
119
121
125 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
126 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
127 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
128 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
129 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
131 inline UpdateQuickResponseRequest& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
132 inline UpdateQuickResponseRequest& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
134
136
143 inline const Aws::String& GetLanguage() const{ return m_language; }
144 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
145 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
146 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
147 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
148 inline UpdateQuickResponseRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
149 inline UpdateQuickResponseRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
150 inline UpdateQuickResponseRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;}
152
154
157 inline const Aws::String& GetName() const{ return m_name; }
158 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
159 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
160 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
161 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
162 inline UpdateQuickResponseRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
163 inline UpdateQuickResponseRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
164 inline UpdateQuickResponseRequest& WithName(const char* value) { SetName(value); return *this;}
166
168
171 inline const Aws::String& GetQuickResponseId() const{ return m_quickResponseId; }
172 inline bool QuickResponseIdHasBeenSet() const { return m_quickResponseIdHasBeenSet; }
173 inline void SetQuickResponseId(const Aws::String& value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId = value; }
174 inline void SetQuickResponseId(Aws::String&& value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId = std::move(value); }
175 inline void SetQuickResponseId(const char* value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId.assign(value); }
177 inline UpdateQuickResponseRequest& WithQuickResponseId(Aws::String&& value) { SetQuickResponseId(std::move(value)); return *this;}
178 inline UpdateQuickResponseRequest& WithQuickResponseId(const char* value) { SetQuickResponseId(value); return *this;}
180
182
185 inline bool GetRemoveDescription() const{ return m_removeDescription; }
186 inline bool RemoveDescriptionHasBeenSet() const { return m_removeDescriptionHasBeenSet; }
187 inline void SetRemoveDescription(bool value) { m_removeDescriptionHasBeenSet = true; m_removeDescription = value; }
188 inline UpdateQuickResponseRequest& WithRemoveDescription(bool value) { SetRemoveDescription(value); return *this;}
190
192
195 inline bool GetRemoveGroupingConfiguration() const{ return m_removeGroupingConfiguration; }
196 inline bool RemoveGroupingConfigurationHasBeenSet() const { return m_removeGroupingConfigurationHasBeenSet; }
197 inline void SetRemoveGroupingConfiguration(bool value) { m_removeGroupingConfigurationHasBeenSet = true; m_removeGroupingConfiguration = value; }
200
202
205 inline bool GetRemoveShortcutKey() const{ return m_removeShortcutKey; }
206 inline bool RemoveShortcutKeyHasBeenSet() const { return m_removeShortcutKeyHasBeenSet; }
207 inline void SetRemoveShortcutKey(bool value) { m_removeShortcutKeyHasBeenSet = true; m_removeShortcutKey = value; }
208 inline UpdateQuickResponseRequest& WithRemoveShortcutKey(bool value) { SetRemoveShortcutKey(value); return *this;}
210
212
216 inline const Aws::String& GetShortcutKey() const{ return m_shortcutKey; }
217 inline bool ShortcutKeyHasBeenSet() const { return m_shortcutKeyHasBeenSet; }
218 inline void SetShortcutKey(const Aws::String& value) { m_shortcutKeyHasBeenSet = true; m_shortcutKey = value; }
219 inline void SetShortcutKey(Aws::String&& value) { m_shortcutKeyHasBeenSet = true; m_shortcutKey = std::move(value); }
220 inline void SetShortcutKey(const char* value) { m_shortcutKeyHasBeenSet = true; m_shortcutKey.assign(value); }
221 inline UpdateQuickResponseRequest& WithShortcutKey(const Aws::String& value) { SetShortcutKey(value); return *this;}
222 inline UpdateQuickResponseRequest& WithShortcutKey(Aws::String&& value) { SetShortcutKey(std::move(value)); return *this;}
223 inline UpdateQuickResponseRequest& WithShortcutKey(const char* value) { SetShortcutKey(value); return *this;}
225 private:
226
227 Aws::Vector<Aws::String> m_channels;
228 bool m_channelsHasBeenSet = false;
229
231 bool m_contentHasBeenSet = false;
232
233 Aws::String m_contentType;
234 bool m_contentTypeHasBeenSet = false;
235
236 Aws::String m_description;
237 bool m_descriptionHasBeenSet = false;
238
239 GroupingConfiguration m_groupingConfiguration;
240 bool m_groupingConfigurationHasBeenSet = false;
241
242 bool m_isActive;
243 bool m_isActiveHasBeenSet = false;
244
245 Aws::String m_knowledgeBaseId;
246 bool m_knowledgeBaseIdHasBeenSet = false;
247
248 Aws::String m_language;
249 bool m_languageHasBeenSet = false;
250
251 Aws::String m_name;
252 bool m_nameHasBeenSet = false;
253
254 Aws::String m_quickResponseId;
255 bool m_quickResponseIdHasBeenSet = false;
256
257 bool m_removeDescription;
258 bool m_removeDescriptionHasBeenSet = false;
259
260 bool m_removeGroupingConfiguration;
261 bool m_removeGroupingConfigurationHasBeenSet = false;
262
263 bool m_removeShortcutKey;
264 bool m_removeShortcutKeyHasBeenSet = false;
265
266 Aws::String m_shortcutKey;
267 bool m_shortcutKeyHasBeenSet = false;
268 };
269
270} // namespace Model
271} // namespace QConnect
272} // namespace Aws
UpdateQuickResponseRequest & WithLanguage(const char *value)
UpdateQuickResponseRequest & WithQuickResponseId(const char *value)
UpdateQuickResponseRequest & AddChannels(Aws::String &&value)
UpdateQuickResponseRequest & WithGroupingConfiguration(GroupingConfiguration &&value)
UpdateQuickResponseRequest & WithContent(const QuickResponseDataProvider &value)
const Aws::Vector< Aws::String > & GetChannels() const
void SetGroupingConfiguration(const GroupingConfiguration &value)
UpdateQuickResponseRequest & WithRemoveGroupingConfiguration(bool value)
UpdateQuickResponseRequest & WithQuickResponseId(const Aws::String &value)
const QuickResponseDataProvider & GetContent() const
UpdateQuickResponseRequest & WithKnowledgeBaseId(const char *value)
UpdateQuickResponseRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateQuickResponseRequest & WithChannels(const Aws::Vector< Aws::String > &value)
UpdateQuickResponseRequest & WithGroupingConfiguration(const GroupingConfiguration &value)
UpdateQuickResponseRequest & WithContentType(Aws::String &&value)
UpdateQuickResponseRequest & WithContentType(const char *value)
UpdateQuickResponseRequest & WithKnowledgeBaseId(Aws::String &&value)
void SetChannels(Aws::Vector< Aws::String > &&value)
UpdateQuickResponseRequest & AddChannels(const Aws::String &value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
UpdateQuickResponseRequest & WithName(const Aws::String &value)
UpdateQuickResponseRequest & WithQuickResponseId(Aws::String &&value)
UpdateQuickResponseRequest & WithDescription(const char *value)
UpdateQuickResponseRequest & AddChannels(const char *value)
UpdateQuickResponseRequest & WithName(Aws::String &&value)
UpdateQuickResponseRequest & WithShortcutKey(Aws::String &&value)
UpdateQuickResponseRequest & WithDescription(Aws::String &&value)
UpdateQuickResponseRequest & WithLanguage(Aws::String &&value)
UpdateQuickResponseRequest & WithContent(QuickResponseDataProvider &&value)
UpdateQuickResponseRequest & WithShortcutKey(const Aws::String &value)
UpdateQuickResponseRequest & WithContentType(const Aws::String &value)
UpdateQuickResponseRequest & WithKnowledgeBaseId(const Aws::String &value)
UpdateQuickResponseRequest & WithIsActive(bool value)
void SetChannels(const Aws::Vector< Aws::String > &value)
void SetContent(QuickResponseDataProvider &&value)
UpdateQuickResponseRequest & WithChannels(Aws::Vector< Aws::String > &&value)
UpdateQuickResponseRequest & WithShortcutKey(const char *value)
void SetGroupingConfiguration(GroupingConfiguration &&value)
void SetContent(const QuickResponseDataProvider &value)
UpdateQuickResponseRequest & WithRemoveShortcutKey(bool value)
UpdateQuickResponseRequest & WithLanguage(const Aws::String &value)
const GroupingConfiguration & GetGroupingConfiguration() const
UpdateQuickResponseRequest & WithRemoveDescription(bool value)
UpdateQuickResponseRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector