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

com.pulumi.aws.lex.kotlin.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.lex.kotlin.inputs

import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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 customPayloads
 * @property imageResponseCard
 * @property plainTextMessage
 * @property ssmlMessage
 */
public data class
V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs(
    public val customPayloads: Output>? =
        null,
    public val imageResponseCard: Output? =
        null,
    public val plainTextMessage: Output? =
        null,
    public val ssmlMessage: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs =
        com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs.builder()
            .customPayloads(
                customPayloads?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .imageResponseCard(imageResponseCard?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .plainTextMessage(plainTextMessage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .ssmlMessage(ssmlMessage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs].
 */
@PulumiTagMarker
public class
V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgsBuilder
internal constructor() {
    private var customPayloads:
        Output>? =
        null

    private var imageResponseCard:
        Output? =
        null

    private var plainTextMessage:
        Output? =
        null

    private var ssmlMessage:
        Output? =
        null

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

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

    /**
     * @param values
     */
    @JvmName("fwxijasnhquxdwsd")
    public suspend fun customPayloads(values: List>) {
        this.customPayloads = Output.all(values)
    }

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

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

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

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

    /**
     * @param argument
     */
    @JvmName("wyxpjkqgrywrfvqx")
    public suspend fun customPayloads(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationCustomPayloadArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.customPayloads = mapped
    }

    /**
     * @param argument
     */
    @JvmName("bkjsphuxdurcaouc")
    public suspend fun customPayloads(vararg argument: suspend V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationCustomPayloadArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationCustomPayloadArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.customPayloads = mapped
    }

    /**
     * @param argument
     */
    @JvmName("hkmvgaegsjjcaibh")
    public suspend fun customPayloads(argument: suspend V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationCustomPayloadArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationCustomPayloadArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.customPayloads = mapped
    }

    /**
     * @param values
     */
    @JvmName("hgrlptjstwiamigh")
    public suspend fun customPayloads(vararg values: V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationCustomPayloadArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.customPayloads = mapped
    }

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

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

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

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

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

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

    internal fun build(): V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs =
        V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs(
            customPayloads = customPayloads,
            imageResponseCard = imageResponseCard,
            plainTextMessage = plainTextMessage,
            ssmlMessage = ssmlMessage,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy