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

package com.azure.resourcemanager.mediaservices.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** The encoding profile to be used when encoding audio with AAC. */
public final class AacAudioProfile extends ExpandableStringEnum<AacAudioProfile> {
    /** Static value AacLc for AacAudioProfile. */
    public static final AacAudioProfile AAC_LC = fromString("AacLc");

    /** Static value HeAacV1 for AacAudioProfile. */
    public static final AacAudioProfile HE_AAC_V1 = fromString("HeAacV1");

    /** Static value HeAacV2 for AacAudioProfile. */
    public static final AacAudioProfile HE_AAC_V2 = fromString("HeAacV2");

    /**
     * Creates a new instance of AacAudioProfile value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AacAudioProfile() {
    }

    /**
     * Creates or finds a AacAudioProfile from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding AacAudioProfile.
     */
    @JsonCreator
    public static AacAudioProfile fromString(String name) {
        return fromString(name, AacAudioProfile.class);
    }

    /**
     * Gets known AacAudioProfile values.
     *
     * @return known AacAudioProfile values.
     */
    public static Collection<AacAudioProfile> values() {
        return values(AacAudioProfile.class);
    }
}
