7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
12#include <aws/lexv2-models/model/BotStatus.h>
13#include <aws/lexv2-models/model/BotVersionLocaleDetails.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace 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));
56 template <
typename DescriptionT = Aws::String>
58 m_descriptionHasBeenSet =
true;
59 m_description = std::forward<DescriptionT>(value);
61 template <
typename DescriptionT = Aws::String>
73 template <
typename BotVersionT = Aws::String>
75 m_botVersionHasBeenSet =
true;
76 m_botVersion = std::forward<BotVersionT>(value);
78 template <
typename BotVersionT = Aws::String>
90 return m_botVersionLocaleSpecification;
92 template <
typename BotVersionLocaleSpecificationT = Aws::Map<Aws::String, BotVersionLocaleDetails>>
94 m_botVersionLocaleSpecificationHasBeenSet =
true;
95 m_botVersionLocaleSpecification = std::forward<BotVersionLocaleSpecificationT>(value);
97 template <
typename BotVersionLocaleSpecificationT = Aws::Map<Aws::String, BotVersionLocaleDetails>>
102 template <
typename BotVersionLocaleSpecificationKeyT =
Aws::String,
105 BotVersionLocaleSpecificationValueT&& value) {
106 m_botVersionLocaleSpecificationHasBeenSet =
true;
107 m_botVersionLocaleSpecification.emplace(std::forward<BotVersionLocaleSpecificationKeyT>(key),
108 std::forward<BotVersionLocaleSpecificationValueT>(value));
122 m_botStatusHasBeenSet =
true;
136 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
138 m_creationDateTimeHasBeenSet =
true;
139 m_creationDateTime = std::forward<CreationDateTimeT>(value);
141 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
151 template <
typename RequestIdT = Aws::String>
153 m_requestIdHasBeenSet =
true;
154 m_requestId = std::forward<RequestIdT>(value);
156 template <
typename RequestIdT = Aws::String>
179 bool m_botIdHasBeenSet =
false;
180 bool m_descriptionHasBeenSet =
false;
181 bool m_botVersionHasBeenSet =
false;
182 bool m_botVersionLocaleSpecificationHasBeenSet =
false;
183 bool m_botStatusHasBeenSet =
false;
184 bool m_creationDateTimeHasBeenSet =
false;
185 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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