AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AnalyzeIDDetections.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/NormalizedValue.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Textract
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TEXTRACT_API AnalyzeIDDetections() = default;
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 AnalyzeIDDetections& WithText(TextT&& value) { SetText(std::forward<TextT>(value)); return *this;}
53
55
59 inline const NormalizedValue& GetNormalizedValue() const { return m_normalizedValue; }
60 inline bool NormalizedValueHasBeenSet() const { return m_normalizedValueHasBeenSet; }
61 template<typename NormalizedValueT = NormalizedValue>
62 void SetNormalizedValue(NormalizedValueT&& value) { m_normalizedValueHasBeenSet = true; m_normalizedValue = std::forward<NormalizedValueT>(value); }
63 template<typename NormalizedValueT = NormalizedValue>
64 AnalyzeIDDetections& WithNormalizedValue(NormalizedValueT&& value) { SetNormalizedValue(std::forward<NormalizedValueT>(value)); return *this;}
66
68
71 inline double GetConfidence() const { return m_confidence; }
72 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
73 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
74 inline AnalyzeIDDetections& WithConfidence(double value) { SetConfidence(value); return *this;}
76 private:
77
78 Aws::String m_text;
79 bool m_textHasBeenSet = false;
80
81 NormalizedValue m_normalizedValue;
82 bool m_normalizedValueHasBeenSet = false;
83
84 double m_confidence{0.0};
85 bool m_confidenceHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Textract
90} // namespace Aws
void SetNormalizedValue(NormalizedValueT &&value)
AWS_TEXTRACT_API AnalyzeIDDetections & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API AnalyzeIDDetections(Aws::Utils::Json::JsonView jsonValue)
AnalyzeIDDetections & WithText(TextT &&value)
const NormalizedValue & GetNormalizedValue() const
AWS_TEXTRACT_API AnalyzeIDDetections()=default
AnalyzeIDDetections & WithConfidence(double value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AnalyzeIDDetections & WithNormalizedValue(NormalizedValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue