7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/ErrorCode.h>
51 inline void SetItemId(
const char* value) { m_itemIdHasBeenSet =
true; m_itemId.assign(value); }
66 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
87 bool m_itemIdHasBeenSet =
false;
90 bool m_errorMessageHasBeenSet =
false;
93 bool m_errorCodeHasBeenSet =
false;
const Aws::String & GetErrorMessage() const
FailedCustomVocabularyItem & WithErrorCode(const ErrorCode &value)
FailedCustomVocabularyItem & WithErrorMessage(const Aws::String &value)
void SetItemId(Aws::String &&value)
FailedCustomVocabularyItem & WithErrorMessage(const char *value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetItemId(const char *value)
void SetItemId(const Aws::String &value)
void SetErrorCode(ErrorCode &&value)
const ErrorCode & GetErrorCode() const
bool ItemIdHasBeenSet() const
bool ErrorMessageHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
const Aws::String & GetItemId() const
bool ErrorCodeHasBeenSet() const
FailedCustomVocabularyItem & WithItemId(Aws::String &&value)
FailedCustomVocabularyItem & WithItemId(const Aws::String &value)
FailedCustomVocabularyItem & WithErrorMessage(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
AWS_LEXMODELSV2_API FailedCustomVocabularyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const ErrorCode &value)
AWS_LEXMODELSV2_API FailedCustomVocabularyItem()
void SetErrorMessage(const char *value)
FailedCustomVocabularyItem & WithErrorCode(ErrorCode &&value)
FailedCustomVocabularyItem & WithItemId(const char *value)
AWS_LEXMODELSV2_API FailedCustomVocabularyItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue