7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2Request.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotAliasLocaleSettings.h>
12#include <aws/lexv2-models/model/ConversationLogSettings.h>
13#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
18namespace LexModelsV2 {
41 template <
typename BotAliasIdT = Aws::String>
43 m_botAliasIdHasBeenSet =
true;
44 m_botAliasId = std::forward<BotAliasIdT>(value);
46 template <
typename BotAliasIdT = Aws::String>
59 template <
typename BotAliasNameT = Aws::String>
61 m_botAliasNameHasBeenSet =
true;
62 m_botAliasName = std::forward<BotAliasNameT>(value);
64 template <
typename BotAliasNameT = Aws::String>
77 template <
typename DescriptionT = Aws::String>
79 m_descriptionHasBeenSet =
true;
80 m_description = std::forward<DescriptionT>(value);
82 template <
typename DescriptionT = Aws::String>
95 template <
typename BotVersionT = Aws::String>
97 m_botVersionHasBeenSet =
true;
98 m_botVersion = std::forward<BotVersionT>(value);
100 template <
typename BotVersionT = Aws::String>
113 template <
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
115 m_botAliasLocaleSettingsHasBeenSet =
true;
116 m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value);
118 template <
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
123 template <
typename BotAliasLocaleSettingsKeyT = Aws::String,
typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
125 m_botAliasLocaleSettingsHasBeenSet =
true;
126 m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value));
138 template <
typename ConversationLogSettingsT = ConversationLogSettings>
140 m_conversationLogSettingsHasBeenSet =
true;
141 m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value);
143 template <
typename ConversationLogSettingsT = ConversationLogSettings>
154 template <
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
156 m_sentimentAnalysisSettingsHasBeenSet =
true;
157 m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value);
159 template <
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
172 template <
typename BotIdT = Aws::String>
174 m_botIdHasBeenSet =
true;
175 m_botId = std::forward<BotIdT>(value);
177 template <
typename BotIdT = Aws::String>
179 SetBotId(std::forward<BotIdT>(value));
199 bool m_botAliasIdHasBeenSet =
false;
200 bool m_botAliasNameHasBeenSet =
false;
201 bool m_descriptionHasBeenSet =
false;
202 bool m_botVersionHasBeenSet =
false;
203 bool m_botAliasLocaleSettingsHasBeenSet =
false;
204 bool m_conversationLogSettingsHasBeenSet =
false;
205 bool m_sentimentAnalysisSettingsHasBeenSet =
false;
206 bool m_botIdHasBeenSet =
false;
const Aws::String & GetBotAliasId() const
void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
const Aws::String & GetDescription() const
UpdateBotAliasRequest & WithConversationLogSettings(ConversationLogSettingsT &&value)
const ConversationLogSettings & GetConversationLogSettings() const
UpdateBotAliasRequest & WithDescription(DescriptionT &&value)
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
bool BotAliasLocaleSettingsHasBeenSet() const
const Aws::String & GetBotVersion() const
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
void SetBotVersion(BotVersionT &&value)
const Aws::String & GetBotId() const
bool BotIdHasBeenSet() const
bool ConversationLogSettingsHasBeenSet() const
void SetConversationLogSettings(ConversationLogSettingsT &&value)
void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
AWS_LEXMODELSV2_API UpdateBotAliasRequest()=default
UpdateBotAliasRequest & AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT &&key, BotAliasLocaleSettingsValueT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
bool SentimentAnalysisSettingsHasBeenSet() const
bool BotAliasIdHasBeenSet() const
const Aws::String & GetBotAliasName() const
virtual const char * GetServiceRequestName() const override
UpdateBotAliasRequest & WithBotAliasName(BotAliasNameT &&value)
UpdateBotAliasRequest & WithSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
bool DescriptionHasBeenSet() const
void SetBotAliasId(BotAliasIdT &&value)
UpdateBotAliasRequest & WithBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
bool BotVersionHasBeenSet() const
UpdateBotAliasRequest & WithBotId(BotIdT &&value)
bool BotAliasNameHasBeenSet() const
void SetDescription(DescriptionT &&value)
UpdateBotAliasRequest & WithBotAliasId(BotAliasIdT &&value)
void SetBotId(BotIdT &&value)
void SetBotAliasName(BotAliasNameT &&value)
UpdateBotAliasRequest & WithBotVersion(BotVersionT &&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