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/rekognition/Rekognition_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 Rekognition
20{
21namespace Model
22{
23
37 class Point
38 {
39 public:
40 AWS_REKOGNITION_API Point();
41 AWS_REKOGNITION_API Point(Aws::Utils::Json::JsonView jsonValue);
42 AWS_REKOGNITION_API Point& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline double GetX() const{ return m_x; }
51 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
52 inline void SetX(double value) { m_xHasBeenSet = true; m_x = value; }
53 inline Point& WithX(double value) { SetX(value); return *this;}
55
57
60 inline double GetY() const{ return m_y; }
61 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
62 inline void SetY(double value) { m_yHasBeenSet = true; m_y = value; }
63 inline Point& WithY(double value) { SetY(value); return *this;}
65 private:
66
67 double m_x;
68 bool m_xHasBeenSet = false;
69
70 double m_y;
71 bool m_yHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Rekognition
76} // namespace Aws
AWS_REKOGNITION_API Point & operator=(Aws::Utils::Json::JsonView jsonValue)
Point & WithY(double value)
Definition Point.h:63
void SetX(double value)
Definition Point.h:52
AWS_REKOGNITION_API Point(Aws::Utils::Json::JsonView jsonValue)
Point & WithX(double value)
Definition Point.h:53
AWS_REKOGNITION_API Point()
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetY(double value)
Definition Point.h:62
Aws::Utils::Json::JsonValue JsonValue