AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeBotAliasResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
13#include <aws/lexv2-models/model/BotAliasHistoryEvent.h>
14#include <aws/lexv2-models/model/BotAliasLocaleSettings.h>
15#include <aws/lexv2-models/model/BotAliasStatus.h>
16#include <aws/lexv2-models/model/ConversationLogSettings.h>
17#include <aws/lexv2-models/model/ParentBotNetwork.h>
18#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace LexModelsV2 {
32namespace Model {
34 public:
35 AWS_LEXMODELSV2_API DescribeBotAliasResult() = default;
38
40
43 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
44 template <typename BotAliasIdT = Aws::String>
45 void SetBotAliasId(BotAliasIdT&& value) {
46 m_botAliasIdHasBeenSet = true;
47 m_botAliasId = std::forward<BotAliasIdT>(value);
48 }
49 template <typename BotAliasIdT = Aws::String>
50 DescribeBotAliasResult& WithBotAliasId(BotAliasIdT&& value) {
51 SetBotAliasId(std::forward<BotAliasIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetBotAliasName() const { return m_botAliasName; }
61 template <typename BotAliasNameT = Aws::String>
62 void SetBotAliasName(BotAliasNameT&& value) {
63 m_botAliasNameHasBeenSet = true;
64 m_botAliasName = std::forward<BotAliasNameT>(value);
65 }
66 template <typename BotAliasNameT = Aws::String>
67 DescribeBotAliasResult& WithBotAliasName(BotAliasNameT&& value) {
68 SetBotAliasName(std::forward<BotAliasNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
84 DescribeBotAliasResult& WithDescription(DescriptionT&& value) {
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
95 template <typename BotVersionT = Aws::String>
96 void SetBotVersion(BotVersionT&& value) {
97 m_botVersionHasBeenSet = true;
98 m_botVersion = std::forward<BotVersionT>(value);
99 }
100 template <typename BotVersionT = Aws::String>
102 SetBotVersion(std::forward<BotVersionT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Map<Aws::String, BotAliasLocaleSettings>& GetBotAliasLocaleSettings() const { return m_botAliasLocaleSettings; }
112 template <typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
113 void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) {
114 m_botAliasLocaleSettingsHasBeenSet = true;
115 m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value);
116 }
117 template <typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
118 DescribeBotAliasResult& WithBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) {
119 SetBotAliasLocaleSettings(std::forward<BotAliasLocaleSettingsT>(value));
120 return *this;
121 }
122 template <typename BotAliasLocaleSettingsKeyT = Aws::String, typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
123 DescribeBotAliasResult& AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT&& key, BotAliasLocaleSettingsValueT&& value) {
124 m_botAliasLocaleSettingsHasBeenSet = true;
125 m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value));
126 return *this;
127 }
129
131
135 inline const ConversationLogSettings& GetConversationLogSettings() const { return m_conversationLogSettings; }
136 template <typename ConversationLogSettingsT = ConversationLogSettings>
137 void SetConversationLogSettings(ConversationLogSettingsT&& value) {
138 m_conversationLogSettingsHasBeenSet = true;
139 m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value);
140 }
141 template <typename ConversationLogSettingsT = ConversationLogSettings>
142 DescribeBotAliasResult& WithConversationLogSettings(ConversationLogSettingsT&& value) {
143 SetConversationLogSettings(std::forward<ConversationLogSettingsT>(value));
144 return *this;
145 }
147
149
150 inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const { return m_sentimentAnalysisSettings; }
151 template <typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
152 void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) {
153 m_sentimentAnalysisSettingsHasBeenSet = true;
154 m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value);
155 }
156 template <typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
157 DescribeBotAliasResult& WithSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) {
158 SetSentimentAnalysisSettings(std::forward<SentimentAnalysisSettingsT>(value));
159 return *this;
160 }
162
164
168 inline const Aws::Vector<BotAliasHistoryEvent>& GetBotAliasHistoryEvents() const { return m_botAliasHistoryEvents; }
169 template <typename BotAliasHistoryEventsT = Aws::Vector<BotAliasHistoryEvent>>
170 void SetBotAliasHistoryEvents(BotAliasHistoryEventsT&& value) {
171 m_botAliasHistoryEventsHasBeenSet = true;
172 m_botAliasHistoryEvents = std::forward<BotAliasHistoryEventsT>(value);
173 }
174 template <typename BotAliasHistoryEventsT = Aws::Vector<BotAliasHistoryEvent>>
175 DescribeBotAliasResult& WithBotAliasHistoryEvents(BotAliasHistoryEventsT&& value) {
176 SetBotAliasHistoryEvents(std::forward<BotAliasHistoryEventsT>(value));
177 return *this;
178 }
179 template <typename BotAliasHistoryEventsT = BotAliasHistoryEvent>
180 DescribeBotAliasResult& AddBotAliasHistoryEvents(BotAliasHistoryEventsT&& value) {
181 m_botAliasHistoryEventsHasBeenSet = true;
182 m_botAliasHistoryEvents.emplace_back(std::forward<BotAliasHistoryEventsT>(value));
183 return *this;
184 }
186
188
192 inline BotAliasStatus GetBotAliasStatus() const { return m_botAliasStatus; }
194 m_botAliasStatusHasBeenSet = true;
195 m_botAliasStatus = value;
196 }
198 SetBotAliasStatus(value);
199 return *this;
200 }
202
204
207 inline const Aws::String& GetBotId() const { return m_botId; }
208 template <typename BotIdT = Aws::String>
209 void SetBotId(BotIdT&& value) {
210 m_botIdHasBeenSet = true;
211 m_botId = std::forward<BotIdT>(value);
212 }
213 template <typename BotIdT = Aws::String>
215 SetBotId(std::forward<BotIdT>(value));
216 return *this;
217 }
219
221
224 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
225 template <typename CreationDateTimeT = Aws::Utils::DateTime>
226 void SetCreationDateTime(CreationDateTimeT&& value) {
227 m_creationDateTimeHasBeenSet = true;
228 m_creationDateTime = std::forward<CreationDateTimeT>(value);
229 }
230 template <typename CreationDateTimeT = Aws::Utils::DateTime>
231 DescribeBotAliasResult& WithCreationDateTime(CreationDateTimeT&& value) {
232 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
242 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
243 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
244 m_lastUpdatedDateTimeHasBeenSet = true;
245 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
246 }
247 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
248 DescribeBotAliasResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
249 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
250 return *this;
251 }
253
255
258 inline const Aws::Vector<ParentBotNetwork>& GetParentBotNetworks() const { return m_parentBotNetworks; }
259 template <typename ParentBotNetworksT = Aws::Vector<ParentBotNetwork>>
260 void SetParentBotNetworks(ParentBotNetworksT&& value) {
261 m_parentBotNetworksHasBeenSet = true;
262 m_parentBotNetworks = std::forward<ParentBotNetworksT>(value);
263 }
264 template <typename ParentBotNetworksT = Aws::Vector<ParentBotNetwork>>
265 DescribeBotAliasResult& WithParentBotNetworks(ParentBotNetworksT&& value) {
266 SetParentBotNetworks(std::forward<ParentBotNetworksT>(value));
267 return *this;
268 }
269 template <typename ParentBotNetworksT = ParentBotNetwork>
270 DescribeBotAliasResult& AddParentBotNetworks(ParentBotNetworksT&& value) {
271 m_parentBotNetworksHasBeenSet = true;
272 m_parentBotNetworks.emplace_back(std::forward<ParentBotNetworksT>(value));
273 return *this;
274 }
276
278
279 inline const Aws::String& GetRequestId() const { return m_requestId; }
280 template <typename RequestIdT = Aws::String>
281 void SetRequestId(RequestIdT&& value) {
282 m_requestIdHasBeenSet = true;
283 m_requestId = std::forward<RequestIdT>(value);
284 }
285 template <typename RequestIdT = Aws::String>
287 SetRequestId(std::forward<RequestIdT>(value));
288 return *this;
289 }
291 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
292
293 private:
294 Aws::String m_botAliasId;
295
296 Aws::String m_botAliasName;
297
298 Aws::String m_description;
299
300 Aws::String m_botVersion;
301
302 Aws::Map<Aws::String, BotAliasLocaleSettings> m_botAliasLocaleSettings;
303
304 ConversationLogSettings m_conversationLogSettings;
305
306 SentimentAnalysisSettings m_sentimentAnalysisSettings;
307
308 Aws::Vector<BotAliasHistoryEvent> m_botAliasHistoryEvents;
309
310 BotAliasStatus m_botAliasStatus{BotAliasStatus::NOT_SET};
311
312 Aws::String m_botId;
313
314 Aws::Utils::DateTime m_creationDateTime{};
315
316 Aws::Utils::DateTime m_lastUpdatedDateTime{};
317
318 Aws::Vector<ParentBotNetwork> m_parentBotNetworks;
319
320 Aws::String m_requestId;
321 Aws::Http::HttpResponseCode m_HttpResponseCode;
322 bool m_botAliasIdHasBeenSet = false;
323 bool m_botAliasNameHasBeenSet = false;
324 bool m_descriptionHasBeenSet = false;
325 bool m_botVersionHasBeenSet = false;
326 bool m_botAliasLocaleSettingsHasBeenSet = false;
327 bool m_conversationLogSettingsHasBeenSet = false;
328 bool m_sentimentAnalysisSettingsHasBeenSet = false;
329 bool m_botAliasHistoryEventsHasBeenSet = false;
330 bool m_botAliasStatusHasBeenSet = false;
331 bool m_botIdHasBeenSet = false;
332 bool m_creationDateTimeHasBeenSet = false;
333 bool m_lastUpdatedDateTimeHasBeenSet = false;
334 bool m_parentBotNetworksHasBeenSet = false;
335 bool m_requestIdHasBeenSet = false;
336};
337
338} // namespace Model
339} // namespace LexModelsV2
340} // namespace Aws
DescribeBotAliasResult & WithBotAliasId(BotAliasIdT &&value)
void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
const ConversationLogSettings & GetConversationLogSettings() const
DescribeBotAliasResult & WithBotAliasHistoryEvents(BotAliasHistoryEventsT &&value)
const Aws::Vector< ParentBotNetwork > & GetParentBotNetworks() const
AWS_LEXMODELSV2_API DescribeBotAliasResult()=default
DescribeBotAliasResult & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
AWS_LEXMODELSV2_API DescribeBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotAliasResult & WithBotAliasStatus(BotAliasStatus value)
DescribeBotAliasResult & WithConversationLogSettings(ConversationLogSettingsT &&value)
const Aws::Vector< BotAliasHistoryEvent > & GetBotAliasHistoryEvents() const
DescribeBotAliasResult & WithBotId(BotIdT &&value)
DescribeBotAliasResult & AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT &&key, BotAliasLocaleSettingsValueT &&value)
AWS_LEXMODELSV2_API DescribeBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBotAliasHistoryEvents(BotAliasHistoryEventsT &&value)
DescribeBotAliasResult & WithParentBotNetworks(ParentBotNetworksT &&value)
void SetConversationLogSettings(ConversationLogSettingsT &&value)
DescribeBotAliasResult & AddBotAliasHistoryEvents(BotAliasHistoryEventsT &&value)
DescribeBotAliasResult & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
const Aws::Utils::DateTime & GetCreationDateTime() const
DescribeBotAliasResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeBotAliasResult & WithBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
DescribeBotAliasResult & AddParentBotNetworks(ParentBotNetworksT &&value)
DescribeBotAliasResult & WithBotVersion(BotVersionT &&value)
DescribeBotAliasResult & WithRequestId(RequestIdT &&value)
DescribeBotAliasResult & WithSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
DescribeBotAliasResult & WithBotAliasName(BotAliasNameT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue