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

package com.azure.resourcemanager.kusto.implementation;

import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.kusto.fluent.OperationsResultsLocationsClient;
import com.azure.resourcemanager.kusto.models.OperationsResultsLocations;

public final class OperationsResultsLocationsImpl implements OperationsResultsLocations {
    private static final ClientLogger LOGGER = new ClientLogger(OperationsResultsLocationsImpl.class);

    private final OperationsResultsLocationsClient innerClient;

    private final com.azure.resourcemanager.kusto.KustoManager serviceManager;

    public OperationsResultsLocationsImpl(
        OperationsResultsLocationsClient innerClient, com.azure.resourcemanager.kusto.KustoManager serviceManager) {
        this.innerClient = innerClient;
        this.serviceManager = serviceManager;
    }

    public Response<Void> getWithResponse(String location, String operationId, Context context) {
        return this.serviceClient().getWithResponse(location, operationId, context);
    }

    public void get(String location, String operationId) {
        this.serviceClient().get(location, operationId);
    }

    private OperationsResultsLocationsClient serviceClient() {
        return this.innerClient;
    }

    private com.azure.resourcemanager.kusto.KustoManager manager() {
        return this.serviceManager;
    }
}
