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

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

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.mysql.models.QueryPerformanceInsightResetDataResultState;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Result of Query Performance Insight data reset. */
@Fluent
public final class QueryPerformanceInsightResetDataResultInner {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(QueryPerformanceInsightResetDataResultInner.class);

    /*
     * Indicates result of the operation.
     */
    @JsonProperty(value = "status")
    private QueryPerformanceInsightResetDataResultState status;

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

    /**
     * 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() {
    }
}
