// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>The Model automatically decides if a tool should be called or whether to generate text instead. For example, <code>{"auto" : {}}</code>. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html">Call a tool with the Converse API</a> in the Amazon Bedrock User Guide</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct AutoToolChoice {}
impl AutoToolChoice {
    /// Creates a new builder-style object to manufacture [`AutoToolChoice`](crate::types::AutoToolChoice).
    pub fn builder() -> crate::types::builders::AutoToolChoiceBuilder {
        crate::types::builders::AutoToolChoiceBuilder::default()
    }
}

/// A builder for [`AutoToolChoice`](crate::types::AutoToolChoice).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct AutoToolChoiceBuilder {}
impl AutoToolChoiceBuilder {
    /// Consumes the builder and constructs a [`AutoToolChoice`](crate::types::AutoToolChoice).
    pub fn build(self) -> crate::types::AutoToolChoice {
        crate::types::AutoToolChoice {}
    }
}
