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

package com.azure.media.videoanalyzer.edge.models;

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

/**
 * Defines the parameter value of an specific pipeline topology parameter. See pipeline topology parameters for more
 * information.
 */
@Fluent
public final class ParameterDefinition {
    /*
     * Name of the parameter declared in the pipeline topology.
     */
    @JsonProperty(value = "name", required = true)
    private String name;

    /*
     * Parameter value to be applied on this specific live pipeline.
     */
    @JsonProperty(value = "value")
    private String value;

    /**
     * Creates an instance of ParameterDefinition class.
     *
     * @param name the name value to set.
     */
    @JsonCreator
    public ParameterDefinition(@JsonProperty(value = "name", required = true) String name) {
        this.name = name;
    }

    /**
     * Get the name property: Name of the parameter declared in the pipeline topology.
     *
     * @return the name value.
     */
    public String getName() {
        return this.name;
    }

    /**
     * Get the value property: Parameter value to be applied on this specific live pipeline.
     *
     * @return the value value.
     */
    public String getValue() {
        return this.value;
    }

    /**
     * Set the value property: Parameter value to be applied on this specific live pipeline.
     *
     * @param value the value value to set.
     * @return the ParameterDefinition object itself.
     */
    public ParameterDefinition setValue(String value) {
        this.value = value;
        return this;
    }
}
