7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/lexv2-models/model/ConversationLogSettings.h>
12#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
13#include <aws/lexv2-models/model/BotAliasLocaleSettings.h>
45 template<
typename BotAliasIdT = Aws::String>
46 void SetBotAliasId(BotAliasIdT&& value) { m_botAliasIdHasBeenSet =
true; m_botAliasId = std::forward<BotAliasIdT>(value); }
47 template<
typename BotAliasIdT = Aws::String>
57 template<
typename BotAliasNameT = Aws::String>
58 void SetBotAliasName(BotAliasNameT&& value) { m_botAliasNameHasBeenSet =
true; m_botAliasName = std::forward<BotAliasNameT>(value); }
59 template<
typename BotAliasNameT = Aws::String>
69 template<
typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
71 template<
typename DescriptionT = Aws::String>
81 template<
typename BotVersionT = Aws::String>
82 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
83 template<
typename BotVersionT = Aws::String>
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>>
97 template<
typename BotAliasLocaleSettingsKeyT = Aws::String,
typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
99 m_botAliasLocaleSettingsHasBeenSet =
true; m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value));
return *
this;
110 template<
typename ConversationLogSettingsT = ConversationLogSettings>
111 void SetConversationLogSettings(ConversationLogSettingsT&& value) { m_conversationLogSettingsHasBeenSet =
true; m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value); }
112 template<
typename ConversationLogSettingsT = ConversationLogSettings>
120 template<
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
121 void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) { m_sentimentAnalysisSettingsHasBeenSet =
true; m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value); }
122 template<
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
132 template<
typename BotIdT = Aws::String>
133 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
134 template<
typename BotIdT = Aws::String>
140 bool m_botAliasIdHasBeenSet =
false;
143 bool m_botAliasNameHasBeenSet =
false;
146 bool m_descriptionHasBeenSet =
false;
149 bool m_botVersionHasBeenSet =
false;
152 bool m_botAliasLocaleSettingsHasBeenSet =
false;
155 bool m_conversationLogSettingsHasBeenSet =
false;
158 bool m_sentimentAnalysisSettingsHasBeenSet =
false;
161 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