7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/model/FailedCustomVocabularyItem.h>
11#include <aws/lexv2-models/model/CustomVocabularyItem.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
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>
55 template<
typename BotVersionT = Aws::String>
56 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
57 template<
typename BotVersionT = Aws::String>
69 template<
typename LocaleIdT = Aws::String>
70 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet =
true; m_localeId = std::forward<LocaleIdT>(value); }
71 template<
typename LocaleIdT = Aws::String>
81 template<
typename ErrorsT = Aws::Vector<FailedCustomVocabularyItem>>
82 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
83 template<
typename ErrorsT = Aws::Vector<FailedCustomVocabularyItem>>
85 template<
typename ErrorsT = FailedCustomVocabularyItem>
95 template<
typename ResourcesT = Aws::Vector<CustomVocabularyItem>>
96 void SetResources(ResourcesT&& value) { m_resourcesHasBeenSet =
true; m_resources = std::forward<ResourcesT>(value); }
97 template<
typename ResourcesT = Aws::Vector<CustomVocabularyItem>>
99 template<
typename ResourcesT = CustomVocabularyItem>
106 template<
typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
108 template<
typename RequestIdT = Aws::String>
114 bool m_botIdHasBeenSet =
false;
117 bool m_botVersionHasBeenSet =
false;
120 bool m_localeIdHasBeenSet =
false;
123 bool m_errorsHasBeenSet =
false;
126 bool m_resourcesHasBeenSet =
false;
129 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetBotVersion() const
void SetBotId(BotIdT &&value)
const Aws::String & GetBotId() const
void SetResources(ResourcesT &&value)
BatchCreateCustomVocabularyItemResult & WithErrors(ErrorsT &&value)
const Aws::String & GetLocaleId() const
const Aws::Vector< FailedCustomVocabularyItem > & GetErrors() const
AWS_LEXMODELSV2_API BatchCreateCustomVocabularyItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBotVersion(BotVersionT &&value)
BatchCreateCustomVocabularyItemResult & WithLocaleId(LocaleIdT &&value)
void SetLocaleId(LocaleIdT &&value)
BatchCreateCustomVocabularyItemResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELSV2_API BatchCreateCustomVocabularyItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchCreateCustomVocabularyItemResult & WithResources(ResourcesT &&value)
AWS_LEXMODELSV2_API BatchCreateCustomVocabularyItemResult()=default
BatchCreateCustomVocabularyItemResult & AddErrors(ErrorsT &&value)
const Aws::String & GetRequestId() const
BatchCreateCustomVocabularyItemResult & WithBotVersion(BotVersionT &&value)
void SetErrors(ErrorsT &&value)
BatchCreateCustomVocabularyItemResult & WithBotId(BotIdT &&value)
const Aws::Vector< CustomVocabularyItem > & GetResources() const
BatchCreateCustomVocabularyItemResult & AddResources(ResourcesT &&value)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue