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

package com.azure.resourcemanager.providerhub.models;

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

/** The ResourceMovePolicy model. */
@Fluent
public class ResourceMovePolicy {
    /*
     * The validationRequired property.
     */
    @JsonProperty(value = "validationRequired")
    private Boolean validationRequired;

    /*
     * The crossResourceGroupMoveEnabled property.
     */
    @JsonProperty(value = "crossResourceGroupMoveEnabled")
    private Boolean crossResourceGroupMoveEnabled;

    /*
     * The crossSubscriptionMoveEnabled property.
     */
    @JsonProperty(value = "crossSubscriptionMoveEnabled")
    private Boolean crossSubscriptionMoveEnabled;

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

    /**
     * Get the validationRequired property: The validationRequired property.
     *
     * @return the validationRequired value.
     */
    public Boolean validationRequired() {
        return this.validationRequired;
    }

    /**
     * Set the validationRequired property: The validationRequired property.
     *
     * @param validationRequired the validationRequired value to set.
     * @return the ResourceMovePolicy object itself.
     */
    public ResourceMovePolicy withValidationRequired(Boolean validationRequired) {
        this.validationRequired = validationRequired;
        return this;
    }

    /**
     * Get the crossResourceGroupMoveEnabled property: The crossResourceGroupMoveEnabled property.
     *
     * @return the crossResourceGroupMoveEnabled value.
     */
    public Boolean crossResourceGroupMoveEnabled() {
        return this.crossResourceGroupMoveEnabled;
    }

    /**
     * Set the crossResourceGroupMoveEnabled property: The crossResourceGroupMoveEnabled property.
     *
     * @param crossResourceGroupMoveEnabled the crossResourceGroupMoveEnabled value to set.
     * @return the ResourceMovePolicy object itself.
     */
    public ResourceMovePolicy withCrossResourceGroupMoveEnabled(Boolean crossResourceGroupMoveEnabled) {
        this.crossResourceGroupMoveEnabled = crossResourceGroupMoveEnabled;
        return this;
    }

    /**
     * Get the crossSubscriptionMoveEnabled property: The crossSubscriptionMoveEnabled property.
     *
     * @return the crossSubscriptionMoveEnabled value.
     */
    public Boolean crossSubscriptionMoveEnabled() {
        return this.crossSubscriptionMoveEnabled;
    }

    /**
     * Set the crossSubscriptionMoveEnabled property: The crossSubscriptionMoveEnabled property.
     *
     * @param crossSubscriptionMoveEnabled the crossSubscriptionMoveEnabled value to set.
     * @return the ResourceMovePolicy object itself.
     */
    public ResourceMovePolicy withCrossSubscriptionMoveEnabled(Boolean crossSubscriptionMoveEnabled) {
        this.crossSubscriptionMoveEnabled = crossSubscriptionMoveEnabled;
        return this;
    }

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