All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.quicksight.model.DescribeAccountCustomizationRequest.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.quicksight.model



class DescribeAccountCustomizationRequest private constructor(builder: Builder) {
    /**
     * The ID for the Amazon Web Services account that you want to describe Amazon QuickSight customizations for.
     */
    val awsAccountId: kotlin.String? = builder.awsAccountId
    /**
     * The Amazon QuickSight namespace that you want to describe Amazon QuickSight customizations for.
     */
    val namespace: kotlin.String? = builder.namespace
    /**
     * The `Resolved` flag works with the other parameters to determine which view of Amazon QuickSight customizations is returned. You can add this flag to your command to use the same view that Amazon QuickSight uses to identify which customizations to apply to the console. Omit this flag, or set it to `no-resolved`, to reveal customizations that are configured at different levels.
     */
    val resolved: kotlin.Boolean = builder.resolved

    companion object {
        operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.DescribeAccountCustomizationRequest = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("DescribeAccountCustomizationRequest(")
        append("awsAccountId=$awsAccountId,")
        append("namespace=$namespace,")
        append("resolved=$resolved)")
    }

    override fun hashCode(): kotlin.Int {
        var result = awsAccountId?.hashCode() ?: 0
        result = 31 * result + (namespace?.hashCode() ?: 0)
        result = 31 * result + (resolved.hashCode())
        return result
    }

    override fun equals(other: kotlin.Any?): kotlin.Boolean {
        if (this === other) return true
        if (other == null || this::class != other::class) return false

        other as DescribeAccountCustomizationRequest

        if (awsAccountId != other.awsAccountId) return false
        if (namespace != other.namespace) return false
        if (resolved != other.resolved) return false

        return true
    }

    inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.DescribeAccountCustomizationRequest = Builder(this).apply(block).build()

    class Builder {
        /**
         * The ID for the Amazon Web Services account that you want to describe Amazon QuickSight customizations for.
         */
        var awsAccountId: kotlin.String? = null
        /**
         * The Amazon QuickSight namespace that you want to describe Amazon QuickSight customizations for.
         */
        var namespace: kotlin.String? = null
        /**
         * The `Resolved` flag works with the other parameters to determine which view of Amazon QuickSight customizations is returned. You can add this flag to your command to use the same view that Amazon QuickSight uses to identify which customizations to apply to the console. Omit this flag, or set it to `no-resolved`, to reveal customizations that are configured at different levels.
         */
        var resolved: kotlin.Boolean = false

        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.quicksight.model.DescribeAccountCustomizationRequest) : this() {
            this.awsAccountId = x.awsAccountId
            this.namespace = x.namespace
            this.resolved = x.resolved
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.quicksight.model.DescribeAccountCustomizationRequest = DescribeAccountCustomizationRequest(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy