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

commonMain.aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails.kt Maven / Gradle / Ivy

There is a newer version: 1.3.77
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.bedrockagent.model



/**
 * A union type containing various possible validation issues in the flow.
 */
public sealed class FlowValidationDetails {
    /**
     * Details about a cyclic connection in the flow.
     */
    public data class CyclicConnection(val value: aws.sdk.kotlin.services.bedrockagent.model.CyclicConnectionFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about duplicate condition expressions in a node.
     */
    public data class DuplicateConditionExpression(val value: aws.sdk.kotlin.services.bedrockagent.model.DuplicateConditionExpressionFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about duplicate connections between nodes.
     */
    public data class DuplicateConnections(val value: aws.sdk.kotlin.services.bedrockagent.model.DuplicateConnectionsFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about incompatible data types in a connection.
     */
    public data class IncompatibleConnectionDataType(val value: aws.sdk.kotlin.services.bedrockagent.model.IncompatibleConnectionDataTypeFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about a malformed condition expression in a node.
     */
    public data class MalformedConditionExpression(val value: aws.sdk.kotlin.services.bedrockagent.model.MalformedConditionExpressionFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about a malformed input expression in a node.
     */
    public data class MalformedNodeInputExpression(val value: aws.sdk.kotlin.services.bedrockagent.model.MalformedNodeInputExpressionFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about mismatched input data types in a node.
     */
    public data class MismatchedNodeInputType(val value: aws.sdk.kotlin.services.bedrockagent.model.MismatchedNodeInputTypeFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about mismatched output data types in a node.
     */
    public data class MismatchedNodeOutputType(val value: aws.sdk.kotlin.services.bedrockagent.model.MismatchedNodeOutputTypeFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about missing configuration for a connection.
     */
    public data class MissingConnectionConfiguration(val value: aws.sdk.kotlin.services.bedrockagent.model.MissingConnectionConfigurationFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about a missing default condition in a conditional node.
     */
    public data class MissingDefaultCondition(val value: aws.sdk.kotlin.services.bedrockagent.model.MissingDefaultConditionFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about missing ending nodes in the flow.
     */
    public data class MissingEndingNodes(val value: aws.sdk.kotlin.services.bedrockagent.model.MissingEndingNodesFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about missing configuration for a node.
     */
    public data class MissingNodeConfiguration(val value: aws.sdk.kotlin.services.bedrockagent.model.MissingNodeConfigurationFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about a missing required input in a node.
     */
    public data class MissingNodeInput(val value: aws.sdk.kotlin.services.bedrockagent.model.MissingNodeInputFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about a missing required output in a node.
     */
    public data class MissingNodeOutput(val value: aws.sdk.kotlin.services.bedrockagent.model.MissingNodeOutputFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about missing starting nodes in the flow.
     */
    public data class MissingStartingNodes(val value: aws.sdk.kotlin.services.bedrockagent.model.MissingStartingNodesFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about multiple connections to a single node input.
     */
    public data class MultipleNodeInputConnections(val value: aws.sdk.kotlin.services.bedrockagent.model.MultipleNodeInputConnectionsFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about an unfulfilled node input with no valid connections.
     */
    public data class UnfulfilledNodeInput(val value: aws.sdk.kotlin.services.bedrockagent.model.UnfulfilledNodeInputFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about an unknown condition for a connection.
     */
    public data class UnknownConnectionCondition(val value: aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionConditionFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about an unknown source node for a connection.
     */
    public data class UnknownConnectionSource(val value: aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionSourceFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about an unknown source output for a connection.
     */
    public data class UnknownConnectionSourceOutput(val value: aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionSourceOutputFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about an unknown target node for a connection.
     */
    public data class UnknownConnectionTarget(val value: aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionTargetFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about an unknown target input for a connection.
     */
    public data class UnknownConnectionTargetInput(val value: aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionTargetInputFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about an unreachable node in the flow.
     */
    public data class UnreachableNode(val value: aws.sdk.kotlin.services.bedrockagent.model.UnreachableNodeFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about unsatisfied conditions for a connection.
     */
    public data class UnsatisfiedConnectionConditions(val value: aws.sdk.kotlin.services.bedrockagent.model.UnsatisfiedConnectionConditionsFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Details about an unspecified validation.
     */
    public data class Unspecified(val value: aws.sdk.kotlin.services.bedrockagent.model.UnspecifiedFlowValidationDetails) : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    public object SdkUnknown : aws.sdk.kotlin.services.bedrockagent.model.FlowValidationDetails() {
    }

    /**
     * Casts this [FlowValidationDetails] as a [CyclicConnection] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.CyclicConnectionFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [CyclicConnection].
     */
    public fun asCyclicConnection(): aws.sdk.kotlin.services.bedrockagent.model.CyclicConnectionFlowValidationDetails = (this as FlowValidationDetails.CyclicConnection).value

    /**
     * Casts this [FlowValidationDetails] as a [CyclicConnection] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.CyclicConnectionFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [CyclicConnection].
     */
    public fun asCyclicConnectionOrNull(): aws.sdk.kotlin.services.bedrockagent.model.CyclicConnectionFlowValidationDetails? = (this as? FlowValidationDetails.CyclicConnection)?.value

    /**
     * Casts this [FlowValidationDetails] as a [DuplicateConditionExpression] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.DuplicateConditionExpressionFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [DuplicateConditionExpression].
     */
    public fun asDuplicateConditionExpression(): aws.sdk.kotlin.services.bedrockagent.model.DuplicateConditionExpressionFlowValidationDetails = (this as FlowValidationDetails.DuplicateConditionExpression).value

    /**
     * Casts this [FlowValidationDetails] as a [DuplicateConditionExpression] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.DuplicateConditionExpressionFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [DuplicateConditionExpression].
     */
    public fun asDuplicateConditionExpressionOrNull(): aws.sdk.kotlin.services.bedrockagent.model.DuplicateConditionExpressionFlowValidationDetails? = (this as? FlowValidationDetails.DuplicateConditionExpression)?.value

    /**
     * Casts this [FlowValidationDetails] as a [DuplicateConnections] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.DuplicateConnectionsFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [DuplicateConnections].
     */
    public fun asDuplicateConnections(): aws.sdk.kotlin.services.bedrockagent.model.DuplicateConnectionsFlowValidationDetails = (this as FlowValidationDetails.DuplicateConnections).value

    /**
     * Casts this [FlowValidationDetails] as a [DuplicateConnections] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.DuplicateConnectionsFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [DuplicateConnections].
     */
    public fun asDuplicateConnectionsOrNull(): aws.sdk.kotlin.services.bedrockagent.model.DuplicateConnectionsFlowValidationDetails? = (this as? FlowValidationDetails.DuplicateConnections)?.value

    /**
     * Casts this [FlowValidationDetails] as a [IncompatibleConnectionDataType] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.IncompatibleConnectionDataTypeFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [IncompatibleConnectionDataType].
     */
    public fun asIncompatibleConnectionDataType(): aws.sdk.kotlin.services.bedrockagent.model.IncompatibleConnectionDataTypeFlowValidationDetails = (this as FlowValidationDetails.IncompatibleConnectionDataType).value

    /**
     * Casts this [FlowValidationDetails] as a [IncompatibleConnectionDataType] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.IncompatibleConnectionDataTypeFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [IncompatibleConnectionDataType].
     */
    public fun asIncompatibleConnectionDataTypeOrNull(): aws.sdk.kotlin.services.bedrockagent.model.IncompatibleConnectionDataTypeFlowValidationDetails? = (this as? FlowValidationDetails.IncompatibleConnectionDataType)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MalformedConditionExpression] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MalformedConditionExpressionFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MalformedConditionExpression].
     */
    public fun asMalformedConditionExpression(): aws.sdk.kotlin.services.bedrockagent.model.MalformedConditionExpressionFlowValidationDetails = (this as FlowValidationDetails.MalformedConditionExpression).value

    /**
     * Casts this [FlowValidationDetails] as a [MalformedConditionExpression] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MalformedConditionExpressionFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MalformedConditionExpression].
     */
    public fun asMalformedConditionExpressionOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MalformedConditionExpressionFlowValidationDetails? = (this as? FlowValidationDetails.MalformedConditionExpression)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MalformedNodeInputExpression] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MalformedNodeInputExpressionFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MalformedNodeInputExpression].
     */
    public fun asMalformedNodeInputExpression(): aws.sdk.kotlin.services.bedrockagent.model.MalformedNodeInputExpressionFlowValidationDetails = (this as FlowValidationDetails.MalformedNodeInputExpression).value

    /**
     * Casts this [FlowValidationDetails] as a [MalformedNodeInputExpression] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MalformedNodeInputExpressionFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MalformedNodeInputExpression].
     */
    public fun asMalformedNodeInputExpressionOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MalformedNodeInputExpressionFlowValidationDetails? = (this as? FlowValidationDetails.MalformedNodeInputExpression)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MismatchedNodeInputType] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MismatchedNodeInputTypeFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MismatchedNodeInputType].
     */
    public fun asMismatchedNodeInputType(): aws.sdk.kotlin.services.bedrockagent.model.MismatchedNodeInputTypeFlowValidationDetails = (this as FlowValidationDetails.MismatchedNodeInputType).value

    /**
     * Casts this [FlowValidationDetails] as a [MismatchedNodeInputType] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MismatchedNodeInputTypeFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MismatchedNodeInputType].
     */
    public fun asMismatchedNodeInputTypeOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MismatchedNodeInputTypeFlowValidationDetails? = (this as? FlowValidationDetails.MismatchedNodeInputType)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MismatchedNodeOutputType] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MismatchedNodeOutputTypeFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MismatchedNodeOutputType].
     */
    public fun asMismatchedNodeOutputType(): aws.sdk.kotlin.services.bedrockagent.model.MismatchedNodeOutputTypeFlowValidationDetails = (this as FlowValidationDetails.MismatchedNodeOutputType).value

    /**
     * Casts this [FlowValidationDetails] as a [MismatchedNodeOutputType] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MismatchedNodeOutputTypeFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MismatchedNodeOutputType].
     */
    public fun asMismatchedNodeOutputTypeOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MismatchedNodeOutputTypeFlowValidationDetails? = (this as? FlowValidationDetails.MismatchedNodeOutputType)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MissingConnectionConfiguration] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingConnectionConfigurationFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MissingConnectionConfiguration].
     */
    public fun asMissingConnectionConfiguration(): aws.sdk.kotlin.services.bedrockagent.model.MissingConnectionConfigurationFlowValidationDetails = (this as FlowValidationDetails.MissingConnectionConfiguration).value

    /**
     * Casts this [FlowValidationDetails] as a [MissingConnectionConfiguration] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingConnectionConfigurationFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MissingConnectionConfiguration].
     */
    public fun asMissingConnectionConfigurationOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MissingConnectionConfigurationFlowValidationDetails? = (this as? FlowValidationDetails.MissingConnectionConfiguration)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MissingDefaultCondition] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingDefaultConditionFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MissingDefaultCondition].
     */
    public fun asMissingDefaultCondition(): aws.sdk.kotlin.services.bedrockagent.model.MissingDefaultConditionFlowValidationDetails = (this as FlowValidationDetails.MissingDefaultCondition).value

    /**
     * Casts this [FlowValidationDetails] as a [MissingDefaultCondition] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingDefaultConditionFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MissingDefaultCondition].
     */
    public fun asMissingDefaultConditionOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MissingDefaultConditionFlowValidationDetails? = (this as? FlowValidationDetails.MissingDefaultCondition)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MissingEndingNodes] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingEndingNodesFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MissingEndingNodes].
     */
    public fun asMissingEndingNodes(): aws.sdk.kotlin.services.bedrockagent.model.MissingEndingNodesFlowValidationDetails = (this as FlowValidationDetails.MissingEndingNodes).value

    /**
     * Casts this [FlowValidationDetails] as a [MissingEndingNodes] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingEndingNodesFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MissingEndingNodes].
     */
    public fun asMissingEndingNodesOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MissingEndingNodesFlowValidationDetails? = (this as? FlowValidationDetails.MissingEndingNodes)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MissingNodeConfiguration] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingNodeConfigurationFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MissingNodeConfiguration].
     */
    public fun asMissingNodeConfiguration(): aws.sdk.kotlin.services.bedrockagent.model.MissingNodeConfigurationFlowValidationDetails = (this as FlowValidationDetails.MissingNodeConfiguration).value

    /**
     * Casts this [FlowValidationDetails] as a [MissingNodeConfiguration] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingNodeConfigurationFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MissingNodeConfiguration].
     */
    public fun asMissingNodeConfigurationOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MissingNodeConfigurationFlowValidationDetails? = (this as? FlowValidationDetails.MissingNodeConfiguration)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MissingNodeInput] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingNodeInputFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MissingNodeInput].
     */
    public fun asMissingNodeInput(): aws.sdk.kotlin.services.bedrockagent.model.MissingNodeInputFlowValidationDetails = (this as FlowValidationDetails.MissingNodeInput).value

    /**
     * Casts this [FlowValidationDetails] as a [MissingNodeInput] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingNodeInputFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MissingNodeInput].
     */
    public fun asMissingNodeInputOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MissingNodeInputFlowValidationDetails? = (this as? FlowValidationDetails.MissingNodeInput)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MissingNodeOutput] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingNodeOutputFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MissingNodeOutput].
     */
    public fun asMissingNodeOutput(): aws.sdk.kotlin.services.bedrockagent.model.MissingNodeOutputFlowValidationDetails = (this as FlowValidationDetails.MissingNodeOutput).value

    /**
     * Casts this [FlowValidationDetails] as a [MissingNodeOutput] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingNodeOutputFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MissingNodeOutput].
     */
    public fun asMissingNodeOutputOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MissingNodeOutputFlowValidationDetails? = (this as? FlowValidationDetails.MissingNodeOutput)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MissingStartingNodes] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingStartingNodesFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MissingStartingNodes].
     */
    public fun asMissingStartingNodes(): aws.sdk.kotlin.services.bedrockagent.model.MissingStartingNodesFlowValidationDetails = (this as FlowValidationDetails.MissingStartingNodes).value

    /**
     * Casts this [FlowValidationDetails] as a [MissingStartingNodes] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MissingStartingNodesFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MissingStartingNodes].
     */
    public fun asMissingStartingNodesOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MissingStartingNodesFlowValidationDetails? = (this as? FlowValidationDetails.MissingStartingNodes)?.value

    /**
     * Casts this [FlowValidationDetails] as a [MultipleNodeInputConnections] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MultipleNodeInputConnectionsFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [MultipleNodeInputConnections].
     */
    public fun asMultipleNodeInputConnections(): aws.sdk.kotlin.services.bedrockagent.model.MultipleNodeInputConnectionsFlowValidationDetails = (this as FlowValidationDetails.MultipleNodeInputConnections).value

    /**
     * Casts this [FlowValidationDetails] as a [MultipleNodeInputConnections] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.MultipleNodeInputConnectionsFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [MultipleNodeInputConnections].
     */
    public fun asMultipleNodeInputConnectionsOrNull(): aws.sdk.kotlin.services.bedrockagent.model.MultipleNodeInputConnectionsFlowValidationDetails? = (this as? FlowValidationDetails.MultipleNodeInputConnections)?.value

    /**
     * Casts this [FlowValidationDetails] as a [UnfulfilledNodeInput] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnfulfilledNodeInputFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [UnfulfilledNodeInput].
     */
    public fun asUnfulfilledNodeInput(): aws.sdk.kotlin.services.bedrockagent.model.UnfulfilledNodeInputFlowValidationDetails = (this as FlowValidationDetails.UnfulfilledNodeInput).value

    /**
     * Casts this [FlowValidationDetails] as a [UnfulfilledNodeInput] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnfulfilledNodeInputFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [UnfulfilledNodeInput].
     */
    public fun asUnfulfilledNodeInputOrNull(): aws.sdk.kotlin.services.bedrockagent.model.UnfulfilledNodeInputFlowValidationDetails? = (this as? FlowValidationDetails.UnfulfilledNodeInput)?.value

    /**
     * Casts this [FlowValidationDetails] as a [UnknownConnectionCondition] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionConditionFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [UnknownConnectionCondition].
     */
    public fun asUnknownConnectionCondition(): aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionConditionFlowValidationDetails = (this as FlowValidationDetails.UnknownConnectionCondition).value

    /**
     * Casts this [FlowValidationDetails] as a [UnknownConnectionCondition] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionConditionFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [UnknownConnectionCondition].
     */
    public fun asUnknownConnectionConditionOrNull(): aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionConditionFlowValidationDetails? = (this as? FlowValidationDetails.UnknownConnectionCondition)?.value

    /**
     * Casts this [FlowValidationDetails] as a [UnknownConnectionSource] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionSourceFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [UnknownConnectionSource].
     */
    public fun asUnknownConnectionSource(): aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionSourceFlowValidationDetails = (this as FlowValidationDetails.UnknownConnectionSource).value

    /**
     * Casts this [FlowValidationDetails] as a [UnknownConnectionSource] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionSourceFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [UnknownConnectionSource].
     */
    public fun asUnknownConnectionSourceOrNull(): aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionSourceFlowValidationDetails? = (this as? FlowValidationDetails.UnknownConnectionSource)?.value

    /**
     * Casts this [FlowValidationDetails] as a [UnknownConnectionSourceOutput] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionSourceOutputFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [UnknownConnectionSourceOutput].
     */
    public fun asUnknownConnectionSourceOutput(): aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionSourceOutputFlowValidationDetails = (this as FlowValidationDetails.UnknownConnectionSourceOutput).value

    /**
     * Casts this [FlowValidationDetails] as a [UnknownConnectionSourceOutput] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionSourceOutputFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [UnknownConnectionSourceOutput].
     */
    public fun asUnknownConnectionSourceOutputOrNull(): aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionSourceOutputFlowValidationDetails? = (this as? FlowValidationDetails.UnknownConnectionSourceOutput)?.value

    /**
     * Casts this [FlowValidationDetails] as a [UnknownConnectionTarget] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionTargetFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [UnknownConnectionTarget].
     */
    public fun asUnknownConnectionTarget(): aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionTargetFlowValidationDetails = (this as FlowValidationDetails.UnknownConnectionTarget).value

    /**
     * Casts this [FlowValidationDetails] as a [UnknownConnectionTarget] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionTargetFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [UnknownConnectionTarget].
     */
    public fun asUnknownConnectionTargetOrNull(): aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionTargetFlowValidationDetails? = (this as? FlowValidationDetails.UnknownConnectionTarget)?.value

    /**
     * Casts this [FlowValidationDetails] as a [UnknownConnectionTargetInput] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionTargetInputFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [UnknownConnectionTargetInput].
     */
    public fun asUnknownConnectionTargetInput(): aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionTargetInputFlowValidationDetails = (this as FlowValidationDetails.UnknownConnectionTargetInput).value

    /**
     * Casts this [FlowValidationDetails] as a [UnknownConnectionTargetInput] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionTargetInputFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [UnknownConnectionTargetInput].
     */
    public fun asUnknownConnectionTargetInputOrNull(): aws.sdk.kotlin.services.bedrockagent.model.UnknownConnectionTargetInputFlowValidationDetails? = (this as? FlowValidationDetails.UnknownConnectionTargetInput)?.value

    /**
     * Casts this [FlowValidationDetails] as a [UnreachableNode] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnreachableNodeFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [UnreachableNode].
     */
    public fun asUnreachableNode(): aws.sdk.kotlin.services.bedrockagent.model.UnreachableNodeFlowValidationDetails = (this as FlowValidationDetails.UnreachableNode).value

    /**
     * Casts this [FlowValidationDetails] as a [UnreachableNode] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnreachableNodeFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [UnreachableNode].
     */
    public fun asUnreachableNodeOrNull(): aws.sdk.kotlin.services.bedrockagent.model.UnreachableNodeFlowValidationDetails? = (this as? FlowValidationDetails.UnreachableNode)?.value

    /**
     * Casts this [FlowValidationDetails] as a [UnsatisfiedConnectionConditions] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnsatisfiedConnectionConditionsFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [UnsatisfiedConnectionConditions].
     */
    public fun asUnsatisfiedConnectionConditions(): aws.sdk.kotlin.services.bedrockagent.model.UnsatisfiedConnectionConditionsFlowValidationDetails = (this as FlowValidationDetails.UnsatisfiedConnectionConditions).value

    /**
     * Casts this [FlowValidationDetails] as a [UnsatisfiedConnectionConditions] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnsatisfiedConnectionConditionsFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [UnsatisfiedConnectionConditions].
     */
    public fun asUnsatisfiedConnectionConditionsOrNull(): aws.sdk.kotlin.services.bedrockagent.model.UnsatisfiedConnectionConditionsFlowValidationDetails? = (this as? FlowValidationDetails.UnsatisfiedConnectionConditions)?.value

    /**
     * Casts this [FlowValidationDetails] as a [Unspecified] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnspecifiedFlowValidationDetails] value. Throws an exception if the [FlowValidationDetails] is not a
     * [Unspecified].
     */
    public fun asUnspecified(): aws.sdk.kotlin.services.bedrockagent.model.UnspecifiedFlowValidationDetails = (this as FlowValidationDetails.Unspecified).value

    /**
     * Casts this [FlowValidationDetails] as a [Unspecified] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.UnspecifiedFlowValidationDetails] value. Returns null if the [FlowValidationDetails] is not a [Unspecified].
     */
    public fun asUnspecifiedOrNull(): aws.sdk.kotlin.services.bedrockagent.model.UnspecifiedFlowValidationDetails? = (this as? FlowValidationDetails.Unspecified)?.value
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy