AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 AnalyzeIDDetections& WithText(const Aws::String& value) { SetText(value); return *this;}
52 inline AnalyzeIDDetections& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
53 inline AnalyzeIDDetections& WithText(const char* value) { SetText(value); return *this;}
55
57
61 inline const NormalizedValue& GetNormalizedValue() const{ return m_normalizedValue; }
62 inline bool NormalizedValueHasBeenSet() const { return m_normalizedValueHasBeenSet; }
63 inline void SetNormalizedValue(const NormalizedValue& value) { m_normalizedValueHasBeenSet = true; m_normalizedValue = value; }
64 inline void SetNormalizedValue(NormalizedValue&& value) { m_normalizedValueHasBeenSet = true; m_normalizedValue = std::move(value); }
65 inline AnalyzeIDDetections& WithNormalizedValue(const NormalizedValue& value) { SetNormalizedValue(value); return *this;}
66 inline AnalyzeIDDetections& WithNormalizedValue(NormalizedValue&& value) { SetNormalizedValue(std::move(value)); return *this;}
68
70
73 inline double GetConfidence() const{ return m_confidence; }
74 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
75 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
76 inline AnalyzeIDDetections& WithConfidence(double value) { SetConfidence(value); return *this;}
78 private:
79
80 Aws::String m_text;
81 bool m_textHasBeenSet = false;
82
83 NormalizedValue m_normalizedValue;
84 bool m_normalizedValueHasBeenSet = false;
85
86 double m_confidence;
87 bool m_confidenceHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Textract
92} // namespace Aws
AnalyzeIDDetections & WithText(Aws::String &&value)
void SetNormalizedValue(NormalizedValue &&value)
void SetNormalizedValue(const NormalizedValue &value)
AnalyzeIDDetections & WithNormalizedValue(const NormalizedValue &value)
AWS_TEXTRACT_API AnalyzeIDDetections & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API AnalyzeIDDetections(Aws::Utils::Json::JsonView jsonValue)
AnalyzeIDDetections & WithNormalizedValue(NormalizedValue &&value)
AnalyzeIDDetections & WithText(const char *value)
const NormalizedValue & GetNormalizedValue() const
AnalyzeIDDetections & WithConfidence(double value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AnalyzeIDDetections & WithText(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue