AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExpenseDetection.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/Geometry.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 ExpenseDetection();
37 AWS_TEXTRACT_API ExpenseDetection(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 ExpenseDetection& WithText(const Aws::String& value) { SetText(value); return *this;}
52 inline ExpenseDetection& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
53 inline ExpenseDetection& WithText(const char* value) { SetText(value); return *this;}
55
57
58 inline const Geometry& GetGeometry() const{ return m_geometry; }
59 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
60 inline void SetGeometry(const Geometry& value) { m_geometryHasBeenSet = true; m_geometry = value; }
61 inline void SetGeometry(Geometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); }
62 inline ExpenseDetection& WithGeometry(const Geometry& value) { SetGeometry(value); return *this;}
63 inline ExpenseDetection& WithGeometry(Geometry&& value) { SetGeometry(std::move(value)); return *this;}
65
67
70 inline double GetConfidence() const{ return m_confidence; }
71 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
72 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
73 inline ExpenseDetection& WithConfidence(double value) { SetConfidence(value); return *this;}
75 private:
76
77 Aws::String m_text;
78 bool m_textHasBeenSet = false;
79
80 Geometry m_geometry;
81 bool m_geometryHasBeenSet = false;
82
83 double m_confidence;
84 bool m_confidenceHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Textract
89} // namespace Aws
ExpenseDetection & WithGeometry(const Geometry &value)
ExpenseDetection & WithText(const char *value)
ExpenseDetection & WithConfidence(double value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TEXTRACT_API ExpenseDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API ExpenseDetection(Aws::Utils::Json::JsonView jsonValue)
ExpenseDetection & WithText(const Aws::String &value)
const Aws::String & GetText() const
void SetGeometry(const Geometry &value)
void SetText(const Aws::String &value)
ExpenseDetection & WithText(Aws::String &&value)
ExpenseDetection & WithGeometry(Geometry &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue