/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The structure holding all the information returned by
* AnalyzeExpenseSee Also:
AWS
* API Reference
Denotes which invoice or receipt in the document the information is coming * from. First document will be 1, the second 2, and so on.
*/ inline int GetExpenseIndex() const{ return m_expenseIndex; } /** *Denotes which invoice or receipt in the document the information is coming * from. First document will be 1, the second 2, and so on.
*/ inline bool ExpenseIndexHasBeenSet() const { return m_expenseIndexHasBeenSet; } /** *Denotes which invoice or receipt in the document the information is coming * from. First document will be 1, the second 2, and so on.
*/ inline void SetExpenseIndex(int value) { m_expenseIndexHasBeenSet = true; m_expenseIndex = value; } /** *Denotes which invoice or receipt in the document the information is coming * from. First document will be 1, the second 2, and so on.
*/ inline ExpenseDocument& WithExpenseIndex(int value) { SetExpenseIndex(value); return *this;} /** *Any information found outside of a table by Amazon Textract.
*/ inline const Aws::VectorAny information found outside of a table by Amazon Textract.
*/ inline bool SummaryFieldsHasBeenSet() const { return m_summaryFieldsHasBeenSet; } /** *Any information found outside of a table by Amazon Textract.
*/ inline void SetSummaryFields(const Aws::VectorAny information found outside of a table by Amazon Textract.
*/ inline void SetSummaryFields(Aws::VectorAny information found outside of a table by Amazon Textract.
*/ inline ExpenseDocument& WithSummaryFields(const Aws::VectorAny information found outside of a table by Amazon Textract.
*/ inline ExpenseDocument& WithSummaryFields(Aws::VectorAny information found outside of a table by Amazon Textract.
*/ inline ExpenseDocument& AddSummaryFields(const ExpenseField& value) { m_summaryFieldsHasBeenSet = true; m_summaryFields.push_back(value); return *this; } /** *Any information found outside of a table by Amazon Textract.
*/ inline ExpenseDocument& AddSummaryFields(ExpenseField&& value) { m_summaryFieldsHasBeenSet = true; m_summaryFields.push_back(std::move(value)); return *this; } /** *Information detected on each table of a document, seperated into
* LineItems
.
Information detected on each table of a document, seperated into
* LineItems
.
Information detected on each table of a document, seperated into
* LineItems
.
Information detected on each table of a document, seperated into
* LineItems
.
Information detected on each table of a document, seperated into
* LineItems
.
Information detected on each table of a document, seperated into
* LineItems
.
Information detected on each table of a document, seperated into
* LineItems
.
Information detected on each table of a document, seperated into
* LineItems
.
This is a block object, the same as reported when DetectDocumentText is run * on a document. It provides word level recognition of text.
*/ inline const Aws::VectorThis is a block object, the same as reported when DetectDocumentText is run * on a document. It provides word level recognition of text.
*/ inline bool BlocksHasBeenSet() const { return m_blocksHasBeenSet; } /** *This is a block object, the same as reported when DetectDocumentText is run * on a document. It provides word level recognition of text.
*/ inline void SetBlocks(const Aws::VectorThis is a block object, the same as reported when DetectDocumentText is run * on a document. It provides word level recognition of text.
*/ inline void SetBlocks(Aws::VectorThis is a block object, the same as reported when DetectDocumentText is run * on a document. It provides word level recognition of text.
*/ inline ExpenseDocument& WithBlocks(const Aws::VectorThis is a block object, the same as reported when DetectDocumentText is run * on a document. It provides word level recognition of text.
*/ inline ExpenseDocument& WithBlocks(Aws::VectorThis is a block object, the same as reported when DetectDocumentText is run * on a document. It provides word level recognition of text.
*/ inline ExpenseDocument& AddBlocks(const Block& value) { m_blocksHasBeenSet = true; m_blocks.push_back(value); return *this; } /** *This is a block object, the same as reported when DetectDocumentText is run * on a document. It provides word level recognition of text.
*/ inline ExpenseDocument& AddBlocks(Block&& value) { m_blocksHasBeenSet = true; m_blocks.push_back(std::move(value)); return *this; } private: int m_expenseIndex; bool m_expenseIndexHasBeenSet = false; Aws::Vector