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 BotAliasNameT = Aws::String>
43 m_botAliasNameHasBeenSet =
true;
44 m_botAliasName = std::forward<BotAliasNameT>(value);
46 template <
typename BotAliasNameT = Aws::String>
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
80 template <
typename BotVersionT = Aws::String>
82 m_botVersionHasBeenSet =
true;
83 m_botVersion = std::forward<BotVersionT>(value);
85 template <
typename BotVersionT = Aws::String>
100 template <
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
102 m_botAliasLocaleSettingsHasBeenSet =
true;
103 m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value);
105 template <
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
110 template <
typename BotAliasLocaleSettingsKeyT = Aws::String,
typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
112 m_botAliasLocaleSettingsHasBeenSet =
true;
113 m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value));
127 template <
typename ConversationLogSettingsT = ConversationLogSettings>
129 m_conversationLogSettingsHasBeenSet =
true;
130 m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value);
132 template <
typename ConversationLogSettingsT = ConversationLogSettings>
143 template <
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
145 m_sentimentAnalysisSettingsHasBeenSet =
true;
146 m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value);
148 template <
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
161 template <
typename BotIdT = Aws::String>
163 m_botIdHasBeenSet =
true;
164 m_botId = std::forward<BotIdT>(value);
166 template <
typename BotIdT = Aws::String>
168 SetBotId(std::forward<BotIdT>(value));
182 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
184 m_tagsHasBeenSet =
true;
185 m_tags = std::forward<TagsT>(value);
187 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
189 SetTags(std::forward<TagsT>(value));
192 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
194 m_tagsHasBeenSet =
true;
195 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
215 bool m_botAliasNameHasBeenSet =
false;
216 bool m_descriptionHasBeenSet =
false;
217 bool m_botVersionHasBeenSet =
false;
218 bool m_botAliasLocaleSettingsHasBeenSet =
false;
219 bool m_conversationLogSettingsHasBeenSet =
false;
220 bool m_sentimentAnalysisSettingsHasBeenSet =
false;
221 bool m_botIdHasBeenSet =
false;
222 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