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/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotAliasLocaleSettings.h>
12#include <aws/lexv2-models/model/BotAliasStatus.h>
13#include <aws/lexv2-models/model/ConversationLogSettings.h>
14#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace LexModelsV2 {
40 template <
typename BotAliasIdT = Aws::String>
42 m_botAliasIdHasBeenSet =
true;
43 m_botAliasId = std::forward<BotAliasIdT>(value);
45 template <
typename BotAliasIdT = Aws::String>
57 template <
typename BotAliasNameT = Aws::String>
59 m_botAliasNameHasBeenSet =
true;
60 m_botAliasName = std::forward<BotAliasNameT>(value);
62 template <
typename BotAliasNameT = Aws::String>
74 template <
typename DescriptionT = Aws::String>
76 m_descriptionHasBeenSet =
true;
77 m_description = std::forward<DescriptionT>(value);
79 template <
typename DescriptionT = Aws::String>
91 template <
typename BotVersionT = Aws::String>
93 m_botVersionHasBeenSet =
true;
94 m_botVersion = std::forward<BotVersionT>(value);
96 template <
typename BotVersionT = Aws::String>
108 template <
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
110 m_botAliasLocaleSettingsHasBeenSet =
true;
111 m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value);
113 template <
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
118 template <
typename BotAliasLocaleSettingsKeyT = Aws::String,
typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
120 m_botAliasLocaleSettingsHasBeenSet =
true;
121 m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value));
131 template <
typename ConversationLogSettingsT = ConversationLogSettings>
133 m_conversationLogSettingsHasBeenSet =
true;
134 m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value);
136 template <
typename ConversationLogSettingsT = ConversationLogSettings>
146 template <
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
148 m_sentimentAnalysisSettingsHasBeenSet =
true;
149 m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value);
151 template <
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
167 m_botAliasStatusHasBeenSet =
true;
168 m_botAliasStatus = value;
181 template <
typename BotIdT = Aws::String>
183 m_botIdHasBeenSet =
true;
184 m_botId = std::forward<BotIdT>(value);
186 template <
typename BotIdT = Aws::String>
188 SetBotId(std::forward<BotIdT>(value));
199 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
201 m_creationDateTimeHasBeenSet =
true;
202 m_creationDateTime = std::forward<CreationDateTimeT>(value);
204 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
216 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
218 m_tagsHasBeenSet =
true;
219 m_tags = std::forward<TagsT>(value);
221 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
223 SetTags(std::forward<TagsT>(value));
226 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
228 m_tagsHasBeenSet =
true;
229 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
237 template <
typename RequestIdT = Aws::String>
239 m_requestIdHasBeenSet =
true;
240 m_requestId = std::forward<RequestIdT>(value);
242 template <
typename RequestIdT = Aws::String>
272 bool m_botAliasIdHasBeenSet =
false;
273 bool m_botAliasNameHasBeenSet =
false;
274 bool m_descriptionHasBeenSet =
false;
275 bool m_botVersionHasBeenSet =
false;
276 bool m_botAliasLocaleSettingsHasBeenSet =
false;
277 bool m_conversationLogSettingsHasBeenSet =
false;
278 bool m_sentimentAnalysisSettingsHasBeenSet =
false;
279 bool m_botAliasStatusHasBeenSet =
false;
280 bool m_botIdHasBeenSet =
false;
281 bool m_creationDateTimeHasBeenSet =
false;
282 bool m_tagsHasBeenSet =
false;
283 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)
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