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 BotAliasNameT = Aws::String>
46 void SetBotAliasName(BotAliasNameT&& value) { m_botAliasNameHasBeenSet =
true; m_botAliasName = std::forward<BotAliasNameT>(value); }
47 template<
typename BotAliasNameT = Aws::String>
58 template<
typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
60 template<
typename DescriptionT = Aws::String>
72 template<
typename BotVersionT = Aws::String>
73 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
74 template<
typename BotVersionT = Aws::String>
86 template<
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
87 void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) { m_botAliasLocaleSettingsHasBeenSet =
true; m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value); }
88 template<
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
90 template<
typename BotAliasLocaleSettingsKeyT = Aws::String,
typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
92 m_botAliasLocaleSettingsHasBeenSet =
true; m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value));
return *
this;
105 template<
typename ConversationLogSettingsT = ConversationLogSettings>
106 void SetConversationLogSettings(ConversationLogSettingsT&& value) { m_conversationLogSettingsHasBeenSet =
true; m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value); }
107 template<
typename ConversationLogSettingsT = ConversationLogSettings>
115 template<
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
116 void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) { m_sentimentAnalysisSettingsHasBeenSet =
true; m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value); }
117 template<
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
127 template<
typename BotIdT = Aws::String>
128 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
129 template<
typename BotIdT = Aws::String>
142 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
144 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
148 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
154 bool m_botAliasNameHasBeenSet =
false;
157 bool m_descriptionHasBeenSet =
false;
160 bool m_botVersionHasBeenSet =
false;
163 bool m_botAliasLocaleSettingsHasBeenSet =
false;
166 bool m_conversationLogSettingsHasBeenSet =
false;
169 bool m_sentimentAnalysisSettingsHasBeenSet =
false;
172 bool m_botIdHasBeenSet =
false;
175 bool m_tagsHasBeenSet =
false;
CreateBotAliasRequest & WithDescription(DescriptionT &&value)
bool BotAliasLocaleSettingsHasBeenSet() const
void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
CreateBotAliasRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateBotAliasRequest & WithBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
CreateBotAliasRequest & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API CreateBotAliasRequest()=default
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
void SetConversationLogSettings(ConversationLogSettingsT &&value)
bool ConversationLogSettingsHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetBotId(BotIdT &&value)
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
bool DescriptionHasBeenSet() const
CreateBotAliasRequest & WithBotId(BotIdT &&value)
CreateBotAliasRequest & WithBotAliasName(BotAliasNameT &&value)
bool SentimentAnalysisSettingsHasBeenSet() const
const ConversationLogSettings & GetConversationLogSettings() const
CreateBotAliasRequest & WithSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
CreateBotAliasRequest & WithConversationLogSettings(ConversationLogSettingsT &&value)
CreateBotAliasRequest & AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT &&key, BotAliasLocaleSettingsValueT &&value)
void SetBotVersion(BotVersionT &&value)
virtual const char * GetServiceRequestName() const override
bool BotAliasNameHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetBotId() const
const Aws::String & GetBotVersion() const
const Aws::String & GetBotAliasName() const
const Aws::String & GetDescription() const
bool BotVersionHasBeenSet() const
void SetBotAliasName(BotAliasNameT &&value)
bool BotIdHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateBotAliasRequest & WithTags(TagsT &&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