/** * 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 direction the eyes are gazing in (independent of the head pose) * as determined by its pitch and yaw.

See Also:

AWS * API Reference

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

Value representing eye direction on the yaw axis.

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

Value representing eye direction on the yaw axis.

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

Value representing eye direction on the yaw axis.

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

Value representing eye direction on the yaw axis.

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

Value representing eye direction on the pitch axis.

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

Value representing eye direction on the pitch axis.

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

Value representing eye direction on the pitch axis.

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

Value representing eye direction on the pitch axis.

*/ inline EyeDirection& WithPitch(double value) { SetPitch(value); return *this;} /** *

The confidence that the service has in its predicted eye direction.

*/ inline double GetConfidence() const{ return m_confidence; } /** *

The confidence that the service has in its predicted eye direction.

*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *

The confidence that the service has in its predicted eye direction.

*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *

The confidence that the service has in its predicted eye direction.

*/ inline EyeDirection& WithConfidence(double value) { SetConfidence(value); return *this;} private: double m_yaw; bool m_yawHasBeenSet = false; double m_pitch; bool m_pitchHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws