AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42
43
45
48 inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; }
49 inline void SetBotAliasId(const Aws::String& value) { m_botAliasId = value; }
50 inline void SetBotAliasId(Aws::String&& value) { m_botAliasId = std::move(value); }
51 inline void SetBotAliasId(const char* value) { m_botAliasId.assign(value); }
52 inline DescribeBotAliasResult& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
53 inline DescribeBotAliasResult& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
54 inline DescribeBotAliasResult& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;}
56
58
61 inline const Aws::String& GetBotAliasName() const{ return m_botAliasName; }
62 inline void SetBotAliasName(const Aws::String& value) { m_botAliasName = value; }
63 inline void SetBotAliasName(Aws::String&& value) { m_botAliasName = std::move(value); }
64 inline void SetBotAliasName(const char* value) { m_botAliasName.assign(value); }
65 inline DescribeBotAliasResult& WithBotAliasName(const Aws::String& value) { SetBotAliasName(value); return *this;}
66 inline DescribeBotAliasResult& WithBotAliasName(Aws::String&& value) { SetBotAliasName(std::move(value)); return *this;}
67 inline DescribeBotAliasResult& WithBotAliasName(const char* value) { SetBotAliasName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline void SetDescription(const Aws::String& value) { m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_description.assign(value); }
78 inline DescribeBotAliasResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline DescribeBotAliasResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline DescribeBotAliasResult& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
87 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
88 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
89 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
90 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
91 inline DescribeBotAliasResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
92 inline DescribeBotAliasResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
93 inline DescribeBotAliasResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
95
97
100 inline const Aws::Map<Aws::String, BotAliasLocaleSettings>& GetBotAliasLocaleSettings() const{ return m_botAliasLocaleSettings; }
101 inline void SetBotAliasLocaleSettings(const Aws::Map<Aws::String, BotAliasLocaleSettings>& value) { m_botAliasLocaleSettings = value; }
102 inline void SetBotAliasLocaleSettings(Aws::Map<Aws::String, BotAliasLocaleSettings>&& value) { m_botAliasLocaleSettings = std::move(value); }
105 inline DescribeBotAliasResult& AddBotAliasLocaleSettings(const Aws::String& key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettings.emplace(key, value); return *this; }
106 inline DescribeBotAliasResult& AddBotAliasLocaleSettings(Aws::String&& key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettings.emplace(std::move(key), value); return *this; }
107 inline DescribeBotAliasResult& AddBotAliasLocaleSettings(const Aws::String& key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettings.emplace(key, std::move(value)); return *this; }
108 inline DescribeBotAliasResult& AddBotAliasLocaleSettings(Aws::String&& key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettings.emplace(std::move(key), std::move(value)); return *this; }
109 inline DescribeBotAliasResult& AddBotAliasLocaleSettings(const char* key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettings.emplace(key, std::move(value)); return *this; }
110 inline DescribeBotAliasResult& AddBotAliasLocaleSettings(const char* key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettings.emplace(key, value); return *this; }
112
114
118 inline const ConversationLogSettings& GetConversationLogSettings() const{ return m_conversationLogSettings; }
119 inline void SetConversationLogSettings(const ConversationLogSettings& value) { m_conversationLogSettings = value; }
120 inline void SetConversationLogSettings(ConversationLogSettings&& value) { m_conversationLogSettings = std::move(value); }
124
126
127 inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const{ return m_sentimentAnalysisSettings; }
128 inline void SetSentimentAnalysisSettings(const SentimentAnalysisSettings& value) { m_sentimentAnalysisSettings = value; }
129 inline void SetSentimentAnalysisSettings(SentimentAnalysisSettings&& value) { m_sentimentAnalysisSettings = std::move(value); }
133
135
139 inline const Aws::Vector<BotAliasHistoryEvent>& GetBotAliasHistoryEvents() const{ return m_botAliasHistoryEvents; }
140 inline void SetBotAliasHistoryEvents(const Aws::Vector<BotAliasHistoryEvent>& value) { m_botAliasHistoryEvents = value; }
141 inline void SetBotAliasHistoryEvents(Aws::Vector<BotAliasHistoryEvent>&& value) { m_botAliasHistoryEvents = std::move(value); }
144 inline DescribeBotAliasResult& AddBotAliasHistoryEvents(const BotAliasHistoryEvent& value) { m_botAliasHistoryEvents.push_back(value); return *this; }
145 inline DescribeBotAliasResult& AddBotAliasHistoryEvents(BotAliasHistoryEvent&& value) { m_botAliasHistoryEvents.push_back(std::move(value)); return *this; }
147
149
153 inline const BotAliasStatus& GetBotAliasStatus() const{ return m_botAliasStatus; }
154 inline void SetBotAliasStatus(const BotAliasStatus& value) { m_botAliasStatus = value; }
155 inline void SetBotAliasStatus(BotAliasStatus&& value) { m_botAliasStatus = std::move(value); }
156 inline DescribeBotAliasResult& WithBotAliasStatus(const BotAliasStatus& value) { SetBotAliasStatus(value); return *this;}
157 inline DescribeBotAliasResult& WithBotAliasStatus(BotAliasStatus&& value) { SetBotAliasStatus(std::move(value)); return *this;}
159
161
164 inline const Aws::String& GetBotId() const{ return m_botId; }
165 inline void SetBotId(const Aws::String& value) { m_botId = value; }
166 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
167 inline void SetBotId(const char* value) { m_botId.assign(value); }
168 inline DescribeBotAliasResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
169 inline DescribeBotAliasResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
170 inline DescribeBotAliasResult& WithBotId(const char* value) { SetBotId(value); return *this;}
172
174
177 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
178 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
179 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
181 inline DescribeBotAliasResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
183
185
188 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
189 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
190 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
194
196
199 inline const Aws::Vector<ParentBotNetwork>& GetParentBotNetworks() const{ return m_parentBotNetworks; }
200 inline void SetParentBotNetworks(const Aws::Vector<ParentBotNetwork>& value) { m_parentBotNetworks = value; }
201 inline void SetParentBotNetworks(Aws::Vector<ParentBotNetwork>&& value) { m_parentBotNetworks = std::move(value); }
204 inline DescribeBotAliasResult& AddParentBotNetworks(const ParentBotNetwork& value) { m_parentBotNetworks.push_back(value); return *this; }
205 inline DescribeBotAliasResult& AddParentBotNetworks(ParentBotNetwork&& value) { m_parentBotNetworks.push_back(std::move(value)); return *this; }
207
209
210 inline const Aws::String& GetRequestId() const{ return m_requestId; }
211 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
212 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
213 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
214 inline DescribeBotAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
215 inline DescribeBotAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
216 inline DescribeBotAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
218 private:
219
220 Aws::String m_botAliasId;
221
222 Aws::String m_botAliasName;
223
224 Aws::String m_description;
225
226 Aws::String m_botVersion;
227
228 Aws::Map<Aws::String, BotAliasLocaleSettings> m_botAliasLocaleSettings;
229
230 ConversationLogSettings m_conversationLogSettings;
231
232 SentimentAnalysisSettings m_sentimentAnalysisSettings;
233
234 Aws::Vector<BotAliasHistoryEvent> m_botAliasHistoryEvents;
235
236 BotAliasStatus m_botAliasStatus;
237
238 Aws::String m_botId;
239
240 Aws::Utils::DateTime m_creationDateTime;
241
242 Aws::Utils::DateTime m_lastUpdatedDateTime;
243
244 Aws::Vector<ParentBotNetwork> m_parentBotNetworks;
245
246 Aws::String m_requestId;
247 };
248
249} // namespace Model
250} // namespace LexModelsV2
251} // namespace Aws
DescribeBotAliasResult & WithBotAliasHistoryEvents(Aws::Vector< BotAliasHistoryEvent > &&value)
DescribeBotAliasResult & AddBotAliasHistoryEvents(const BotAliasHistoryEvent &value)
DescribeBotAliasResult & AddBotAliasLocaleSettings(const Aws::String &key, BotAliasLocaleSettings &&value)
const ConversationLogSettings & GetConversationLogSettings() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::Vector< ParentBotNetwork > & GetParentBotNetworks() const
DescribeBotAliasResult & WithBotAliasLocaleSettings(const Aws::Map< Aws::String, BotAliasLocaleSettings > &value)
DescribeBotAliasResult & AddParentBotNetworks(ParentBotNetwork &&value)
DescribeBotAliasResult & AddBotAliasHistoryEvents(BotAliasHistoryEvent &&value)
DescribeBotAliasResult & WithBotAliasName(const Aws::String &value)
DescribeBotAliasResult & WithBotAliasId(const Aws::String &value)
DescribeBotAliasResult & WithSentimentAnalysisSettings(SentimentAnalysisSettings &&value)
DescribeBotAliasResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
DescribeBotAliasResult & WithConversationLogSettings(const ConversationLogSettings &value)
AWS_LEXMODELSV2_API DescribeBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotAliasResult & WithRequestId(const Aws::String &value)
DescribeBotAliasResult & WithParentBotNetworks(const Aws::Vector< ParentBotNetwork > &value)
const Aws::Vector< BotAliasHistoryEvent > & GetBotAliasHistoryEvents() const
DescribeBotAliasResult & WithConversationLogSettings(ConversationLogSettings &&value)
void SetSentimentAnalysisSettings(const SentimentAnalysisSettings &value)
AWS_LEXMODELSV2_API DescribeBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotAliasResult & WithDescription(const char *value)
DescribeBotAliasResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetSentimentAnalysisSettings(SentimentAnalysisSettings &&value)
DescribeBotAliasResult & WithSentimentAnalysisSettings(const SentimentAnalysisSettings &value)
DescribeBotAliasResult & AddBotAliasLocaleSettings(const char *key, const BotAliasLocaleSettings &value)
void SetBotAliasLocaleSettings(const Aws::Map< Aws::String, BotAliasLocaleSettings > &value)
DescribeBotAliasResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
DescribeBotAliasResult & WithBotVersion(const Aws::String &value)
DescribeBotAliasResult & WithBotAliasName(Aws::String &&value)
void SetBotAliasHistoryEvents(const Aws::Vector< BotAliasHistoryEvent > &value)
DescribeBotAliasResult & WithBotId(const Aws::String &value)
void SetConversationLogSettings(const ConversationLogSettings &value)
void SetParentBotNetworks(const Aws::Vector< ParentBotNetwork > &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DescribeBotAliasResult & WithBotAliasStatus(BotAliasStatus &&value)
DescribeBotAliasResult & AddParentBotNetworks(const ParentBotNetwork &value)
DescribeBotAliasResult & WithBotId(const char *value)
DescribeBotAliasResult & AddBotAliasLocaleSettings(const char *key, BotAliasLocaleSettings &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DescribeBotAliasResult & WithBotAliasLocaleSettings(Aws::Map< Aws::String, BotAliasLocaleSettings > &&value)
DescribeBotAliasResult & WithBotVersion(const char *value)
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
DescribeBotAliasResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DescribeBotAliasResult & AddBotAliasLocaleSettings(const Aws::String &key, const BotAliasLocaleSettings &value)
DescribeBotAliasResult & WithParentBotNetworks(Aws::Vector< ParentBotNetwork > &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DescribeBotAliasResult & WithDescription(const Aws::String &value)
DescribeBotAliasResult & WithBotAliasStatus(const BotAliasStatus &value)
DescribeBotAliasResult & AddBotAliasLocaleSettings(Aws::String &&key, BotAliasLocaleSettings &&value)
DescribeBotAliasResult & WithRequestId(const char *value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
DescribeBotAliasResult & WithBotAliasName(const char *value)
DescribeBotAliasResult & AddBotAliasLocaleSettings(Aws::String &&key, const BotAliasLocaleSettings &value)
DescribeBotAliasResult & WithBotVersion(Aws::String &&value)
void SetBotAliasHistoryEvents(Aws::Vector< BotAliasHistoryEvent > &&value)
DescribeBotAliasResult & WithBotId(Aws::String &&value)
void SetBotAliasLocaleSettings(Aws::Map< Aws::String, BotAliasLocaleSettings > &&value)
DescribeBotAliasResult & WithBotAliasId(const char *value)
DescribeBotAliasResult & WithDescription(Aws::String &&value)
void SetParentBotNetworks(Aws::Vector< ParentBotNetwork > &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DescribeBotAliasResult & WithRequestId(Aws::String &&value)
DescribeBotAliasResult & WithBotAliasHistoryEvents(const Aws::Vector< BotAliasHistoryEvent > &value)
void SetConversationLogSettings(ConversationLogSettings &&value)
DescribeBotAliasResult & WithBotAliasId(Aws::String &&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