7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetIndex(
int value) { m_indexHasBeenSet =
true; m_index = value; }
60 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
74 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
82 bool m_indexHasBeenSet =
false;
85 bool m_errorCodeHasBeenSet =
false;
88 bool m_errorMessageHasBeenSet =
false;
bool ErrorCodeHasBeenSet() const
BatchItemError & WithErrorMessage(const Aws::String &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(const Aws::String &value)
const Aws::String & GetErrorMessage() const
BatchItemError & WithErrorMessage(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
void SetErrorMessage(const char *value)
BatchItemError & WithErrorCode(const char *value)
AWS_COMPREHEND_API BatchItemError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchItemError & WithErrorMessage(const char *value)
void SetErrorMessage(const Aws::String &value)
BatchItemError & WithErrorCode(Aws::String &&value)
void SetErrorCode(Aws::String &&value)
AWS_COMPREHEND_API BatchItemError()
bool IndexHasBeenSet() const
BatchItemError & WithIndex(int value)
BatchItemError & WithErrorCode(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
const Aws::String & GetErrorCode() const
void SetErrorCode(const char *value)
AWS_COMPREHEND_API BatchItemError(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue