AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
49 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
50 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
51 inline LendingDetection& WithText(const Aws::String& value) { SetText(value); return *this;}
52 inline LendingDetection& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
53 inline LendingDetection& WithText(const char* value) { SetText(value); return *this;}
55
57
61 inline const SelectionStatus& GetSelectionStatus() const{ return m_selectionStatus; }
62 inline bool SelectionStatusHasBeenSet() const { return m_selectionStatusHasBeenSet; }
63 inline void SetSelectionStatus(const SelectionStatus& value) { m_selectionStatusHasBeenSet = true; m_selectionStatus = value; }
64 inline void SetSelectionStatus(SelectionStatus&& value) { m_selectionStatusHasBeenSet = true; m_selectionStatus = std::move(value); }
65 inline LendingDetection& WithSelectionStatus(const SelectionStatus& value) { SetSelectionStatus(value); return *this;}
66 inline LendingDetection& WithSelectionStatus(SelectionStatus&& value) { SetSelectionStatus(std::move(value)); return *this;}
68
70
71 inline const Geometry& GetGeometry() const{ return m_geometry; }
72 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
73 inline void SetGeometry(const Geometry& value) { m_geometryHasBeenSet = true; m_geometry = value; }
74 inline void SetGeometry(Geometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); }
75 inline LendingDetection& WithGeometry(const Geometry& value) { SetGeometry(value); return *this;}
76 inline LendingDetection& WithGeometry(Geometry&& value) { SetGeometry(std::move(value)); return *this;}
78
80
84 inline double GetConfidence() const{ return m_confidence; }
85 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
86 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
87 inline LendingDetection& WithConfidence(double value) { SetConfidence(value); return *this;}
89 private:
90
91 Aws::String m_text;
92 bool m_textHasBeenSet = false;
93
94 SelectionStatus m_selectionStatus;
95 bool m_selectionStatusHasBeenSet = false;
96
97 Geometry m_geometry;
98 bool m_geometryHasBeenSet = false;
99
100 double m_confidence;
101 bool m_confidenceHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Textract
106} // namespace Aws
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
LendingDetection & WithGeometry(Geometry &&value)
LendingDetection & WithSelectionStatus(const SelectionStatus &value)
LendingDetection & WithGeometry(const Geometry &value)
void SetText(const Aws::String &value)
AWS_TEXTRACT_API LendingDetection(Aws::Utils::Json::JsonView jsonValue)
const SelectionStatus & GetSelectionStatus() const
void SetSelectionStatus(const SelectionStatus &value)
AWS_TEXTRACT_API LendingDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
LendingDetection & WithSelectionStatus(SelectionStatus &&value)
void SetSelectionStatus(SelectionStatus &&value)
LendingDetection & WithConfidence(double value)
LendingDetection & WithText(const char *value)
LendingDetection & WithText(const Aws::String &value)
void SetGeometry(const Geometry &value)
LendingDetection & WithText(Aws::String &&value)
const Aws::String & GetText() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue