/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.cognitiveservices.vision.faceapi.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Properties indicating head pose of the face.
 */
public class HeadPose {
    /**
     * The roll property.
     */
    @JsonProperty(value = "roll")
    private double roll;

    /**
     * The yaw property.
     */
    @JsonProperty(value = "yaw")
    private double yaw;

    /**
     * The pitch property.
     */
    @JsonProperty(value = "pitch")
    private double pitch;

    /**
     * Get the roll value.
     *
     * @return the roll value
     */
    public double roll() {
        return this.roll;
    }

    /**
     * Set the roll value.
     *
     * @param roll the roll value to set
     * @return the HeadPose object itself.
     */
    public HeadPose withRoll(double roll) {
        this.roll = roll;
        return this;
    }

    /**
     * Get the yaw value.
     *
     * @return the yaw value
     */
    public double yaw() {
        return this.yaw;
    }

    /**
     * Set the yaw value.
     *
     * @param yaw the yaw value to set
     * @return the HeadPose object itself.
     */
    public HeadPose withYaw(double yaw) {
        this.yaw = yaw;
        return this;
    }

    /**
     * Get the pitch value.
     *
     * @return the pitch value
     */
    public double pitch() {
        return this.pitch;
    }

    /**
     * Set the pitch value.
     *
     * @param pitch the pitch value to set
     * @return the HeadPose object itself.
     */
    public HeadPose withPitch(double pitch) {
        this.pitch = pitch;
        return this;
    }

}
