/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { /** *

Indicates the pose of the face as determined by its pitch, roll, and * yaw.

See Also:

AWS * API Reference

*/ class Pose { public: AWS_REKOGNITION_API Pose(); AWS_REKOGNITION_API Pose(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API Pose& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Value representing the face rotation on the roll axis.

*/ inline double GetRoll() const{ return m_roll; } /** *

Value representing the face rotation on the roll axis.

*/ inline bool RollHasBeenSet() const { return m_rollHasBeenSet; } /** *

Value representing the face rotation on the roll axis.

*/ inline void SetRoll(double value) { m_rollHasBeenSet = true; m_roll = value; } /** *

Value representing the face rotation on the roll axis.

*/ inline Pose& WithRoll(double value) { SetRoll(value); return *this;} /** *

Value representing the face rotation on the yaw axis.

*/ inline double GetYaw() const{ return m_yaw; } /** *

Value representing the face rotation on the yaw axis.

*/ inline bool YawHasBeenSet() const { return m_yawHasBeenSet; } /** *

Value representing the face rotation on the yaw axis.

*/ inline void SetYaw(double value) { m_yawHasBeenSet = true; m_yaw = value; } /** *

Value representing the face rotation on the yaw axis.

*/ inline Pose& WithYaw(double value) { SetYaw(value); return *this;} /** *

Value representing the face rotation on the pitch axis.

*/ inline double GetPitch() const{ return m_pitch; } /** *

Value representing the face rotation on the pitch axis.

*/ inline bool PitchHasBeenSet() const { return m_pitchHasBeenSet; } /** *

Value representing the face rotation on the pitch axis.

*/ inline void SetPitch(double value) { m_pitchHasBeenSet = true; m_pitch = value; } /** *

Value representing the face rotation on the pitch axis.

*/ inline Pose& WithPitch(double value) { SetPitch(value); return *this;} private: double m_roll; bool m_rollHasBeenSet = false; double m_yaw; bool m_yawHasBeenSet = false; double m_pitch; bool m_pitchHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws