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

package com.azure.maps.search.implementation.models;

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

/** The SearchesGetReverseSearchAddressBatchHeaders model. */
@Fluent
public final class SearchesGetReverseSearchAddressBatchHeaders {
    /*
     * The Location property.
     */
    @JsonProperty(value = "Location")
    private String location;

    // HttpHeaders containing the raw property values.
    /**
     * Creates an instance of SearchesGetReverseSearchAddressBatchHeaders class.
     *
     * @param rawHeaders The raw HttpHeaders that will be used to create the property values.
     */
    public SearchesGetReverseSearchAddressBatchHeaders(HttpHeaders rawHeaders) {
        this.location = rawHeaders.getValue("Location");
    }

    /**
     * Get the location property: The Location property.
     *
     * @return the location value.
     */
    public String getLocation() {
        return this.location;
    }

    /**
     * Set the location property: The Location property.
     *
     * @param location the location value to set.
     * @return the SearchesGetReverseSearchAddressBatchHeaders object itself.
     */
    public SearchesGetReverseSearchAddressBatchHeaders setLocation(String location) {
        this.location = location;
        return this;
    }
}
