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

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

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

/** The properties of a resource currently being monitored by the Datadog monitor resource. */
@Fluent
public final class MonitoredResourceInner {
    /*
     * The ARM id of the resource.
     */
    @JsonProperty(value = "id")
    private String id;

    /*
     * Flag indicating if resource is sending metrics to Datadog.
     */
    @JsonProperty(value = "sendingMetrics")
    private Boolean sendingMetrics;

    /*
     * Reason for why the resource is sending metrics (or why it is not sending).
     */
    @JsonProperty(value = "reasonForMetricsStatus")
    private String reasonForMetricsStatus;

    /*
     * Flag indicating if resource is sending logs to Datadog.
     */
    @JsonProperty(value = "sendingLogs")
    private Boolean sendingLogs;

    /*
     * Reason for why the resource is sending logs (or why it is not sending).
     */
    @JsonProperty(value = "reasonForLogsStatus")
    private String reasonForLogsStatus;

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

    /**
     * Get the id property: The ARM id of the resource.
     *
     * @return the id value.
     */
    public String id() {
        return this.id;
    }

    /**
     * Set the id property: The ARM id of the resource.
     *
     * @param id the id value to set.
     * @return the MonitoredResourceInner object itself.
     */
    public MonitoredResourceInner withId(String id) {
        this.id = id;
        return this;
    }

    /**
     * Get the sendingMetrics property: Flag indicating if resource is sending metrics to Datadog.
     *
     * @return the sendingMetrics value.
     */
    public Boolean sendingMetrics() {
        return this.sendingMetrics;
    }

    /**
     * Set the sendingMetrics property: Flag indicating if resource is sending metrics to Datadog.
     *
     * @param sendingMetrics the sendingMetrics value to set.
     * @return the MonitoredResourceInner object itself.
     */
    public MonitoredResourceInner withSendingMetrics(Boolean sendingMetrics) {
        this.sendingMetrics = sendingMetrics;
        return this;
    }

    /**
     * Get the reasonForMetricsStatus property: Reason for why the resource is sending metrics (or why it is not
     * sending).
     *
     * @return the reasonForMetricsStatus value.
     */
    public String reasonForMetricsStatus() {
        return this.reasonForMetricsStatus;
    }

    /**
     * Set the reasonForMetricsStatus property: Reason for why the resource is sending metrics (or why it is not
     * sending).
     *
     * @param reasonForMetricsStatus the reasonForMetricsStatus value to set.
     * @return the MonitoredResourceInner object itself.
     */
    public MonitoredResourceInner withReasonForMetricsStatus(String reasonForMetricsStatus) {
        this.reasonForMetricsStatus = reasonForMetricsStatus;
        return this;
    }

    /**
     * Get the sendingLogs property: Flag indicating if resource is sending logs to Datadog.
     *
     * @return the sendingLogs value.
     */
    public Boolean sendingLogs() {
        return this.sendingLogs;
    }

    /**
     * Set the sendingLogs property: Flag indicating if resource is sending logs to Datadog.
     *
     * @param sendingLogs the sendingLogs value to set.
     * @return the MonitoredResourceInner object itself.
     */
    public MonitoredResourceInner withSendingLogs(Boolean sendingLogs) {
        this.sendingLogs = sendingLogs;
        return this;
    }

    /**
     * Get the reasonForLogsStatus property: Reason for why the resource is sending logs (or why it is not sending).
     *
     * @return the reasonForLogsStatus value.
     */
    public String reasonForLogsStatus() {
        return this.reasonForLogsStatus;
    }

    /**
     * Set the reasonForLogsStatus property: Reason for why the resource is sending logs (or why it is not sending).
     *
     * @param reasonForLogsStatus the reasonForLogsStatus value to set.
     * @return the MonitoredResourceInner object itself.
     */
    public MonitoredResourceInner withReasonForLogsStatus(String reasonForLogsStatus) {
        this.reasonForLogsStatus = reasonForLogsStatus;
        return this;
    }

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