7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotStatus.h>
12#include <aws/lexv2-models/model/BotVersionLocaleDetails.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace LexModelsV2 {
38 template <
typename BotIdT = Aws::String>
40 m_botIdHasBeenSet =
true;
41 m_botId = std::forward<BotIdT>(value);
43 template <
typename BotIdT = Aws::String>
45 SetBotId(std::forward<BotIdT>(value));
55 template <
typename DescriptionT = Aws::String>
57 m_descriptionHasBeenSet =
true;
58 m_description = std::forward<DescriptionT>(value);
60 template <
typename DescriptionT = Aws::String>
72 template <
typename BotVersionT = Aws::String>
74 m_botVersionHasBeenSet =
true;
75 m_botVersion = std::forward<BotVersionT>(value);
77 template <
typename BotVersionT = Aws::String>
89 return m_botVersionLocaleSpecification;
91 template <
typename BotVersionLocaleSpecificationT = Aws::Map<Aws::String, BotVersionLocaleDetails>>
93 m_botVersionLocaleSpecificationHasBeenSet =
true;
94 m_botVersionLocaleSpecification = std::forward<BotVersionLocaleSpecificationT>(value);
96 template <
typename BotVersionLocaleSpecificationT = Aws::Map<Aws::String, BotVersionLocaleDetails>>
101 template <
typename BotVersionLocaleSpecificationKeyT =
Aws::String,
104 BotVersionLocaleSpecificationValueT&& value) {
105 m_botVersionLocaleSpecificationHasBeenSet =
true;
106 m_botVersionLocaleSpecification.emplace(std::forward<BotVersionLocaleSpecificationKeyT>(key),
107 std::forward<BotVersionLocaleSpecificationValueT>(value));
121 m_botStatusHasBeenSet =
true;
135 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
137 m_creationDateTimeHasBeenSet =
true;
138 m_creationDateTime = std::forward<CreationDateTimeT>(value);
140 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
150 template <
typename RequestIdT = Aws::String>
152 m_requestIdHasBeenSet =
true;
153 m_requestId = std::forward<RequestIdT>(value);
155 template <
typename RequestIdT = Aws::String>
175 bool m_botIdHasBeenSet =
false;
176 bool m_descriptionHasBeenSet =
false;
177 bool m_botVersionHasBeenSet =
false;
178 bool m_botVersionLocaleSpecificationHasBeenSet =
false;
179 bool m_botStatusHasBeenSet =
false;
180 bool m_creationDateTimeHasBeenSet =
false;
181 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