/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The class assigned to a Page object detected in an input document. Contains
* information regarding the predicted type/class of a document's page and the page
* number that the Page object was detected on.See Also:
AWS
* API Reference
The class, or document type, assigned to a detected Page object. The class, * or document type, assigned to a detected Page object.
*/ inline const Aws::VectorThe class, or document type, assigned to a detected Page object. The class, * or document type, assigned to a detected Page object.
*/ inline bool PageTypeHasBeenSet() const { return m_pageTypeHasBeenSet; } /** *The class, or document type, assigned to a detected Page object. The class, * or document type, assigned to a detected Page object.
*/ inline void SetPageType(const Aws::VectorThe class, or document type, assigned to a detected Page object. The class, * or document type, assigned to a detected Page object.
*/ inline void SetPageType(Aws::VectorThe class, or document type, assigned to a detected Page object. The class, * or document type, assigned to a detected Page object.
*/ inline PageClassification& WithPageType(const Aws::VectorThe class, or document type, assigned to a detected Page object. The class, * or document type, assigned to a detected Page object.
*/ inline PageClassification& WithPageType(Aws::VectorThe class, or document type, assigned to a detected Page object. The class, * or document type, assigned to a detected Page object.
*/ inline PageClassification& AddPageType(const Prediction& value) { m_pageTypeHasBeenSet = true; m_pageType.push_back(value); return *this; } /** *The class, or document type, assigned to a detected Page object. The class, * or document type, assigned to a detected Page object.
*/ inline PageClassification& AddPageType(Prediction&& value) { m_pageTypeHasBeenSet = true; m_pageType.push_back(std::move(value)); return *this; } /** *The page number the value was detected on, relative to Amazon Textract's * starting position.
*/ inline const Aws::VectorThe page number the value was detected on, relative to Amazon Textract's * starting position.
*/ inline bool PageNumberHasBeenSet() const { return m_pageNumberHasBeenSet; } /** *The page number the value was detected on, relative to Amazon Textract's * starting position.
*/ inline void SetPageNumber(const Aws::VectorThe page number the value was detected on, relative to Amazon Textract's * starting position.
*/ inline void SetPageNumber(Aws::VectorThe page number the value was detected on, relative to Amazon Textract's * starting position.
*/ inline PageClassification& WithPageNumber(const Aws::VectorThe page number the value was detected on, relative to Amazon Textract's * starting position.
*/ inline PageClassification& WithPageNumber(Aws::VectorThe page number the value was detected on, relative to Amazon Textract's * starting position.
*/ inline PageClassification& AddPageNumber(const Prediction& value) { m_pageNumberHasBeenSet = true; m_pageNumber.push_back(value); return *this; } /** *The page number the value was detected on, relative to Amazon Textract's * starting position.
*/ inline PageClassification& AddPageNumber(Prediction&& value) { m_pageNumberHasBeenSet = true; m_pageNumber.push_back(std::move(value)); return *this; } private: Aws::Vector