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/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/ConnectWisdomServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wisdom/model/QuickResponseDataProvider.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/wisdom/model/GroupingConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ConnectWisdomService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CONNECTWISDOMSERVICE_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_CONNECTWISDOMSERVICE_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
126 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
127 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
128 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
129 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
130 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
132 inline UpdateQuickResponseRequest& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
133 inline UpdateQuickResponseRequest& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
135
137
144 inline const Aws::String& GetLanguage() const{ return m_language; }
145 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
146 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
147 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
148 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
149 inline UpdateQuickResponseRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
150 inline UpdateQuickResponseRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
151 inline UpdateQuickResponseRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;}
153
155
158 inline const Aws::String& GetName() const{ return m_name; }
159 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
160 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
161 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
162 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
163 inline UpdateQuickResponseRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
164 inline UpdateQuickResponseRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
165 inline UpdateQuickResponseRequest& WithName(const char* value) { SetName(value); return *this;}
167
169
172 inline const Aws::String& GetQuickResponseId() const{ return m_quickResponseId; }
173 inline bool QuickResponseIdHasBeenSet() const { return m_quickResponseIdHasBeenSet; }
174 inline void SetQuickResponseId(const Aws::String& value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId = value; }
175 inline void SetQuickResponseId(Aws::String&& value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId = std::move(value); }
176 inline void SetQuickResponseId(const char* value) { m_quickResponseIdHasBeenSet = true; m_quickResponseId.assign(value); }
178 inline UpdateQuickResponseRequest& WithQuickResponseId(Aws::String&& value) { SetQuickResponseId(std::move(value)); return *this;}
179 inline UpdateQuickResponseRequest& WithQuickResponseId(const char* value) { SetQuickResponseId(value); return *this;}
181
183
186 inline bool GetRemoveDescription() const{ return m_removeDescription; }
187 inline bool RemoveDescriptionHasBeenSet() const { return m_removeDescriptionHasBeenSet; }
188 inline void SetRemoveDescription(bool value) { m_removeDescriptionHasBeenSet = true; m_removeDescription = value; }
189 inline UpdateQuickResponseRequest& WithRemoveDescription(bool value) { SetRemoveDescription(value); return *this;}
191
193
196 inline bool GetRemoveGroupingConfiguration() const{ return m_removeGroupingConfiguration; }
197 inline bool RemoveGroupingConfigurationHasBeenSet() const { return m_removeGroupingConfigurationHasBeenSet; }
198 inline void SetRemoveGroupingConfiguration(bool value) { m_removeGroupingConfigurationHasBeenSet = true; m_removeGroupingConfiguration = value; }
201
203
206 inline bool GetRemoveShortcutKey() const{ return m_removeShortcutKey; }
207 inline bool RemoveShortcutKeyHasBeenSet() const { return m_removeShortcutKeyHasBeenSet; }
208 inline void SetRemoveShortcutKey(bool value) { m_removeShortcutKeyHasBeenSet = true; m_removeShortcutKey = value; }
209 inline UpdateQuickResponseRequest& WithRemoveShortcutKey(bool value) { SetRemoveShortcutKey(value); return *this;}
211
213
217 inline const Aws::String& GetShortcutKey() const{ return m_shortcutKey; }
218 inline bool ShortcutKeyHasBeenSet() const { return m_shortcutKeyHasBeenSet; }
219 inline void SetShortcutKey(const Aws::String& value) { m_shortcutKeyHasBeenSet = true; m_shortcutKey = value; }
220 inline void SetShortcutKey(Aws::String&& value) { m_shortcutKeyHasBeenSet = true; m_shortcutKey = std::move(value); }
221 inline void SetShortcutKey(const char* value) { m_shortcutKeyHasBeenSet = true; m_shortcutKey.assign(value); }
222 inline UpdateQuickResponseRequest& WithShortcutKey(const Aws::String& value) { SetShortcutKey(value); return *this;}
223 inline UpdateQuickResponseRequest& WithShortcutKey(Aws::String&& value) { SetShortcutKey(std::move(value)); return *this;}
224 inline UpdateQuickResponseRequest& WithShortcutKey(const char* value) { SetShortcutKey(value); return *this;}
226 private:
227
228 Aws::Vector<Aws::String> m_channels;
229 bool m_channelsHasBeenSet = false;
230
232 bool m_contentHasBeenSet = false;
233
234 Aws::String m_contentType;
235 bool m_contentTypeHasBeenSet = false;
236
237 Aws::String m_description;
238 bool m_descriptionHasBeenSet = false;
239
240 GroupingConfiguration m_groupingConfiguration;
241 bool m_groupingConfigurationHasBeenSet = false;
242
243 bool m_isActive;
244 bool m_isActiveHasBeenSet = false;
245
246 Aws::String m_knowledgeBaseId;
247 bool m_knowledgeBaseIdHasBeenSet = false;
248
249 Aws::String m_language;
250 bool m_languageHasBeenSet = false;
251
252 Aws::String m_name;
253 bool m_nameHasBeenSet = false;
254
255 Aws::String m_quickResponseId;
256 bool m_quickResponseIdHasBeenSet = false;
257
258 bool m_removeDescription;
259 bool m_removeDescriptionHasBeenSet = false;
260
261 bool m_removeGroupingConfiguration;
262 bool m_removeGroupingConfigurationHasBeenSet = false;
263
264 bool m_removeShortcutKey;
265 bool m_removeShortcutKeyHasBeenSet = false;
266
267 Aws::String m_shortcutKey;
268 bool m_shortcutKeyHasBeenSet = false;
269 };
270
271} // namespace Model
272} // namespace ConnectWisdomService
273} // namespace Aws
UpdateQuickResponseRequest & WithShortcutKey(const char *value)
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
UpdateQuickResponseRequest & WithChannels(const Aws::Vector< Aws::String > &value)
UpdateQuickResponseRequest & WithGroupingConfiguration(GroupingConfiguration &&value)
UpdateQuickResponseRequest & WithChannels(Aws::Vector< Aws::String > &&value)
UpdateQuickResponseRequest & WithDescription(const char *value)
UpdateQuickResponseRequest & WithName(Aws::String &&value)
UpdateQuickResponseRequest & WithLanguage(const char *value)
UpdateQuickResponseRequest & WithDescription(const Aws::String &value)
UpdateQuickResponseRequest & WithContentType(Aws::String &&value)
UpdateQuickResponseRequest & WithKnowledgeBaseId(const Aws::String &value)
UpdateQuickResponseRequest & WithLanguage(const Aws::String &value)
UpdateQuickResponseRequest & AddChannels(Aws::String &&value)
UpdateQuickResponseRequest & WithQuickResponseId(const char *value)
UpdateQuickResponseRequest & WithKnowledgeBaseId(const char *value)
UpdateQuickResponseRequest & WithDescription(Aws::String &&value)
UpdateQuickResponseRequest & WithShortcutKey(const Aws::String &value)
UpdateQuickResponseRequest & WithContentType(const Aws::String &value)
UpdateQuickResponseRequest & WithLanguage(Aws::String &&value)
UpdateQuickResponseRequest & WithQuickResponseId(const Aws::String &value)
UpdateQuickResponseRequest & WithKnowledgeBaseId(Aws::String &&value)
UpdateQuickResponseRequest & WithQuickResponseId(Aws::String &&value)
UpdateQuickResponseRequest & AddChannels(const Aws::String &value)
UpdateQuickResponseRequest & WithContent(const QuickResponseDataProvider &value)
UpdateQuickResponseRequest & WithShortcutKey(Aws::String &&value)
UpdateQuickResponseRequest & WithContent(QuickResponseDataProvider &&value)
UpdateQuickResponseRequest & WithContentType(const char *value)
UpdateQuickResponseRequest & WithName(const Aws::String &value)
UpdateQuickResponseRequest & AddChannels(const char *value)
UpdateQuickResponseRequest & WithGroupingConfiguration(const GroupingConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector