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

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

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

/** An object that contains the details about warm storage properties usage state. */
@Fluent
public final class WarmStoragePropertiesUsageStateDetails {
    /*
     * A value that represents the number of properties used by the environment for S1/S2 SKU and number of properties
     * used by Warm Store for PAYG SKU
     */
    @JsonProperty(value = "currentCount")
    private Integer currentCount;

    /*
     * A value that represents the maximum number of properties used allowed by the environment for S1/S2 SKU and
     * maximum number of properties allowed by Warm Store for PAYG SKU.
     */
    @JsonProperty(value = "maxCount")
    private Integer maxCount;

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

    /**
     * Get the currentCount property: A value that represents the number of properties used by the environment for S1/S2
     * SKU and number of properties used by Warm Store for PAYG SKU.
     *
     * @return the currentCount value.
     */
    public Integer currentCount() {
        return this.currentCount;
    }

    /**
     * Set the currentCount property: A value that represents the number of properties used by the environment for S1/S2
     * SKU and number of properties used by Warm Store for PAYG SKU.
     *
     * @param currentCount the currentCount value to set.
     * @return the WarmStoragePropertiesUsageStateDetails object itself.
     */
    public WarmStoragePropertiesUsageStateDetails withCurrentCount(Integer currentCount) {
        this.currentCount = currentCount;
        return this;
    }

    /**
     * Get the maxCount property: A value that represents the maximum number of properties used allowed by the
     * environment for S1/S2 SKU and maximum number of properties allowed by Warm Store for PAYG SKU.
     *
     * @return the maxCount value.
     */
    public Integer maxCount() {
        return this.maxCount;
    }

    /**
     * Set the maxCount property: A value that represents the maximum number of properties used allowed by the
     * environment for S1/S2 SKU and maximum number of properties allowed by Warm Store for PAYG SKU.
     *
     * @param maxCount the maxCount value to set.
     * @return the WarmStoragePropertiesUsageStateDetails object itself.
     */
    public WarmStoragePropertiesUsageStateDetails withMaxCount(Integer maxCount) {
        this.maxCount = maxCount;
        return this;
    }

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