AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateBotAliasResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotAliasLocaleSettings.h>
12#include <aws/lexv2-models/model/BotAliasStatus.h>
13#include <aws/lexv2-models/model/ConversationLogSettings.h>
14#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LexModelsV2 {
28namespace Model {
30 public:
31 AWS_LEXMODELSV2_API UpdateBotAliasResult() = default;
34
36
39 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
40 template <typename BotAliasIdT = Aws::String>
41 void SetBotAliasId(BotAliasIdT&& value) {
42 m_botAliasIdHasBeenSet = true;
43 m_botAliasId = std::forward<BotAliasIdT>(value);
44 }
45 template <typename BotAliasIdT = Aws::String>
46 UpdateBotAliasResult& WithBotAliasId(BotAliasIdT&& value) {
47 SetBotAliasId(std::forward<BotAliasIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBotAliasName() const { return m_botAliasName; }
57 template <typename BotAliasNameT = Aws::String>
58 void SetBotAliasName(BotAliasNameT&& value) {
59 m_botAliasNameHasBeenSet = true;
60 m_botAliasName = std::forward<BotAliasNameT>(value);
61 }
62 template <typename BotAliasNameT = Aws::String>
63 UpdateBotAliasResult& WithBotAliasName(BotAliasNameT&& value) {
64 SetBotAliasName(std::forward<BotAliasNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
80 UpdateBotAliasResult& WithDescription(DescriptionT&& value) {
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
91 template <typename BotVersionT = Aws::String>
92 void SetBotVersion(BotVersionT&& value) {
93 m_botVersionHasBeenSet = true;
94 m_botVersion = std::forward<BotVersionT>(value);
95 }
96 template <typename BotVersionT = Aws::String>
97 UpdateBotAliasResult& WithBotVersion(BotVersionT&& value) {
98 SetBotVersion(std::forward<BotVersionT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::Map<Aws::String, BotAliasLocaleSettings>& GetBotAliasLocaleSettings() const { return m_botAliasLocaleSettings; }
108 template <typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
109 void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) {
110 m_botAliasLocaleSettingsHasBeenSet = true;
111 m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value);
112 }
113 template <typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
114 UpdateBotAliasResult& WithBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) {
115 SetBotAliasLocaleSettings(std::forward<BotAliasLocaleSettingsT>(value));
116 return *this;
117 }
118 template <typename BotAliasLocaleSettingsKeyT = Aws::String, typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
119 UpdateBotAliasResult& AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT&& key, BotAliasLocaleSettingsValueT&& value) {
120 m_botAliasLocaleSettingsHasBeenSet = true;
121 m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value));
122 return *this;
123 }
125
127
131 inline const ConversationLogSettings& GetConversationLogSettings() const { return m_conversationLogSettings; }
132 template <typename ConversationLogSettingsT = ConversationLogSettings>
133 void SetConversationLogSettings(ConversationLogSettingsT&& value) {
134 m_conversationLogSettingsHasBeenSet = true;
135 m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value);
136 }
137 template <typename ConversationLogSettingsT = ConversationLogSettings>
138 UpdateBotAliasResult& WithConversationLogSettings(ConversationLogSettingsT&& value) {
139 SetConversationLogSettings(std::forward<ConversationLogSettingsT>(value));
140 return *this;
141 }
143
145
146 inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const { return m_sentimentAnalysisSettings; }
147 template <typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
148 void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) {
149 m_sentimentAnalysisSettingsHasBeenSet = true;
150 m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value);
151 }
152 template <typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
153 UpdateBotAliasResult& WithSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) {
154 SetSentimentAnalysisSettings(std::forward<SentimentAnalysisSettingsT>(value));
155 return *this;
156 }
158
160
164 inline BotAliasStatus GetBotAliasStatus() const { return m_botAliasStatus; }
166 m_botAliasStatusHasBeenSet = true;
167 m_botAliasStatus = value;
168 }
170 SetBotAliasStatus(value);
171 return *this;
172 }
174
176
179 inline const Aws::String& GetBotId() const { return m_botId; }
180 template <typename BotIdT = Aws::String>
181 void SetBotId(BotIdT&& value) {
182 m_botIdHasBeenSet = true;
183 m_botId = std::forward<BotIdT>(value);
184 }
185 template <typename BotIdT = Aws::String>
187 SetBotId(std::forward<BotIdT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
197 template <typename CreationDateTimeT = Aws::Utils::DateTime>
198 void SetCreationDateTime(CreationDateTimeT&& value) {
199 m_creationDateTimeHasBeenSet = true;
200 m_creationDateTime = std::forward<CreationDateTimeT>(value);
201 }
202 template <typename CreationDateTimeT = Aws::Utils::DateTime>
203 UpdateBotAliasResult& WithCreationDateTime(CreationDateTimeT&& value) {
204 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
214 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
215 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
216 m_lastUpdatedDateTimeHasBeenSet = true;
217 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
218 }
219 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
220 UpdateBotAliasResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
221 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
222 return *this;
223 }
225
227
228 inline const Aws::String& GetRequestId() const { return m_requestId; }
229 template <typename RequestIdT = Aws::String>
230 void SetRequestId(RequestIdT&& value) {
231 m_requestIdHasBeenSet = true;
232 m_requestId = std::forward<RequestIdT>(value);
233 }
234 template <typename RequestIdT = Aws::String>
235 UpdateBotAliasResult& WithRequestId(RequestIdT&& value) {
236 SetRequestId(std::forward<RequestIdT>(value));
237 return *this;
238 }
240 private:
241 Aws::String m_botAliasId;
242
243 Aws::String m_botAliasName;
244
245 Aws::String m_description;
246
247 Aws::String m_botVersion;
248
249 Aws::Map<Aws::String, BotAliasLocaleSettings> m_botAliasLocaleSettings;
250
251 ConversationLogSettings m_conversationLogSettings;
252
253 SentimentAnalysisSettings m_sentimentAnalysisSettings;
254
255 BotAliasStatus m_botAliasStatus{BotAliasStatus::NOT_SET};
256
257 Aws::String m_botId;
258
259 Aws::Utils::DateTime m_creationDateTime{};
260
261 Aws::Utils::DateTime m_lastUpdatedDateTime{};
262
263 Aws::String m_requestId;
264 bool m_botAliasIdHasBeenSet = false;
265 bool m_botAliasNameHasBeenSet = false;
266 bool m_descriptionHasBeenSet = false;
267 bool m_botVersionHasBeenSet = false;
268 bool m_botAliasLocaleSettingsHasBeenSet = false;
269 bool m_conversationLogSettingsHasBeenSet = false;
270 bool m_sentimentAnalysisSettingsHasBeenSet = false;
271 bool m_botAliasStatusHasBeenSet = false;
272 bool m_botIdHasBeenSet = false;
273 bool m_creationDateTimeHasBeenSet = false;
274 bool m_lastUpdatedDateTimeHasBeenSet = false;
275 bool m_requestIdHasBeenSet = false;
276};
277
278} // namespace Model
279} // namespace LexModelsV2
280} // namespace Aws
UpdateBotAliasResult & WithSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
UpdateBotAliasResult & WithBotAliasId(BotAliasIdT &&value)
UpdateBotAliasResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
AWS_LEXMODELSV2_API UpdateBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
void SetConversationLogSettings(ConversationLogSettingsT &&value)
UpdateBotAliasResult & WithBotAliasName(BotAliasNameT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
UpdateBotAliasResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_LEXMODELSV2_API UpdateBotAliasResult()=default
UpdateBotAliasResult & AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT &&key, BotAliasLocaleSettingsValueT &&value)
UpdateBotAliasResult & WithBotId(BotIdT &&value)
UpdateBotAliasResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
UpdateBotAliasResult & WithBotVersion(BotVersionT &&value)
UpdateBotAliasResult & WithBotAliasStatus(BotAliasStatus value)
void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
const ConversationLogSettings & GetConversationLogSettings() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
UpdateBotAliasResult & WithBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
UpdateBotAliasResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELSV2_API UpdateBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotAliasResult & WithConversationLogSettings(ConversationLogSettingsT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
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
Aws::Utils::Json::JsonValue JsonValue