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/BotStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/lexv2-models/model/BotVersionLocaleDetails.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename BotIdT = Aws::String>
45 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
46 template<
typename BotIdT = Aws::String>
55 template<
typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
57 template<
typename DescriptionT = Aws::String>
66 template<
typename BotVersionT = Aws::String>
67 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
68 template<
typename BotVersionT = Aws::String>
77 template<
typename BotVersionLocaleSpecificationT = Aws::Map<Aws::String, BotVersionLocaleDetails>>
78 void SetBotVersionLocaleSpecification(BotVersionLocaleSpecificationT&& value) { m_botVersionLocaleSpecificationHasBeenSet =
true; m_botVersionLocaleSpecification = std::forward<BotVersionLocaleSpecificationT>(value); }
79 template<
typename BotVersionLocaleSpecificationT = Aws::Map<Aws::String, BotVersionLocaleDetails>>
81 template<
typename BotVersionLocaleSpecificationKeyT = Aws::String,
typename BotVersionLocaleSpecificationValueT = BotVersionLocaleDetails>
83 m_botVersionLocaleSpecificationHasBeenSet =
true; m_botVersionLocaleSpecification.emplace(std::forward<BotVersionLocaleSpecificationKeyT>(key), std::forward<BotVersionLocaleSpecificationValueT>(value));
return *
this;
104 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
105 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
106 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
113 template<
typename RequestIdT = Aws::String>
114 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
115 template<
typename RequestIdT = Aws::String>
121 bool m_botIdHasBeenSet =
false;
124 bool m_descriptionHasBeenSet =
false;
127 bool m_botVersionHasBeenSet =
false;
130 bool m_botVersionLocaleSpecificationHasBeenSet =
false;
133 bool m_botStatusHasBeenSet =
false;
136 bool m_creationDateTimeHasBeenSet =
false;
139 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreationDateTime() const
const Aws::String & GetRequestId() const
const Aws::Map< Aws::String, BotVersionLocaleDetails > & GetBotVersionLocaleSpecification() const
const Aws::String & GetDescription() const
AWS_LEXMODELSV2_API CreateBotVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationDateTime(CreationDateTimeT &&value)
CreateBotVersionResult & WithBotVersion(BotVersionT &&value)
CreateBotVersionResult & WithDescription(DescriptionT &&value)
CreateBotVersionResult & AddBotVersionLocaleSpecification(BotVersionLocaleSpecificationKeyT &&key, BotVersionLocaleSpecificationValueT &&value)
CreateBotVersionResult & WithBotId(BotIdT &&value)
const Aws::String & GetBotVersion() const
CreateBotVersionResult & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetBotId() const
void SetRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
void SetBotId(BotIdT &&value)
AWS_LEXMODELSV2_API CreateBotVersionResult()=default
AWS_LEXMODELSV2_API CreateBotVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBotVersionLocaleSpecification(BotVersionLocaleSpecificationT &&value)
void SetBotVersion(BotVersionT &&value)
void SetBotStatus(BotStatus value)
CreateBotVersionResult & WithRequestId(RequestIdT &&value)
CreateBotVersionResult & WithBotVersionLocaleSpecification(BotVersionLocaleSpecificationT &&value)
CreateBotVersionResult & WithBotStatus(BotStatus value)
BotStatus GetBotStatus() 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
Aws::Utils::Json::JsonValue JsonValue