AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BoundingBox.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
36 {
37 public:
38 AWS_COMPREHEND_API BoundingBox();
39 AWS_COMPREHEND_API BoundingBox(Aws::Utils::Json::JsonView jsonValue);
40 AWS_COMPREHEND_API BoundingBox& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline double GetHeight() const{ return m_height; }
50 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
51 inline void SetHeight(double value) { m_heightHasBeenSet = true; m_height = value; }
52 inline BoundingBox& WithHeight(double value) { SetHeight(value); return *this;}
54
56
60 inline double GetLeft() const{ return m_left; }
61 inline bool LeftHasBeenSet() const { return m_leftHasBeenSet; }
62 inline void SetLeft(double value) { m_leftHasBeenSet = true; m_left = value; }
63 inline BoundingBox& WithLeft(double value) { SetLeft(value); return *this;}
65
67
71 inline double GetTop() const{ return m_top; }
72 inline bool TopHasBeenSet() const { return m_topHasBeenSet; }
73 inline void SetTop(double value) { m_topHasBeenSet = true; m_top = value; }
74 inline BoundingBox& WithTop(double value) { SetTop(value); return *this;}
76
78
82 inline double GetWidth() const{ return m_width; }
83 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
84 inline void SetWidth(double value) { m_widthHasBeenSet = true; m_width = value; }
85 inline BoundingBox& WithWidth(double value) { SetWidth(value); return *this;}
87 private:
88
89 double m_height;
90 bool m_heightHasBeenSet = false;
91
92 double m_left;
93 bool m_leftHasBeenSet = false;
94
95 double m_top;
96 bool m_topHasBeenSet = false;
97
98 double m_width;
99 bool m_widthHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Comprehend
104} // namespace Aws
AWS_COMPREHEND_API BoundingBox(Aws::Utils::Json::JsonView jsonValue)
BoundingBox & WithHeight(double value)
Definition BoundingBox.h:52
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API BoundingBox & operator=(Aws::Utils::Json::JsonView jsonValue)
BoundingBox & WithLeft(double value)
Definition BoundingBox.h:63
BoundingBox & WithWidth(double value)
Definition BoundingBox.h:85
BoundingBox & WithTop(double value)
Definition BoundingBox.h:74
AWS_COMPREHEND_API BoundingBox()
Aws::Utils::Json::JsonValue JsonValue