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

package tsptest.armresourceprovider.implementation;

import com.azure.core.util.logging.ClientLogger;
import tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient;
import tsptest.armresourceprovider.models.CustomTemplateResourceInterfaces;

public final class CustomTemplateResourceInterfacesImpl implements CustomTemplateResourceInterfaces {
    private static final ClientLogger LOGGER = new ClientLogger(CustomTemplateResourceInterfacesImpl.class);

    private final CustomTemplateResourceInterfacesClient innerClient;

    private final tsptest.armresourceprovider.ArmResourceProviderManager serviceManager;

    public CustomTemplateResourceInterfacesImpl(CustomTemplateResourceInterfacesClient innerClient,
        tsptest.armresourceprovider.ArmResourceProviderManager serviceManager) {
        this.innerClient = innerClient;
        this.serviceManager = serviceManager;
    }

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

    private tsptest.armresourceprovider.ArmResourceProviderManager manager() {
        return this.serviceManager;
    }

    public CustomTemplateResourceImpl define(String name) {
        return new CustomTemplateResourceImpl(name, this.manager());
    }
}
