AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DescribeBotAliasResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
12#include <aws/lexv2-models/model/BotAliasHistoryEvent.h>
13#include <aws/lexv2-models/model/BotAliasLocaleSettings.h>
14#include <aws/lexv2-models/model/BotAliasStatus.h>
15#include <aws/lexv2-models/model/ConversationLogSettings.h>
16#include <aws/lexv2-models/model/ParentBotNetwork.h>
17#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace LexModelsV2 {
31namespace Model {
33 public:
34 AWS_LEXMODELSV2_API DescribeBotAliasResult() = default;
37
39
42 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
43 template <typename BotAliasIdT = Aws::String>
44 void SetBotAliasId(BotAliasIdT&& value) {
45 m_botAliasIdHasBeenSet = true;
46 m_botAliasId = std::forward<BotAliasIdT>(value);
47 }
48 template <typename BotAliasIdT = Aws::String>
49 DescribeBotAliasResult& WithBotAliasId(BotAliasIdT&& value) {
50 SetBotAliasId(std::forward<BotAliasIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetBotAliasName() const { return m_botAliasName; }
60 template <typename BotAliasNameT = Aws::String>
61 void SetBotAliasName(BotAliasNameT&& value) {
62 m_botAliasNameHasBeenSet = true;
63 m_botAliasName = std::forward<BotAliasNameT>(value);
64 }
65 template <typename BotAliasNameT = Aws::String>
66 DescribeBotAliasResult& WithBotAliasName(BotAliasNameT&& value) {
67 SetBotAliasName(std::forward<BotAliasNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 DescribeBotAliasResult& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
94 template <typename BotVersionT = Aws::String>
95 void SetBotVersion(BotVersionT&& value) {
96 m_botVersionHasBeenSet = true;
97 m_botVersion = std::forward<BotVersionT>(value);
98 }
99 template <typename BotVersionT = Aws::String>
101 SetBotVersion(std::forward<BotVersionT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Map<Aws::String, BotAliasLocaleSettings>& GetBotAliasLocaleSettings() const { return m_botAliasLocaleSettings; }
111 template <typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
112 void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) {
113 m_botAliasLocaleSettingsHasBeenSet = true;
114 m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value);
115 }
116 template <typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
117 DescribeBotAliasResult& WithBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) {
118 SetBotAliasLocaleSettings(std::forward<BotAliasLocaleSettingsT>(value));
119 return *this;
120 }
121 template <typename BotAliasLocaleSettingsKeyT = Aws::String, typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
122 DescribeBotAliasResult& AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT&& key, BotAliasLocaleSettingsValueT&& value) {
123 m_botAliasLocaleSettingsHasBeenSet = true;
124 m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value));
125 return *this;
126 }
128
130
134 inline const ConversationLogSettings& GetConversationLogSettings() const { return m_conversationLogSettings; }
135 template <typename ConversationLogSettingsT = ConversationLogSettings>
136 void SetConversationLogSettings(ConversationLogSettingsT&& value) {
137 m_conversationLogSettingsHasBeenSet = true;
138 m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value);
139 }
140 template <typename ConversationLogSettingsT = ConversationLogSettings>
141 DescribeBotAliasResult& WithConversationLogSettings(ConversationLogSettingsT&& value) {
142 SetConversationLogSettings(std::forward<ConversationLogSettingsT>(value));
143 return *this;
144 }
146
148
149 inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const { return m_sentimentAnalysisSettings; }
150 template <typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
151 void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) {
152 m_sentimentAnalysisSettingsHasBeenSet = true;
153 m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value);
154 }
155 template <typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
156 DescribeBotAliasResult& WithSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) {
157 SetSentimentAnalysisSettings(std::forward<SentimentAnalysisSettingsT>(value));
158 return *this;
159 }
161
163
167 inline const Aws::Vector<BotAliasHistoryEvent>& GetBotAliasHistoryEvents() const { return m_botAliasHistoryEvents; }
168 template <typename BotAliasHistoryEventsT = Aws::Vector<BotAliasHistoryEvent>>
169 void SetBotAliasHistoryEvents(BotAliasHistoryEventsT&& value) {
170 m_botAliasHistoryEventsHasBeenSet = true;
171 m_botAliasHistoryEvents = std::forward<BotAliasHistoryEventsT>(value);
172 }
173 template <typename BotAliasHistoryEventsT = Aws::Vector<BotAliasHistoryEvent>>
174 DescribeBotAliasResult& WithBotAliasHistoryEvents(BotAliasHistoryEventsT&& value) {
175 SetBotAliasHistoryEvents(std::forward<BotAliasHistoryEventsT>(value));
176 return *this;
177 }
178 template <typename BotAliasHistoryEventsT = BotAliasHistoryEvent>
179 DescribeBotAliasResult& AddBotAliasHistoryEvents(BotAliasHistoryEventsT&& value) {
180 m_botAliasHistoryEventsHasBeenSet = true;
181 m_botAliasHistoryEvents.emplace_back(std::forward<BotAliasHistoryEventsT>(value));
182 return *this;
183 }
185
187
191 inline BotAliasStatus GetBotAliasStatus() const { return m_botAliasStatus; }
193 m_botAliasStatusHasBeenSet = true;
194 m_botAliasStatus = value;
195 }
197 SetBotAliasStatus(value);
198 return *this;
199 }
201
203
206 inline const Aws::String& GetBotId() const { return m_botId; }
207 template <typename BotIdT = Aws::String>
208 void SetBotId(BotIdT&& value) {
209 m_botIdHasBeenSet = true;
210 m_botId = std::forward<BotIdT>(value);
211 }
212 template <typename BotIdT = Aws::String>
214 SetBotId(std::forward<BotIdT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
224 template <typename CreationDateTimeT = Aws::Utils::DateTime>
225 void SetCreationDateTime(CreationDateTimeT&& value) {
226 m_creationDateTimeHasBeenSet = true;
227 m_creationDateTime = std::forward<CreationDateTimeT>(value);
228 }
229 template <typename CreationDateTimeT = Aws::Utils::DateTime>
230 DescribeBotAliasResult& WithCreationDateTime(CreationDateTimeT&& value) {
231 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
241 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
242 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
243 m_lastUpdatedDateTimeHasBeenSet = true;
244 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
245 }
246 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
247 DescribeBotAliasResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
248 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
249 return *this;
250 }
252
254
257 inline const Aws::Vector<ParentBotNetwork>& GetParentBotNetworks() const { return m_parentBotNetworks; }
258 template <typename ParentBotNetworksT = Aws::Vector<ParentBotNetwork>>
259 void SetParentBotNetworks(ParentBotNetworksT&& value) {
260 m_parentBotNetworksHasBeenSet = true;
261 m_parentBotNetworks = std::forward<ParentBotNetworksT>(value);
262 }
263 template <typename ParentBotNetworksT = Aws::Vector<ParentBotNetwork>>
264 DescribeBotAliasResult& WithParentBotNetworks(ParentBotNetworksT&& value) {
265 SetParentBotNetworks(std::forward<ParentBotNetworksT>(value));
266 return *this;
267 }
268 template <typename ParentBotNetworksT = ParentBotNetwork>
269 DescribeBotAliasResult& AddParentBotNetworks(ParentBotNetworksT&& value) {
270 m_parentBotNetworksHasBeenSet = true;
271 m_parentBotNetworks.emplace_back(std::forward<ParentBotNetworksT>(value));
272 return *this;
273 }
275
277
278 inline const Aws::String& GetRequestId() const { return m_requestId; }
279 template <typename RequestIdT = Aws::String>
280 void SetRequestId(RequestIdT&& value) {
281 m_requestIdHasBeenSet = true;
282 m_requestId = std::forward<RequestIdT>(value);
283 }
284 template <typename RequestIdT = Aws::String>
286 SetRequestId(std::forward<RequestIdT>(value));
287 return *this;
288 }
290 private:
291 Aws::String m_botAliasId;
292
293 Aws::String m_botAliasName;
294
295 Aws::String m_description;
296
297 Aws::String m_botVersion;
298
299 Aws::Map<Aws::String, BotAliasLocaleSettings> m_botAliasLocaleSettings;
300
301 ConversationLogSettings m_conversationLogSettings;
302
303 SentimentAnalysisSettings m_sentimentAnalysisSettings;
304
305 Aws::Vector<BotAliasHistoryEvent> m_botAliasHistoryEvents;
306
307 BotAliasStatus m_botAliasStatus{BotAliasStatus::NOT_SET};
308
309 Aws::String m_botId;
310
311 Aws::Utils::DateTime m_creationDateTime{};
312
313 Aws::Utils::DateTime m_lastUpdatedDateTime{};
314
315 Aws::Vector<ParentBotNetwork> m_parentBotNetworks;
316
317 Aws::String m_requestId;
318 bool m_botAliasIdHasBeenSet = false;
319 bool m_botAliasNameHasBeenSet = false;
320 bool m_descriptionHasBeenSet = false;
321 bool m_botVersionHasBeenSet = false;
322 bool m_botAliasLocaleSettingsHasBeenSet = false;
323 bool m_conversationLogSettingsHasBeenSet = false;
324 bool m_sentimentAnalysisSettingsHasBeenSet = false;
325 bool m_botAliasHistoryEventsHasBeenSet = false;
326 bool m_botAliasStatusHasBeenSet = false;
327 bool m_botIdHasBeenSet = false;
328 bool m_creationDateTimeHasBeenSet = false;
329 bool m_lastUpdatedDateTimeHasBeenSet = false;
330 bool m_parentBotNetworksHasBeenSet = false;
331 bool m_requestIdHasBeenSet = false;
332};
333
334} // namespace Model
335} // namespace LexModelsV2
336} // 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)
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