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

package com.azure.resourcemanager.mariadb.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.mariadb.models.QueryPerformanceInsightResetDataResultState;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Result of Query Performance Insight data reset. */
@Fluent
public final class QueryPerformanceInsightResetDataResultInner {
    /*
     * Indicates result of the operation.
     */
    @JsonProperty(value = "status")
    private QueryPerformanceInsightResetDataResultState status;

    /*
     * operation message.
     */
    @JsonProperty(value = "message")
    private String message;

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

    /**
     * Get the status property: Indicates result of the operation.
     *
     * @return the status value.
     */
    public QueryPerformanceInsightResetDataResultState status() {
        return this.status;
    }

    /**
     * Set the status property: Indicates result of the operation.
     *
     * @param status the status value to set.
     * @return the QueryPerformanceInsightResetDataResultInner object itself.
     */
    public QueryPerformanceInsightResetDataResultInner withStatus(QueryPerformanceInsightResetDataResultState status) {
        this.status = status;
        return this;
    }

    /**
     * Get the message property: operation message.
     *
     * @return the message value.
     */
    public String message() {
        return this.message;
    }

    /**
     * Set the message property: operation message.
     *
     * @param message the message value to set.
     * @return the QueryPerformanceInsightResetDataResultInner object itself.
     */
    public QueryPerformanceInsightResetDataResultInner withMessage(String message) {
        this.message = message;
        return this;
    }

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