AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeBotAliasResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/lexv2-models/model/ConversationLogSettings.h>
11#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lexv2-models/model/BotAliasStatus.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/lexv2-models/model/BotAliasLocaleSettings.h>
16#include <aws/lexv2-models/model/BotAliasHistoryEvent.h>
17#include <aws/lexv2-models/model/ParentBotNetwork.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace LexModelsV2
33{
34namespace Model
35{
37 {
38 public:
39 AWS_LEXMODELSV2_API DescribeBotAliasResult() = default;
42
43
45
48 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
49 template<typename BotAliasIdT = Aws::String>
50 void SetBotAliasId(BotAliasIdT&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::forward<BotAliasIdT>(value); }
51 template<typename BotAliasIdT = Aws::String>
52 DescribeBotAliasResult& WithBotAliasId(BotAliasIdT&& value) { SetBotAliasId(std::forward<BotAliasIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetBotAliasName() const { return m_botAliasName; }
60 template<typename BotAliasNameT = Aws::String>
61 void SetBotAliasName(BotAliasNameT&& value) { m_botAliasNameHasBeenSet = true; m_botAliasName = std::forward<BotAliasNameT>(value); }
62 template<typename BotAliasNameT = Aws::String>
63 DescribeBotAliasResult& WithBotAliasName(BotAliasNameT&& value) { SetBotAliasName(std::forward<BotAliasNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 DescribeBotAliasResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76
78
81 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
82 template<typename BotVersionT = Aws::String>
83 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
84 template<typename BotVersionT = Aws::String>
85 DescribeBotAliasResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
87
89
92 inline const Aws::Map<Aws::String, BotAliasLocaleSettings>& GetBotAliasLocaleSettings() const { return m_botAliasLocaleSettings; }
93 template<typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
94 void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value); }
95 template<typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
96 DescribeBotAliasResult& WithBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) { SetBotAliasLocaleSettings(std::forward<BotAliasLocaleSettingsT>(value)); return *this;}
97 template<typename BotAliasLocaleSettingsKeyT = Aws::String, typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
98 DescribeBotAliasResult& AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT&& key, BotAliasLocaleSettingsValueT&& value) {
99 m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value)); return *this;
100 }
102
104
108 inline const ConversationLogSettings& GetConversationLogSettings() const { return m_conversationLogSettings; }
109 template<typename ConversationLogSettingsT = ConversationLogSettings>
110 void SetConversationLogSettings(ConversationLogSettingsT&& value) { m_conversationLogSettingsHasBeenSet = true; m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value); }
111 template<typename ConversationLogSettingsT = ConversationLogSettings>
112 DescribeBotAliasResult& WithConversationLogSettings(ConversationLogSettingsT&& value) { SetConversationLogSettings(std::forward<ConversationLogSettingsT>(value)); return *this;}
114
116
117 inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const { return m_sentimentAnalysisSettings; }
118 template<typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
119 void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) { m_sentimentAnalysisSettingsHasBeenSet = true; m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value); }
120 template<typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
121 DescribeBotAliasResult& WithSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) { SetSentimentAnalysisSettings(std::forward<SentimentAnalysisSettingsT>(value)); return *this;}
123
125
129 inline const Aws::Vector<BotAliasHistoryEvent>& GetBotAliasHistoryEvents() const { return m_botAliasHistoryEvents; }
130 template<typename BotAliasHistoryEventsT = Aws::Vector<BotAliasHistoryEvent>>
131 void SetBotAliasHistoryEvents(BotAliasHistoryEventsT&& value) { m_botAliasHistoryEventsHasBeenSet = true; m_botAliasHistoryEvents = std::forward<BotAliasHistoryEventsT>(value); }
132 template<typename BotAliasHistoryEventsT = Aws::Vector<BotAliasHistoryEvent>>
133 DescribeBotAliasResult& WithBotAliasHistoryEvents(BotAliasHistoryEventsT&& value) { SetBotAliasHistoryEvents(std::forward<BotAliasHistoryEventsT>(value)); return *this;}
134 template<typename BotAliasHistoryEventsT = BotAliasHistoryEvent>
135 DescribeBotAliasResult& AddBotAliasHistoryEvents(BotAliasHistoryEventsT&& value) { m_botAliasHistoryEventsHasBeenSet = true; m_botAliasHistoryEvents.emplace_back(std::forward<BotAliasHistoryEventsT>(value)); return *this; }
137
139
143 inline BotAliasStatus GetBotAliasStatus() const { return m_botAliasStatus; }
144 inline void SetBotAliasStatus(BotAliasStatus value) { m_botAliasStatusHasBeenSet = true; m_botAliasStatus = value; }
147
149
152 inline const Aws::String& GetBotId() const { return m_botId; }
153 template<typename BotIdT = Aws::String>
154 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
155 template<typename BotIdT = Aws::String>
156 DescribeBotAliasResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
158
160
163 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
164 template<typename CreationDateTimeT = Aws::Utils::DateTime>
165 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
166 template<typename CreationDateTimeT = Aws::Utils::DateTime>
167 DescribeBotAliasResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
175 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
176 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
177 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
178 DescribeBotAliasResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
180
182
185 inline const Aws::Vector<ParentBotNetwork>& GetParentBotNetworks() const { return m_parentBotNetworks; }
186 template<typename ParentBotNetworksT = Aws::Vector<ParentBotNetwork>>
187 void SetParentBotNetworks(ParentBotNetworksT&& value) { m_parentBotNetworksHasBeenSet = true; m_parentBotNetworks = std::forward<ParentBotNetworksT>(value); }
188 template<typename ParentBotNetworksT = Aws::Vector<ParentBotNetwork>>
189 DescribeBotAliasResult& WithParentBotNetworks(ParentBotNetworksT&& value) { SetParentBotNetworks(std::forward<ParentBotNetworksT>(value)); return *this;}
190 template<typename ParentBotNetworksT = ParentBotNetwork>
191 DescribeBotAliasResult& AddParentBotNetworks(ParentBotNetworksT&& value) { m_parentBotNetworksHasBeenSet = true; m_parentBotNetworks.emplace_back(std::forward<ParentBotNetworksT>(value)); return *this; }
193
195
196 inline const Aws::String& GetRequestId() const { return m_requestId; }
197 template<typename RequestIdT = Aws::String>
198 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
199 template<typename RequestIdT = Aws::String>
200 DescribeBotAliasResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
202 private:
203
204 Aws::String m_botAliasId;
205 bool m_botAliasIdHasBeenSet = false;
206
207 Aws::String m_botAliasName;
208 bool m_botAliasNameHasBeenSet = false;
209
210 Aws::String m_description;
211 bool m_descriptionHasBeenSet = false;
212
213 Aws::String m_botVersion;
214 bool m_botVersionHasBeenSet = false;
215
216 Aws::Map<Aws::String, BotAliasLocaleSettings> m_botAliasLocaleSettings;
217 bool m_botAliasLocaleSettingsHasBeenSet = false;
218
219 ConversationLogSettings m_conversationLogSettings;
220 bool m_conversationLogSettingsHasBeenSet = false;
221
222 SentimentAnalysisSettings m_sentimentAnalysisSettings;
223 bool m_sentimentAnalysisSettingsHasBeenSet = false;
224
225 Aws::Vector<BotAliasHistoryEvent> m_botAliasHistoryEvents;
226 bool m_botAliasHistoryEventsHasBeenSet = false;
227
228 BotAliasStatus m_botAliasStatus{BotAliasStatus::NOT_SET};
229 bool m_botAliasStatusHasBeenSet = false;
230
231 Aws::String m_botId;
232 bool m_botIdHasBeenSet = false;
233
234 Aws::Utils::DateTime m_creationDateTime{};
235 bool m_creationDateTimeHasBeenSet = false;
236
237 Aws::Utils::DateTime m_lastUpdatedDateTime{};
238 bool m_lastUpdatedDateTimeHasBeenSet = false;
239
240 Aws::Vector<ParentBotNetwork> m_parentBotNetworks;
241 bool m_parentBotNetworksHasBeenSet = false;
242
243 Aws::String m_requestId;
244 bool m_requestIdHasBeenSet = false;
245 };
246
247} // namespace Model
248} // namespace LexModelsV2
249} // 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