AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Textract {
20namespace Model {
21
29 public:
30 AWS_TEXTRACT_API SignatureDetection() = default;
33 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline double GetConfidence() const { return m_confidence; }
41 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
42 inline void SetConfidence(double value) {
43 m_confidenceHasBeenSet = true;
44 m_confidence = value;
45 }
46 inline SignatureDetection& WithConfidence(double value) {
47 SetConfidence(value);
48 return *this;
49 }
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) {
58 m_geometryHasBeenSet = true;
59 m_geometry = std::forward<GeometryT>(value);
60 }
61 template <typename GeometryT = Geometry>
62 SignatureDetection& WithGeometry(GeometryT&& value) {
63 SetGeometry(std::forward<GeometryT>(value));
64 return *this;
65 }
67 private:
68 double m_confidence{0.0};
69
70 Geometry m_geometry;
71 bool m_confidenceHasBeenSet = false;
72 bool m_geometryHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Textract
77} // 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