/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Textract { namespace Model { /** *

A structure that holds information regarding a detected signature on a * page.

See Also:

AWS * API Reference

*/ class DetectedSignature { public: AWS_TEXTRACT_API DetectedSignature(); AWS_TEXTRACT_API DetectedSignature(Aws::Utils::Json::JsonView jsonValue); AWS_TEXTRACT_API DetectedSignature& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The page a detected signature was found on.

*/ inline int GetPage() const{ return m_page; } /** *

The page a detected signature was found on.

*/ inline bool PageHasBeenSet() const { return m_pageHasBeenSet; } /** *

The page a detected signature was found on.

*/ inline void SetPage(int value) { m_pageHasBeenSet = true; m_page = value; } /** *

The page a detected signature was found on.

*/ inline DetectedSignature& WithPage(int value) { SetPage(value); return *this;} private: int m_page; bool m_pageHasBeenSet = false; }; } // namespace Model } // namespace Textract } // namespace Aws