// 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.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The LiveEvent action input parameter definition. */
@Fluent
public final class LiveEventActionInput {
    /*
     * The flag indicates whether live outputs are automatically deleted when live event is being stopped. Deleting
     * live outputs do not delete the underlying assets.
     */
    @JsonProperty(value = "removeOutputsOnStop")
    private Boolean removeOutputsOnStop;

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

    /**
     * Get the removeOutputsOnStop property: The flag indicates whether live outputs are automatically deleted when live
     * event is being stopped. Deleting live outputs do not delete the underlying assets.
     *
     * @return the removeOutputsOnStop value.
     */
    public Boolean removeOutputsOnStop() {
        return this.removeOutputsOnStop;
    }

    /**
     * Set the removeOutputsOnStop property: The flag indicates whether live outputs are automatically deleted when live
     * event is being stopped. Deleting live outputs do not delete the underlying assets.
     *
     * @param removeOutputsOnStop the removeOutputsOnStop value to set.
     * @return the LiveEventActionInput object itself.
     */
    public LiveEventActionInput withRemoveOutputsOnStop(Boolean removeOutputsOnStop) {
        this.removeOutputsOnStop = removeOutputsOnStop;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
