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

Information regarding a detected signature on a page.

See * Also:

AWS * API Reference

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

The confidence, from 0 to 100, in the predicted values for a detected * signature.

*/ inline double GetConfidence() const{ return m_confidence; } /** *

The confidence, from 0 to 100, in the predicted values for a detected * signature.

*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *

The confidence, from 0 to 100, in the predicted values for a detected * signature.

*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *

The confidence, from 0 to 100, in the predicted values for a detected * signature.

*/ inline SignatureDetection& WithConfidence(double value) { SetConfidence(value); return *this;} inline const Geometry& GetGeometry() const{ return m_geometry; } inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; } inline void SetGeometry(const Geometry& value) { m_geometryHasBeenSet = true; m_geometry = value; } inline void SetGeometry(Geometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); } inline SignatureDetection& WithGeometry(const Geometry& value) { SetGeometry(value); return *this;} inline SignatureDetection& WithGeometry(Geometry&& value) { SetGeometry(std::move(value)); return *this;} private: double m_confidence; bool m_confidenceHasBeenSet = false; Geometry m_geometry; bool m_geometryHasBeenSet = false; }; } // namespace Model } // namespace Textract } // namespace Aws