/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A warning about an issue that occurred during asynchronous text analysis
* (StartDocumentAnalysis) or asynchronous document text detection
* (StartDocumentTextDetection). See Also:
AWS
* API Reference
The error code for the warning.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *The error code for the warning.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code for the warning.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code for the warning.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code for the warning.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *The error code for the warning.
*/ inline Warning& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *The error code for the warning.
*/ inline Warning& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *The error code for the warning.
*/ inline Warning& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *A list of the pages that the warning applies to.
*/ inline const Aws::VectorA list of the pages that the warning applies to.
*/ inline bool PagesHasBeenSet() const { return m_pagesHasBeenSet; } /** *A list of the pages that the warning applies to.
*/ inline void SetPages(const Aws::VectorA list of the pages that the warning applies to.
*/ inline void SetPages(Aws::VectorA list of the pages that the warning applies to.
*/ inline Warning& WithPages(const Aws::VectorA list of the pages that the warning applies to.
*/ inline Warning& WithPages(Aws::VectorA list of the pages that the warning applies to.
*/ inline Warning& AddPages(int value) { m_pagesHasBeenSet = true; m_pages.push_back(value); return *this; } private: Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::Vector