7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/PageBasedErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
60 inline int GetPage()
const{
return m_page; }
62 inline void SetPage(
int value) { m_pageHasBeenSet =
true; m_page = value; }
86 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
94 bool m_pageHasBeenSet =
false;
97 bool m_errorCodeHasBeenSet =
false;
100 bool m_errorMessageHasBeenSet =
false;
void SetErrorCode(const PageBasedErrorCode &value)
void SetErrorMessage(const char *value)
AWS_COMPREHEND_API ErrorsListItem()
void SetErrorCode(PageBasedErrorCode &&value)
const Aws::String & GetErrorMessage() const
ErrorsListItem & WithErrorCode(const PageBasedErrorCode &value)
AWS_COMPREHEND_API ErrorsListItem(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const Aws::String &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
ErrorsListItem & WithPage(int value)
bool ErrorMessageHasBeenSet() const
ErrorsListItem & WithErrorMessage(Aws::String &&value)
bool PageHasBeenSet() const
const PageBasedErrorCode & GetErrorCode() const
AWS_COMPREHEND_API ErrorsListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorsListItem & WithErrorMessage(const Aws::String &value)
void SetErrorMessage(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
ErrorsListItem & WithErrorMessage(const char *value)
ErrorsListItem & WithErrorCode(PageBasedErrorCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue