// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.communication.callautomation.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The speech status as a result. */
@Fluent
public final class SpeechResult {
    /*
     * The recognized speech in string.
     */
    @JsonProperty(value = "speech")
    private String speech;

    /** Creates an instance of SpeechResult class. */
    public SpeechResult() {}

    /**
     * Get the speech property: The recognized speech in string.
     *
     * @return the speech value.
     */
    public String getSpeech() {
        return this.speech;
    }

    /**
     * Set the speech property: The recognized speech in string.
     *
     * @param speech the speech value to set.
     * @return the SpeechResult object itself.
     */
    public SpeechResult setSpeech(String speech) {
        this.speech = speech;
        return this;
    }
}
