7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/lexv2-models/model/ConversationLogSettings.h>
11#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
12#include <aws/lexv2-models/model/BotAliasStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/lexv2-models/model/BotAliasLocaleSettings.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template<
typename BotAliasIdT = Aws::String>
47 void SetBotAliasId(BotAliasIdT&& value) { m_botAliasIdHasBeenSet =
true; m_botAliasId = std::forward<BotAliasIdT>(value); }
48 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>
68 template<
typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
70 template<
typename DescriptionT = Aws::String>
79 template<
typename BotVersionT = Aws::String>
80 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
81 template<
typename BotVersionT = Aws::String>
90 template<
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
91 void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) { m_botAliasLocaleSettingsHasBeenSet =
true; m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value); }
92 template<
typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
94 template<
typename BotAliasLocaleSettingsKeyT = Aws::String,
typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
96 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>
114 template<
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
115 void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) { m_sentimentAnalysisSettingsHasBeenSet =
true; m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value); }
116 template<
typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
137 template<
typename BotIdT = Aws::String>
138 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
139 template<
typename BotIdT = Aws::String>
149 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
150 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
151 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
160 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
162 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
166 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
173 template<
typename RequestIdT = Aws::String>
174 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
175 template<
typename RequestIdT = Aws::String>
181 bool m_botAliasIdHasBeenSet =
false;
184 bool m_botAliasNameHasBeenSet =
false;
187 bool m_descriptionHasBeenSet =
false;
190 bool m_botVersionHasBeenSet =
false;
193 bool m_botAliasLocaleSettingsHasBeenSet =
false;
196 bool m_conversationLogSettingsHasBeenSet =
false;
199 bool m_sentimentAnalysisSettingsHasBeenSet =
false;
202 bool m_botAliasStatusHasBeenSet =
false;
205 bool m_botIdHasBeenSet =
false;
208 bool m_creationDateTimeHasBeenSet =
false;
211 bool m_tagsHasBeenSet =
false;
214 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