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

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

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.dynatrace.models.MarketplaceSubscriptionStatus;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Marketplace SaaS resource details linked to the given tenant Id. */
@Fluent
public final class MarketplaceSaaSResourceDetailsResponseInner {
    /*
     * Id of the Marketplace SaaS Resource
     */
    @JsonProperty(value = "marketplaceSaaSResourceId")
    private String marketplaceSaaSResourceId;

    /*
     * Id of the plan
     */
    @JsonProperty(value = "planId")
    private String planId;

    /*
     * Marketplace subscription status
     */
    @JsonProperty(value = "marketplaceSubscriptionStatus")
    private MarketplaceSubscriptionStatus marketplaceSubscriptionStatus;

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

    /**
     * Get the marketplaceSaaSResourceId property: Id of the Marketplace SaaS Resource.
     *
     * @return the marketplaceSaaSResourceId value.
     */
    public String marketplaceSaaSResourceId() {
        return this.marketplaceSaaSResourceId;
    }

    /**
     * Set the marketplaceSaaSResourceId property: Id of the Marketplace SaaS Resource.
     *
     * @param marketplaceSaaSResourceId the marketplaceSaaSResourceId value to set.
     * @return the MarketplaceSaaSResourceDetailsResponseInner object itself.
     */
    public MarketplaceSaaSResourceDetailsResponseInner withMarketplaceSaaSResourceId(String marketplaceSaaSResourceId) {
        this.marketplaceSaaSResourceId = marketplaceSaaSResourceId;
        return this;
    }

    /**
     * Get the planId property: Id of the plan.
     *
     * @return the planId value.
     */
    public String planId() {
        return this.planId;
    }

    /**
     * Set the planId property: Id of the plan.
     *
     * @param planId the planId value to set.
     * @return the MarketplaceSaaSResourceDetailsResponseInner object itself.
     */
    public MarketplaceSaaSResourceDetailsResponseInner withPlanId(String planId) {
        this.planId = planId;
        return this;
    }

    /**
     * Get the marketplaceSubscriptionStatus property: Marketplace subscription status.
     *
     * @return the marketplaceSubscriptionStatus value.
     */
    public MarketplaceSubscriptionStatus marketplaceSubscriptionStatus() {
        return this.marketplaceSubscriptionStatus;
    }

    /**
     * Set the marketplaceSubscriptionStatus property: Marketplace subscription status.
     *
     * @param marketplaceSubscriptionStatus the marketplaceSubscriptionStatus value to set.
     * @return the MarketplaceSaaSResourceDetailsResponseInner object itself.
     */
    public MarketplaceSaaSResourceDetailsResponseInner withMarketplaceSubscriptionStatus(
        MarketplaceSubscriptionStatus marketplaceSubscriptionStatus) {
        this.marketplaceSubscriptionStatus = marketplaceSubscriptionStatus;
        return this;
    }

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