7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
40 inline int GetIndex()
const {
return m_index; }
43 m_indexHasBeenSet =
true;
58 template <
typename ErrorCodeT = Aws::String>
60 m_errorCodeHasBeenSet =
true;
61 m_errorCode = std::forward<ErrorCodeT>(value);
63 template <
typename ErrorCodeT = Aws::String>
76 template <
typename ErrorMessageT = Aws::String>
78 m_errorMessageHasBeenSet =
true;
79 m_errorMessage = std::forward<ErrorMessageT>(value);
81 template <
typename ErrorMessageT = Aws::String>
93 bool m_indexHasBeenSet =
false;
94 bool m_errorCodeHasBeenSet =
false;
95 bool m_errorMessageHasBeenSet =
false;
BatchItemError & WithErrorCode(ErrorCodeT &&value)
bool ErrorCodeHasBeenSet() const
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorMessage() const
BatchItemError & WithErrorMessage(ErrorMessageT &&value)
AWS_COMPREHEND_API BatchItemError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API BatchItemError()=default
bool IndexHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
BatchItemError & WithIndex(int value)
bool ErrorMessageHasBeenSet() const
void SetErrorCode(ErrorCodeT &&value)
const Aws::String & GetErrorCode() const
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