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/comprehend/Comprehend_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 Comprehend
20{
21namespace Model
22{
23
32 class Point
33 {
34 public:
35 AWS_COMPREHEND_API Point();
36 AWS_COMPREHEND_API Point(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COMPREHEND_API Point& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline double GetX() const{ return m_x; }
46 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
47 inline void SetX(double value) { m_xHasBeenSet = true; m_x = value; }
48 inline Point& WithX(double value) { SetX(value); return *this;}
50
52
55 inline double GetY() const{ return m_y; }
56 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
57 inline void SetY(double value) { m_yHasBeenSet = true; m_y = value; }
58 inline Point& WithY(double value) { SetY(value); return *this;}
60 private:
61
62 double m_x;
63 bool m_xHasBeenSet = false;
64
65 double m_y;
66 bool m_yHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Comprehend
71} // namespace Aws
AWS_COMPREHEND_API Point(Aws::Utils::Json::JsonView jsonValue)
double GetY() const
Definition Point.h:55
Point & WithX(double value)
Definition Point.h:48
void SetY(double value)
Definition Point.h:57
bool XHasBeenSet() const
Definition Point.h:46
void SetX(double value)
Definition Point.h:47
Point & WithY(double value)
Definition Point.h:58
bool YHasBeenSet() const
Definition Point.h:56
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
double GetX() const
Definition Point.h:45
AWS_COMPREHEND_API Point & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API Point()
Aws::Utils::Json::JsonValue JsonValue