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/BotVersionLocaleDetails.h>
43 template<
typename BotIdT = Aws::String>
44 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
45 template<
typename BotIdT = Aws::String>
56 template<
typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
58 template<
typename DescriptionT = Aws::String>
71 template<
typename BotVersionLocaleSpecificationT = Aws::Map<Aws::String, BotVersionLocaleDetails>>
72 void SetBotVersionLocaleSpecification(BotVersionLocaleSpecificationT&& value) { m_botVersionLocaleSpecificationHasBeenSet =
true; m_botVersionLocaleSpecification = std::forward<BotVersionLocaleSpecificationT>(value); }
73 template<
typename BotVersionLocaleSpecificationT = Aws::Map<Aws::String, BotVersionLocaleDetails>>
75 template<
typename BotVersionLocaleSpecificationKeyT = Aws::String,
typename BotVersionLocaleSpecificationValueT = BotVersionLocaleDetails>
77 m_botVersionLocaleSpecificationHasBeenSet =
true; m_botVersionLocaleSpecification.emplace(std::forward<BotVersionLocaleSpecificationKeyT>(key), std::forward<BotVersionLocaleSpecificationValueT>(value));
return *
this;
83 bool m_botIdHasBeenSet =
false;
86 bool m_descriptionHasBeenSet =
false;
89 bool m_botVersionLocaleSpecificationHasBeenSet =
false;
CreateBotVersionRequest & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, BotVersionLocaleDetails > & GetBotVersionLocaleSpecification() const
AWS_LEXMODELSV2_API CreateBotVersionRequest()=default
CreateBotVersionRequest & WithBotVersionLocaleSpecification(BotVersionLocaleSpecificationT &&value)
bool BotIdHasBeenSet() const
CreateBotVersionRequest & WithBotId(BotIdT &&value)
bool DescriptionHasBeenSet() const
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
CreateBotVersionRequest & AddBotVersionLocaleSpecification(BotVersionLocaleSpecificationKeyT &&key, BotVersionLocaleSpecificationValueT &&value)
void SetBotVersionLocaleSpecification(BotVersionLocaleSpecificationT &&value)
const Aws::String & GetDescription() const
void SetBotId(BotIdT &&value)
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
bool BotVersionLocaleSpecificationHasBeenSet() const
const Aws::String & GetBotId() const
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