AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
EyeDirection.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Rekognition {
17namespace Model {
18
26 public:
27 AWS_REKOGNITION_API EyeDirection() = default;
28 AWS_REKOGNITION_API EyeDirection(Aws::Utils::Json::JsonView jsonValue);
29 AWS_REKOGNITION_API EyeDirection& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline double GetYaw() const { return m_yaw; }
37 inline bool YawHasBeenSet() const { return m_yawHasBeenSet; }
38 inline void SetYaw(double value) {
39 m_yawHasBeenSet = true;
40 m_yaw = value;
41 }
42 inline EyeDirection& WithYaw(double value) {
43 SetYaw(value);
44 return *this;
45 }
47
49
52 inline double GetPitch() const { return m_pitch; }
53 inline bool PitchHasBeenSet() const { return m_pitchHasBeenSet; }
54 inline void SetPitch(double value) {
55 m_pitchHasBeenSet = true;
56 m_pitch = value;
57 }
58 inline EyeDirection& WithPitch(double value) {
59 SetPitch(value);
60 return *this;
61 }
63
65
68 inline double GetConfidence() const { return m_confidence; }
69 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
70 inline void SetConfidence(double value) {
71 m_confidenceHasBeenSet = true;
72 m_confidence = value;
73 }
74 inline EyeDirection& WithConfidence(double value) {
75 SetConfidence(value);
76 return *this;
77 }
79 private:
80 double m_yaw{0.0};
81
82 double m_pitch{0.0};
83
84 double m_confidence{0.0};
85 bool m_yawHasBeenSet = false;
86 bool m_pitchHasBeenSet = false;
87 bool m_confidenceHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Rekognition
92} // namespace Aws
EyeDirection & WithYaw(double value)
EyeDirection & WithPitch(double value)
AWS_REKOGNITION_API EyeDirection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API EyeDirection()=default
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API EyeDirection(Aws::Utils::Json::JsonView jsonValue)
EyeDirection & WithConfidence(double value)
Aws::Utils::Json::JsonValue JsonValue