1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/rekognition/Rekognition_EXPORTS.h>
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15   class JsonValue;
16   class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace Rekognition
20 {
21 namespace Model
22 {
23 
24   /**
25    * <p>Indicates the pose of the face as determined by its pitch, roll, and
26    * yaw.</p><p><h3>See Also:</h3>   <a
27    * href="http://docs.aws.amazon.com/goto/WebAPI/rekognition-2016-06-27/Pose">AWS
28    * API Reference</a></p>
29    */
30   class AWS_REKOGNITION_API Pose
31   {
32   public:
33     Pose();
34     Pose(Aws::Utils::Json::JsonView jsonValue);
35     Pose& operator=(Aws::Utils::Json::JsonView jsonValue);
36     Aws::Utils::Json::JsonValue Jsonize() const;
37 
38 
39     /**
40      * <p>Value representing the face rotation on the roll axis.</p>
41      */
GetRoll()42     inline double GetRoll() const{ return m_roll; }
43 
44     /**
45      * <p>Value representing the face rotation on the roll axis.</p>
46      */
RollHasBeenSet()47     inline bool RollHasBeenSet() const { return m_rollHasBeenSet; }
48 
49     /**
50      * <p>Value representing the face rotation on the roll axis.</p>
51      */
SetRoll(double value)52     inline void SetRoll(double value) { m_rollHasBeenSet = true; m_roll = value; }
53 
54     /**
55      * <p>Value representing the face rotation on the roll axis.</p>
56      */
WithRoll(double value)57     inline Pose& WithRoll(double value) { SetRoll(value); return *this;}
58 
59 
60     /**
61      * <p>Value representing the face rotation on the yaw axis.</p>
62      */
GetYaw()63     inline double GetYaw() const{ return m_yaw; }
64 
65     /**
66      * <p>Value representing the face rotation on the yaw axis.</p>
67      */
YawHasBeenSet()68     inline bool YawHasBeenSet() const { return m_yawHasBeenSet; }
69 
70     /**
71      * <p>Value representing the face rotation on the yaw axis.</p>
72      */
SetYaw(double value)73     inline void SetYaw(double value) { m_yawHasBeenSet = true; m_yaw = value; }
74 
75     /**
76      * <p>Value representing the face rotation on the yaw axis.</p>
77      */
WithYaw(double value)78     inline Pose& WithYaw(double value) { SetYaw(value); return *this;}
79 
80 
81     /**
82      * <p>Value representing the face rotation on the pitch axis.</p>
83      */
GetPitch()84     inline double GetPitch() const{ return m_pitch; }
85 
86     /**
87      * <p>Value representing the face rotation on the pitch axis.</p>
88      */
PitchHasBeenSet()89     inline bool PitchHasBeenSet() const { return m_pitchHasBeenSet; }
90 
91     /**
92      * <p>Value representing the face rotation on the pitch axis.</p>
93      */
SetPitch(double value)94     inline void SetPitch(double value) { m_pitchHasBeenSet = true; m_pitch = value; }
95 
96     /**
97      * <p>Value representing the face rotation on the pitch axis.</p>
98      */
WithPitch(double value)99     inline Pose& WithPitch(double value) { SetPitch(value); return *this;}
100 
101   private:
102 
103     double m_roll;
104     bool m_rollHasBeenSet;
105 
106     double m_yaw;
107     bool m_yawHasBeenSet;
108 
109     double m_pitch;
110     bool m_pitchHasBeenSet;
111   };
112 
113 } // namespace Model
114 } // namespace Rekognition
115 } // namespace Aws
116