/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the detections for each page analyzed through the Analyze Lending
* API.See Also:
AWS
* API Reference
The page number for a page, with regard to whole submission.
*/ inline int GetPage() const{ return m_page; } /** *The page number for a page, with regard to whole submission.
*/ inline bool PageHasBeenSet() const { return m_pageHasBeenSet; } /** *The page number for a page, with regard to whole submission.
*/ inline void SetPage(int value) { m_pageHasBeenSet = true; m_page = value; } /** *The page number for a page, with regard to whole submission.
*/ inline LendingResult& WithPage(int value) { SetPage(value); return *this;} /** *The classifier result for a given page.
*/ inline const PageClassification& GetPageClassification() const{ return m_pageClassification; } /** *The classifier result for a given page.
*/ inline bool PageClassificationHasBeenSet() const { return m_pageClassificationHasBeenSet; } /** *The classifier result for a given page.
*/ inline void SetPageClassification(const PageClassification& value) { m_pageClassificationHasBeenSet = true; m_pageClassification = value; } /** *The classifier result for a given page.
*/ inline void SetPageClassification(PageClassification&& value) { m_pageClassificationHasBeenSet = true; m_pageClassification = std::move(value); } /** *The classifier result for a given page.
*/ inline LendingResult& WithPageClassification(const PageClassification& value) { SetPageClassification(value); return *this;} /** *The classifier result for a given page.
*/ inline LendingResult& WithPageClassification(PageClassification&& value) { SetPageClassification(std::move(value)); return *this;} /** *An array of Extraction to hold structured data. e.g. normalized key value * pairs instead of raw OCR detections .
*/ inline const Aws::VectorAn array of Extraction to hold structured data. e.g. normalized key value * pairs instead of raw OCR detections .
*/ inline bool ExtractionsHasBeenSet() const { return m_extractionsHasBeenSet; } /** *An array of Extraction to hold structured data. e.g. normalized key value * pairs instead of raw OCR detections .
*/ inline void SetExtractions(const Aws::VectorAn array of Extraction to hold structured data. e.g. normalized key value * pairs instead of raw OCR detections .
*/ inline void SetExtractions(Aws::VectorAn array of Extraction to hold structured data. e.g. normalized key value * pairs instead of raw OCR detections .
*/ inline LendingResult& WithExtractions(const Aws::VectorAn array of Extraction to hold structured data. e.g. normalized key value * pairs instead of raw OCR detections .
*/ inline LendingResult& WithExtractions(Aws::VectorAn array of Extraction to hold structured data. e.g. normalized key value * pairs instead of raw OCR detections .
*/ inline LendingResult& AddExtractions(const Extraction& value) { m_extractionsHasBeenSet = true; m_extractions.push_back(value); return *this; } /** *An array of Extraction to hold structured data. e.g. normalized key value * pairs instead of raw OCR detections .
*/ inline LendingResult& AddExtractions(Extraction&& value) { m_extractionsHasBeenSet = true; m_extractions.push_back(std::move(value)); return *this; } private: int m_page; bool m_pageHasBeenSet = false; PageClassification m_pageClassification; bool m_pageClassificationHasBeenSet = false; Aws::Vector