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;
45 inline void SetBotId(
const char* value) { m_botId.assign(value); }
59 inline void SetBotVersion(
const char* value) { m_botVersion.assign(value); }
75 inline void SetLocaleId(
const char* value) { m_localeId.assign(value); }
114 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::String & GetBotVersion() const
void SetResources(const Aws::Vector< CustomVocabularyItem > &value)
void SetBotId(const Aws::String &value)
const Aws::String & GetBotId() const
void SetLocaleId(Aws::String &&value)
BatchCreateCustomVocabularyItemResult & WithBotVersion(Aws::String &&value)
BatchCreateCustomVocabularyItemResult & AddResources(CustomVocabularyItem &&value)
BatchCreateCustomVocabularyItemResult & AddErrors(FailedCustomVocabularyItem &&value)
void SetLocaleId(const Aws::String &value)
BatchCreateCustomVocabularyItemResult & WithBotId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
BatchCreateCustomVocabularyItemResult & WithBotVersion(const Aws::String &value)
BatchCreateCustomVocabularyItemResult & WithBotId(const Aws::String &value)
const Aws::String & GetLocaleId() const
const Aws::Vector< FailedCustomVocabularyItem > & GetErrors() const
BatchCreateCustomVocabularyItemResult & WithBotVersion(const char *value)
void SetErrors(const Aws::Vector< FailedCustomVocabularyItem > &value)
BatchCreateCustomVocabularyItemResult & WithLocaleId(const Aws::String &value)
BatchCreateCustomVocabularyItemResult & WithResources(const Aws::Vector< CustomVocabularyItem > &value)
AWS_LEXMODELSV2_API BatchCreateCustomVocabularyItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBotVersion(Aws::String &&value)
void SetBotId(const char *value)
BatchCreateCustomVocabularyItemResult & WithRequestId(const Aws::String &value)
void SetBotVersion(const char *value)
AWS_LEXMODELSV2_API BatchCreateCustomVocabularyItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchCreateCustomVocabularyItemResult & WithBotId(const char *value)
BatchCreateCustomVocabularyItemResult & WithRequestId(const char *value)
BatchCreateCustomVocabularyItemResult & WithErrors(Aws::Vector< FailedCustomVocabularyItem > &&value)
void SetLocaleId(const char *value)
BatchCreateCustomVocabularyItemResult & AddResources(const CustomVocabularyItem &value)
BatchCreateCustomVocabularyItemResult & WithLocaleId(Aws::String &&value)
const Aws::String & GetRequestId() const
BatchCreateCustomVocabularyItemResult & WithRequestId(Aws::String &&value)
BatchCreateCustomVocabularyItemResult & WithErrors(const Aws::Vector< FailedCustomVocabularyItem > &value)
BatchCreateCustomVocabularyItemResult & WithResources(Aws::Vector< CustomVocabularyItem > &&value)
void SetBotVersion(const Aws::String &value)
BatchCreateCustomVocabularyItemResult & AddErrors(const FailedCustomVocabularyItem &value)
void SetResources(Aws::Vector< CustomVocabularyItem > &&value)
void SetErrors(Aws::Vector< FailedCustomVocabularyItem > &&value)
void SetRequestId(Aws::String &&value)
void SetBotId(Aws::String &&value)
AWS_LEXMODELSV2_API BatchCreateCustomVocabularyItemResult()
BatchCreateCustomVocabularyItemResult & WithLocaleId(const char *value)
void SetRequestId(const char *value)
const Aws::Vector< CustomVocabularyItem > & GetResources() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue