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/lexv2-models/LexModelsV2_EXPORTS.h>
12#include <aws/lexv2-models/model/BotAliasLocaleSettings.h>
13#include <aws/lexv2-models/model/BotAliasStatus.h>
14#include <aws/lexv2-models/model/ConversationLogSettings.h>
15#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace LexModelsV2 {
41 template <
typename BotAliasIdT = Aws::String>
43 m_botAliasIdHasBeenSet =
true;
44 m_botAliasId = std::forward<BotAliasIdT>(value);
46 template <
typename BotAliasIdT = Aws::String>
58 template <
typename BotAliasNameT = Aws::String>
60 m_botAliasNameHasBeenSet =
true;
61 m_botAliasName = std::forward<BotAliasNameT>(value);
63 template <
typename BotAliasNameT = Aws::String>
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
92 template <
typename BotVersionT = Aws::String>
94 m_botVersionHasBeenSet =
true;
95 m_botVersion = std::forward<BotVersionT>(value);
97 template <
typename BotVersionT = Aws::String>
109 template <
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
111 m_botAliasLocaleSettingsHasBeenSet =
true;
112 m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value);
114 template <
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
119 template <
typename BotAliasLocaleSettingsKeyT = Aws::String,
typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
121 m_botAliasLocaleSettingsHasBeenSet =
true;
122 m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value));
132 template <
typename ConversationLogSettingsT = ConversationLogSettings>
134 m_conversationLogSettingsHasBeenSet =
true;
135 m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value);
137 template <
typename ConversationLogSettingsT = ConversationLogSettings>
147 template <
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
149 m_sentimentAnalysisSettingsHasBeenSet =
true;
150 m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value);
152 template <
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
168 m_botAliasStatusHasBeenSet =
true;
169 m_botAliasStatus = value;
182 template <
typename BotIdT = Aws::String>
184 m_botIdHasBeenSet =
true;
185 m_botId = std::forward<BotIdT>(value);
187 template <
typename BotIdT = Aws::String>
189 SetBotId(std::forward<BotIdT>(value));
200 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
202 m_creationDateTimeHasBeenSet =
true;
203 m_creationDateTime = std::forward<CreationDateTimeT>(value);
205 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
217 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
219 m_tagsHasBeenSet =
true;
220 m_tags = std::forward<TagsT>(value);
222 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
224 SetTags(std::forward<TagsT>(value));
227 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
229 m_tagsHasBeenSet =
true;
230 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
238 template <
typename RequestIdT = Aws::String>
240 m_requestIdHasBeenSet =
true;
241 m_requestId = std::forward<RequestIdT>(value);
243 template <
typename RequestIdT = Aws::String>
276 bool m_botAliasIdHasBeenSet =
false;
277 bool m_botAliasNameHasBeenSet =
false;
278 bool m_descriptionHasBeenSet =
false;
279 bool m_botVersionHasBeenSet =
false;
280 bool m_botAliasLocaleSettingsHasBeenSet =
false;
281 bool m_conversationLogSettingsHasBeenSet =
false;
282 bool m_sentimentAnalysisSettingsHasBeenSet =
false;
283 bool m_botAliasStatusHasBeenSet =
false;
284 bool m_botIdHasBeenSet =
false;
285 bool m_creationDateTimeHasBeenSet =
false;
286 bool m_tagsHasBeenSet =
false;
287 bool m_requestIdHasBeenSet =
false;
CreateBotAliasResult & AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT &&key, BotAliasLocaleSettingsValueT &&value)
CreateBotAliasResult & WithCreationDateTime(CreationDateTimeT &&value)
CreateBotAliasResult & WithBotAliasStatus(BotAliasStatus value)
void SetBotId(BotIdT &&value)
CreateBotAliasResult & WithDescription(DescriptionT &&value)
void SetRequestId(RequestIdT &&value)
const ConversationLogSettings & GetConversationLogSettings() const
const Aws::String & GetBotVersion() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_LEXMODELSV2_API CreateBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
CreateBotAliasResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetConversationLogSettings(ConversationLogSettingsT &&value)
CreateBotAliasResult & WithBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
void SetBotAliasName(BotAliasNameT &&value)
void SetBotVersion(BotVersionT &&value)
void SetTags(TagsT &&value)
BotAliasStatus GetBotAliasStatus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateBotAliasResult & WithBotId(BotIdT &&value)
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
CreateBotAliasResult & WithTags(TagsT &&value)
const Aws::String & GetBotAliasId() const
CreateBotAliasResult & WithSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
CreateBotAliasResult & WithBotAliasId(BotAliasIdT &&value)
void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
CreateBotAliasResult & WithConversationLogSettings(ConversationLogSettingsT &&value)
const Aws::String & GetRequestId() const
CreateBotAliasResult & WithBotAliasName(BotAliasNameT &&value)
const Aws::String & GetBotId() const
CreateBotAliasResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateBotAliasResult & WithBotVersion(BotVersionT &&value)
void SetDescription(DescriptionT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetBotAliasName() const
void SetBotAliasId(BotAliasIdT &&value)
void SetBotAliasStatus(BotAliasStatus value)
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
AWS_LEXMODELSV2_API CreateBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELSV2_API CreateBotAliasResult()=default
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