AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SignatureDetection.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/model/Geometry.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Textract
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TEXTRACT_API SignatureDetection() = default;
38 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline double GetConfidence() const { return m_confidence; }
47 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
48 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
49 inline SignatureDetection& WithConfidence(double value) { SetConfidence(value); return *this;}
51
53
54 inline const Geometry& GetGeometry() const { return m_geometry; }
55 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
56 template<typename GeometryT = Geometry>
57 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet = true; m_geometry = std::forward<GeometryT>(value); }
58 template<typename GeometryT = Geometry>
59 SignatureDetection& WithGeometry(GeometryT&& value) { SetGeometry(std::forward<GeometryT>(value)); return *this;}
61 private:
62
63 double m_confidence{0.0};
64 bool m_confidenceHasBeenSet = false;
65
66 Geometry m_geometry;
67 bool m_geometryHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Textract
72} // namespace Aws
AWS_TEXTRACT_API SignatureDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API SignatureDetection()=default
SignatureDetection & WithConfidence(double value)
AWS_TEXTRACT_API SignatureDetection(Aws::Utils::Json::JsonView jsonValue)
SignatureDetection & WithGeometry(GeometryT &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue