AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LendingDetection.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/textract/model/SelectionStatus.h>
10#include <aws/textract/model/Geometry.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Textract
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_TEXTRACT_API LendingDetection() = default;
37 AWS_TEXTRACT_API LendingDetection(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetText() const { return m_text; }
47 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
48 template<typename TextT = Aws::String>
49 void SetText(TextT&& value) { m_textHasBeenSet = true; m_text = std::forward<TextT>(value); }
50 template<typename TextT = Aws::String>
51 LendingDetection& WithText(TextT&& value) { SetText(std::forward<TextT>(value)); return *this;}
53
55
59 inline SelectionStatus GetSelectionStatus() const { return m_selectionStatus; }
60 inline bool SelectionStatusHasBeenSet() const { return m_selectionStatusHasBeenSet; }
61 inline void SetSelectionStatus(SelectionStatus value) { m_selectionStatusHasBeenSet = true; m_selectionStatus = value; }
64
66
67 inline const Geometry& GetGeometry() const { return m_geometry; }
68 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
69 template<typename GeometryT = Geometry>
70 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet = true; m_geometry = std::forward<GeometryT>(value); }
71 template<typename GeometryT = Geometry>
72 LendingDetection& WithGeometry(GeometryT&& value) { SetGeometry(std::forward<GeometryT>(value)); return *this;}
74
76
80 inline double GetConfidence() const { return m_confidence; }
81 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
82 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
83 inline LendingDetection& WithConfidence(double value) { SetConfidence(value); return *this;}
85 private:
86
87 Aws::String m_text;
88 bool m_textHasBeenSet = false;
89
91 bool m_selectionStatusHasBeenSet = false;
92
93 Geometry m_geometry;
94 bool m_geometryHasBeenSet = false;
95
96 double m_confidence{0.0};
97 bool m_confidenceHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Textract
102} // namespace Aws
SelectionStatus GetSelectionStatus() const
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
LendingDetection & WithGeometry(GeometryT &&value)
LendingDetection & WithSelectionStatus(SelectionStatus value)
void SetSelectionStatus(SelectionStatus value)
AWS_TEXTRACT_API LendingDetection()=default
AWS_TEXTRACT_API LendingDetection(Aws::Utils::Json::JsonView jsonValue)
LendingDetection & WithText(TextT &&value)
AWS_TEXTRACT_API LendingDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
LendingDetection & WithConfidence(double value)
const Aws::String & GetText() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue