AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Point.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Textract
20{
21namespace Model
22{
23
36 class Point
37 {
38 public:
39 AWS_TEXTRACT_API Point();
40 AWS_TEXTRACT_API Point(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TEXTRACT_API Point& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline double GetX() const{ return m_x; }
50 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
51 inline void SetX(double value) { m_xHasBeenSet = true; m_x = value; }
52 inline Point& WithX(double value) { SetX(value); return *this;}
54
56
59 inline double GetY() const{ return m_y; }
60 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
61 inline void SetY(double value) { m_yHasBeenSet = true; m_y = value; }
62 inline Point& WithY(double value) { SetY(value); return *this;}
64 private:
65
66 double m_x;
67 bool m_xHasBeenSet = false;
68
69 double m_y;
70 bool m_yHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Textract
75} // namespace Aws
void SetY(double value)
Definition Point.h:61
double GetY() const
Definition Point.h:59
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
Point & WithX(double value)
Definition Point.h:52
bool XHasBeenSet() const
Definition Point.h:50
bool YHasBeenSet() const
Definition Point.h:60
double GetX() const
Definition Point.h:49
void SetX(double value)
Definition Point.h:51
Point & WithY(double value)
Definition Point.h:62
AWS_TEXTRACT_API Point(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API Point()
AWS_TEXTRACT_API Point & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue