pub use crate::operation::attach_network_interface::_attach_network_interface_output::AttachNetworkInterfaceOutputBuilder;
pub use crate::operation::attach_network_interface::_attach_network_interface_input::AttachNetworkInterfaceInputBuilder;
impl crate::operation::attach_network_interface::builders::AttachNetworkInterfaceInputBuilder {
    pub async fn send_with(
        self,
        client: &crate::Client,
    ) -> ::std::result::Result<
        crate::operation::attach_network_interface::AttachNetworkInterfaceOutput,
        ::aws_smithy_runtime_api::client::result::SdkError<
            crate::operation::attach_network_interface::AttachNetworkInterfaceError,
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
        >,
    > {
        let mut fluent_builder = client.attach_network_interface();
        fluent_builder.inner = self;
        fluent_builder.send().await
    }
}
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct AttachNetworkInterfaceFluentBuilder {
    handle: ::std::sync::Arc<crate::client::Handle>,
    inner: crate::operation::attach_network_interface::builders::AttachNetworkInterfaceInputBuilder,
    config_override: ::std::option::Option<crate::config::Builder>,
}
impl
    crate::client::customize::internal::CustomizableSend<
        crate::operation::attach_network_interface::AttachNetworkInterfaceOutput,
        crate::operation::attach_network_interface::AttachNetworkInterfaceError,
    > for AttachNetworkInterfaceFluentBuilder
{
    fn send(
        self,
        config_override: crate::config::Builder,
    ) -> crate::client::customize::internal::BoxFuture<
        crate::client::customize::internal::SendResult<
            crate::operation::attach_network_interface::AttachNetworkInterfaceOutput,
            crate::operation::attach_network_interface::AttachNetworkInterfaceError,
        >,
    > {
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
    }
}
impl AttachNetworkInterfaceFluentBuilder {
    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
        Self {
            handle,
            inner: ::std::default::Default::default(),
            config_override: ::std::option::Option::None,
        }
    }
    pub fn as_input(&self) -> &crate::operation::attach_network_interface::builders::AttachNetworkInterfaceInputBuilder {
        &self.inner
    }
    pub async fn send(
        self,
    ) -> ::std::result::Result<
        crate::operation::attach_network_interface::AttachNetworkInterfaceOutput,
        ::aws_smithy_runtime_api::client::result::SdkError<
            crate::operation::attach_network_interface::AttachNetworkInterfaceError,
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
        >,
    > {
        let input = self
            .inner
            .build()
            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
        let runtime_plugins = crate::operation::attach_network_interface::AttachNetworkInterface::operation_runtime_plugins(
            self.handle.runtime_plugins.clone(),
            &self.handle.conf,
            self.config_override,
        );
        crate::operation::attach_network_interface::AttachNetworkInterface::orchestrate(&runtime_plugins, input).await
    }
    pub fn customize(
        self,
    ) -> crate::client::customize::CustomizableOperation<
        crate::operation::attach_network_interface::AttachNetworkInterfaceOutput,
        crate::operation::attach_network_interface::AttachNetworkInterfaceError,
        Self,
    > {
        crate::client::customize::CustomizableOperation::new(self)
    }
    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
        self.set_config_override(::std::option::Option::Some(config_override.into()));
        self
    }
    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
        self.config_override = config_override;
        self
    }
    pub fn device_index(mut self, input: i32) -> Self {
        self.inner = self.inner.device_index(input);
        self
    }
    pub fn set_device_index(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_device_index(input);
        self
    }
    pub fn get_device_index(&self) -> &::std::option::Option<i32> {
        self.inner.get_device_index()
    }
    pub fn dry_run(mut self, input: bool) -> Self {
        self.inner = self.inner.dry_run(input);
        self
    }
    pub fn set_dry_run(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_dry_run(input);
        self
    }
    pub fn get_dry_run(&self) -> &::std::option::Option<bool> {
        self.inner.get_dry_run()
    }
    pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.instance_id(input.into());
        self
    }
    pub fn set_instance_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_instance_id(input);
        self
    }
    pub fn get_instance_id(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_instance_id()
    }
    pub fn network_interface_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.network_interface_id(input.into());
        self
    }
    pub fn set_network_interface_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_network_interface_id(input);
        self
    }
    pub fn get_network_interface_id(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_network_interface_id()
    }
    pub fn network_card_index(mut self, input: i32) -> Self {
        self.inner = self.inner.network_card_index(input);
        self
    }
    pub fn set_network_card_index(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_network_card_index(input);
        self
    }
    pub fn get_network_card_index(&self) -> &::std::option::Option<i32> {
        self.inner.get_network_card_index()
    }
    pub fn ena_srd_specification(mut self, input: crate::types::EnaSrdSpecification) -> Self {
        self.inner = self.inner.ena_srd_specification(input);
        self
    }
    pub fn set_ena_srd_specification(mut self, input: ::std::option::Option<crate::types::EnaSrdSpecification>) -> Self {
        self.inner = self.inner.set_ena_srd_specification(input);
        self
    }
    pub fn get_ena_srd_specification(&self) -> &::std::option::Option<crate::types::EnaSrdSpecification> {
        self.inner.get_ena_srd_specification()
    }
}