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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDefinitionArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.AnalysisDefinitionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property analysisDefaults
 * @property calculatedFields An array of calculated field definitions for the analysis.
 * @property columnConfigurations An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
 * @property dataSetIdentifierDeclarations An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
 * @property filterGroups Filter definitions for an analysis.
 * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
 * @property options An array of option definitions for an analysis.
 * @property parameterDeclarations An array of parameter declarations for an analysis.
 * Parameters are named variables that can transfer a value for use by an action or an object.
 * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
 * @property queryExecutionOptions
 * @property sheets An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
 */
public data class AnalysisDefinitionArgs(
    public val analysisDefaults: Output? = null,
    public val calculatedFields: Output>? = null,
    public val columnConfigurations: Output>? = null,
    public val dataSetIdentifierDeclarations: Output>,
    public val filterGroups: Output>? = null,
    public val options: Output? = null,
    public val parameterDeclarations: Output>? = null,
    public val queryExecutionOptions: Output? = null,
    public val sheets: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisDefinitionArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisDefinitionArgs.builder()
            .analysisDefaults(analysisDefaults?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .calculatedFields(
                calculatedFields?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .columnConfigurations(
                columnConfigurations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .dataSetIdentifierDeclarations(
                dataSetIdentifierDeclarations.applyValue({ args0 ->
                    args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .filterGroups(
                filterGroups?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .options(options?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .parameterDeclarations(
                parameterDeclarations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .queryExecutionOptions(
                queryExecutionOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .sheets(
                sheets?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [AnalysisDefinitionArgs].
 */
@PulumiTagMarker
public class AnalysisDefinitionArgsBuilder internal constructor() {
    private var analysisDefaults: Output? = null

    private var calculatedFields: Output>? = null

    private var columnConfigurations: Output>? = null

    private var dataSetIdentifierDeclarations: Output>? =
        null

    private var filterGroups: Output>? = null

    private var options: Output? = null

    private var parameterDeclarations: Output>? = null

    private var queryExecutionOptions: Output? = null

    private var sheets: Output>? = null

    /**
     * @param value
     */
    @JvmName("jfoktugdvkxmhfqy")
    public suspend fun analysisDefaults(`value`: Output) {
        this.analysisDefaults = value
    }

    /**
     * @param value An array of calculated field definitions for the analysis.
     */
    @JvmName("ukerhckqlliniewb")
    public suspend fun calculatedFields(`value`: Output>) {
        this.calculatedFields = value
    }

    @JvmName("fawmilxmdllvnfuy")
    public suspend fun calculatedFields(vararg values: Output) {
        this.calculatedFields = Output.all(values.asList())
    }

    /**
     * @param values An array of calculated field definitions for the analysis.
     */
    @JvmName("ccvjfdvaydottcri")
    public suspend fun calculatedFields(values: List>) {
        this.calculatedFields = Output.all(values)
    }

    /**
     * @param value An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("vgeysqvtciyfkcfb")
    public suspend fun columnConfigurations(`value`: Output>) {
        this.columnConfigurations = value
    }

    @JvmName("rrmluqamlpqwomjp")
    public suspend fun columnConfigurations(vararg values: Output) {
        this.columnConfigurations = Output.all(values.asList())
    }

    /**
     * @param values An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("qjafnbnduqdhgtat")
    public suspend fun columnConfigurations(values: List>) {
        this.columnConfigurations = Output.all(values)
    }

    /**
     * @param value An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("oclgubwfjncqmebo")
    public suspend fun dataSetIdentifierDeclarations(`value`: Output>) {
        this.dataSetIdentifierDeclarations = value
    }

    @JvmName("xbrgbepnvrxdflce")
    public suspend fun dataSetIdentifierDeclarations(vararg values: Output) {
        this.dataSetIdentifierDeclarations = Output.all(values.asList())
    }

    /**
     * @param values An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("rvvcmheagnkmnjou")
    public suspend fun dataSetIdentifierDeclarations(values: List>) {
        this.dataSetIdentifierDeclarations = Output.all(values)
    }

    /**
     * @param value Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("vbhcewdifoggsomo")
    public suspend fun filterGroups(`value`: Output>) {
        this.filterGroups = value
    }

    @JvmName("adptaontwtqjeatt")
    public suspend fun filterGroups(vararg values: Output) {
        this.filterGroups = Output.all(values.asList())
    }

    /**
     * @param values Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("uenyagrsnjjvmgok")
    public suspend fun filterGroups(values: List>) {
        this.filterGroups = Output.all(values)
    }

    /**
     * @param value An array of option definitions for an analysis.
     */
    @JvmName("ldhtinmpfwljpawe")
    public suspend fun options(`value`: Output) {
        this.options = value
    }

    /**
     * @param value An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("jxdshswamhdrnntd")
    public suspend fun parameterDeclarations(`value`: Output>) {
        this.parameterDeclarations = value
    }

    @JvmName("dxqiufpncnvviylb")
    public suspend fun parameterDeclarations(vararg values: Output) {
        this.parameterDeclarations = Output.all(values.asList())
    }

    /**
     * @param values An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("gmticelafkvclsqe")
    public suspend fun parameterDeclarations(values: List>) {
        this.parameterDeclarations = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("wjobuqrvqnvcpkfs")
    public suspend fun queryExecutionOptions(`value`: Output) {
        this.queryExecutionOptions = value
    }

    /**
     * @param value An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("brfaoxxdtmubqcqm")
    public suspend fun sheets(`value`: Output>) {
        this.sheets = value
    }

    @JvmName("mofrndavnoatxvlr")
    public suspend fun sheets(vararg values: Output) {
        this.sheets = Output.all(values.asList())
    }

    /**
     * @param values An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("hmsenhprtvseipdo")
    public suspend fun sheets(values: List>) {
        this.sheets = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("vncuutexbhhmucxj")
    public suspend fun analysisDefaults(`value`: AnalysisDefaultsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.analysisDefaults = mapped
    }

    /**
     * @param argument
     */
    @JvmName("wputmpkudklbigcj")
    public suspend fun analysisDefaults(argument: suspend AnalysisDefaultsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisDefaultsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.analysisDefaults = mapped
    }

    /**
     * @param value An array of calculated field definitions for the analysis.
     */
    @JvmName("dkbtnlqpqiawlnff")
    public suspend fun calculatedFields(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.calculatedFields = mapped
    }

    /**
     * @param argument An array of calculated field definitions for the analysis.
     */
    @JvmName("aeyggicgnujxgdpk")
    public suspend fun calculatedFields(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisCalculatedFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.calculatedFields = mapped
    }

    /**
     * @param argument An array of calculated field definitions for the analysis.
     */
    @JvmName("lcxlsdmvtclwnmxd")
    public suspend fun calculatedFields(vararg argument: suspend AnalysisCalculatedFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisCalculatedFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.calculatedFields = mapped
    }

    /**
     * @param argument An array of calculated field definitions for the analysis.
     */
    @JvmName("adlmxqlvohkfqhtq")
    public suspend fun calculatedFields(argument: suspend AnalysisCalculatedFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisCalculatedFieldArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.calculatedFields = mapped
    }

    /**
     * @param values An array of calculated field definitions for the analysis.
     */
    @JvmName("wktxqngjoakflvqd")
    public suspend fun calculatedFields(vararg values: AnalysisCalculatedFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.calculatedFields = mapped
    }

    /**
     * @param value An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("wjvfdrjlblywpuko")
    public suspend fun columnConfigurations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.columnConfigurations = mapped
    }

    /**
     * @param argument An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("dgwdmwpxmdpkxuut")
    public suspend fun columnConfigurations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisColumnConfigurationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.columnConfigurations = mapped
    }

    /**
     * @param argument An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("edtmpockxvmqmacm")
    public suspend fun columnConfigurations(vararg argument: suspend AnalysisColumnConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisColumnConfigurationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.columnConfigurations = mapped
    }

    /**
     * @param argument An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("xdhyyavwbjgjuxry")
    public suspend fun columnConfigurations(argument: suspend AnalysisColumnConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisColumnConfigurationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.columnConfigurations = mapped
    }

    /**
     * @param values An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.
     */
    @JvmName("ogcjghiblivdudbb")
    public suspend fun columnConfigurations(vararg values: AnalysisColumnConfigurationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.columnConfigurations = mapped
    }

    /**
     * @param value An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("wmugprddmejiyhvf")
    public suspend fun dataSetIdentifierDeclarations(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataSetIdentifierDeclarations = mapped
    }

    /**
     * @param argument An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("dccdaudrrojaapdc")
    public suspend fun dataSetIdentifierDeclarations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisDataSetIdentifierDeclarationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.dataSetIdentifierDeclarations = mapped
    }

    /**
     * @param argument An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("ovseytxgqdcbqygf")
    public suspend fun dataSetIdentifierDeclarations(vararg argument: suspend AnalysisDataSetIdentifierDeclarationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisDataSetIdentifierDeclarationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.dataSetIdentifierDeclarations = mapped
    }

    /**
     * @param argument An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("fbknrvehxlemyjvv")
    public suspend fun dataSetIdentifierDeclarations(argument: suspend AnalysisDataSetIdentifierDeclarationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisDataSetIdentifierDeclarationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.dataSetIdentifierDeclarations = mapped
    }

    /**
     * @param values An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.
     */
    @JvmName("lbqqbbcyfvnogdya")
    public suspend fun dataSetIdentifierDeclarations(vararg values: AnalysisDataSetIdentifierDeclarationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataSetIdentifierDeclarations = mapped
    }

    /**
     * @param value Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("fpywijgfwilslcdf")
    public suspend fun filterGroups(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.filterGroups = mapped
    }

    /**
     * @param argument Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("bmincigqysjivsjs")
    public suspend fun filterGroups(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisFilterGroupArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.filterGroups = mapped
    }

    /**
     * @param argument Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("xmlaeefrqhoidqwf")
    public suspend fun filterGroups(vararg argument: suspend AnalysisFilterGroupArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisFilterGroupArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.filterGroups = mapped
    }

    /**
     * @param argument Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("fqtuigogegpyppab")
    public suspend fun filterGroups(argument: suspend AnalysisFilterGroupArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisFilterGroupArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.filterGroups = mapped
    }

    /**
     * @param values Filter definitions for an analysis.
     * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("fxgsjrkpbnpwqxpc")
    public suspend fun filterGroups(vararg values: AnalysisFilterGroupArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.filterGroups = mapped
    }

    /**
     * @param value An array of option definitions for an analysis.
     */
    @JvmName("wfrquqlrkhyqqbll")
    public suspend fun options(`value`: AnalysisAssetOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.options = mapped
    }

    /**
     * @param argument An array of option definitions for an analysis.
     */
    @JvmName("bxphxkqdwtkmcmcu")
    public suspend fun options(argument: suspend AnalysisAssetOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisAssetOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.options = mapped
    }

    /**
     * @param value An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("wuwuxmvqqijwapdf")
    public suspend fun parameterDeclarations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameterDeclarations = mapped
    }

    /**
     * @param argument An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("jndvkkgjfeeykenv")
    public suspend fun parameterDeclarations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisParameterDeclarationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.parameterDeclarations = mapped
    }

    /**
     * @param argument An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("xelgbbxyfjxkiffy")
    public suspend fun parameterDeclarations(vararg argument: suspend AnalysisParameterDeclarationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisParameterDeclarationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.parameterDeclarations = mapped
    }

    /**
     * @param argument An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("ejxmuqxgdwphywym")
    public suspend fun parameterDeclarations(argument: suspend AnalysisParameterDeclarationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisParameterDeclarationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.parameterDeclarations = mapped
    }

    /**
     * @param values An array of parameter declarations for an analysis.
     * Parameters are named variables that can transfer a value for use by an action or an object.
     * For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
     */
    @JvmName("mnoyvlbqetnihpgu")
    public suspend fun parameterDeclarations(vararg values: AnalysisParameterDeclarationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameterDeclarations = mapped
    }

    /**
     * @param value
     */
    @JvmName("qrvxorqkhhiasgcr")
    public suspend fun queryExecutionOptions(`value`: AnalysisQueryExecutionOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.queryExecutionOptions = mapped
    }

    /**
     * @param argument
     */
    @JvmName("qieagseiovfribta")
    public suspend fun queryExecutionOptions(argument: suspend AnalysisQueryExecutionOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisQueryExecutionOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.queryExecutionOptions = mapped
    }

    /**
     * @param value An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("ksoajrqshkyyeyqi")
    public suspend fun sheets(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sheets = mapped
    }

    /**
     * @param argument An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("hrybiissaiwrxyhg")
    public suspend fun sheets(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisSheetDefinitionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sheets = mapped
    }

    /**
     * @param argument An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("ebpoomjqxqpiskvl")
    public suspend fun sheets(vararg argument: suspend AnalysisSheetDefinitionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisSheetDefinitionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sheets = mapped
    }

    /**
     * @param argument An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("gljydxfdadwujssi")
    public suspend fun sheets(argument: suspend AnalysisSheetDefinitionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisSheetDefinitionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.sheets = mapped
    }

    /**
     * @param values An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis.
     */
    @JvmName("tyjfdngyeghnmnuw")
    public suspend fun sheets(vararg values: AnalysisSheetDefinitionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sheets = mapped
    }

    internal fun build(): AnalysisDefinitionArgs = AnalysisDefinitionArgs(
        analysisDefaults = analysisDefaults,
        calculatedFields = calculatedFields,
        columnConfigurations = columnConfigurations,
        dataSetIdentifierDeclarations = dataSetIdentifierDeclarations ?: throw
            PulumiNullFieldException("dataSetIdentifierDeclarations"),
        filterGroups = filterGroups,
        options = options,
        parameterDeclarations = parameterDeclarations,
        queryExecutionOptions = queryExecutionOptions,
        sheets = sheets,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy