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/BotVersionLocaleDetails.h>
16namespace LexModelsV2 {
39 template <
typename BotIdT = Aws::String>
41 m_botIdHasBeenSet =
true;
42 m_botId = std::forward<BotIdT>(value);
44 template <
typename BotIdT = Aws::String>
46 SetBotId(std::forward<BotIdT>(value));
58 template <
typename DescriptionT = Aws::String>
60 m_descriptionHasBeenSet =
true;
61 m_description = std::forward<DescriptionT>(value);
63 template <
typename DescriptionT = Aws::String>
78 return m_botVersionLocaleSpecification;
81 template <
typename BotVersionLocaleSpecificationT = Aws::Map<Aws::String, BotVersionLocaleDetails>>
83 m_botVersionLocaleSpecificationHasBeenSet =
true;
84 m_botVersionLocaleSpecification = std::forward<BotVersionLocaleSpecificationT>(value);
86 template <
typename BotVersionLocaleSpecificationT = Aws::Map<Aws::String, BotVersionLocaleDetails>>
91 template <
typename BotVersionLocaleSpecificationKeyT =
Aws::String,
94 BotVersionLocaleSpecificationValueT&& value) {
95 m_botVersionLocaleSpecificationHasBeenSet =
true;
96 m_botVersionLocaleSpecification.emplace(std::forward<BotVersionLocaleSpecificationKeyT>(key),
97 std::forward<BotVersionLocaleSpecificationValueT>(value));
107 bool m_botIdHasBeenSet =
false;
108 bool m_descriptionHasBeenSet =
false;
109 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