pub use crate::operation::associate_device_with_placement::_associate_device_with_placement_output::AssociateDeviceWithPlacementOutputBuilder;
pub use crate::operation::associate_device_with_placement::_associate_device_with_placement_input::AssociateDeviceWithPlacementInputBuilder;
impl AssociateDeviceWithPlacementInputBuilder {
    pub async fn send_with(
        self,
        client: &crate::Client,
    ) -> ::std::result::Result<
        crate::operation::associate_device_with_placement::AssociateDeviceWithPlacementOutput,
        ::aws_smithy_http::result::SdkError<
            crate::operation::associate_device_with_placement::AssociateDeviceWithPlacementError,
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
        >,
    > {
        let mut fluent_builder = client.associate_device_with_placement();
        fluent_builder.inner = self;
        fluent_builder.send().await
    }
}
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct AssociateDeviceWithPlacementFluentBuilder {
    handle: ::std::sync::Arc<crate::client::Handle>,
    inner: crate::operation::associate_device_with_placement::builders::AssociateDeviceWithPlacementInputBuilder,
    config_override: ::std::option::Option<crate::config::Builder>,
}
impl AssociateDeviceWithPlacementFluentBuilder {
    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::associate_device_with_placement::builders::AssociateDeviceWithPlacementInputBuilder {
        &self.inner
    }
    pub async fn send(
        self,
    ) -> ::std::result::Result<
        crate::operation::associate_device_with_placement::AssociateDeviceWithPlacementOutput,
        ::aws_smithy_http::result::SdkError<
            crate::operation::associate_device_with_placement::AssociateDeviceWithPlacementError,
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
        >,
    > {
        let input = self.inner.build().map_err(::aws_smithy_http::result::SdkError::construction_failure)?;
        let runtime_plugins = crate::operation::associate_device_with_placement::AssociateDeviceWithPlacement::operation_runtime_plugins(
            self.handle.runtime_plugins.clone(),
            &self.handle.conf,
            self.config_override,
        );
        crate::operation::associate_device_with_placement::AssociateDeviceWithPlacement::orchestrate(&runtime_plugins, input).await
    }
    pub async fn customize(
        self,
    ) -> ::std::result::Result<
        crate::client::customize::orchestrator::CustomizableOperation<
            crate::operation::associate_device_with_placement::AssociateDeviceWithPlacementOutput,
            crate::operation::associate_device_with_placement::AssociateDeviceWithPlacementError,
        >,
        ::aws_smithy_http::result::SdkError<crate::operation::associate_device_with_placement::AssociateDeviceWithPlacementError>,
    > {
        ::std::result::Result::Ok(crate::client::customize::orchestrator::CustomizableOperation {
            customizable_send: ::std::boxed::Box::new(move |config_override| {
                ::std::boxed::Box::pin(async { self.config_override(config_override).send().await })
            }),
            config_override: None,
            interceptors: vec![],
            runtime_plugins: vec![],
        })
    }
    pub(crate) fn config_override(mut self, config_override: impl Into<crate::config::Builder>) -> Self {
        self.set_config_override(Some(config_override.into()));
        self
    }
    pub(crate) fn set_config_override(&mut self, config_override: Option<crate::config::Builder>) -> &mut Self {
        self.config_override = config_override;
        self
    }
    pub fn project_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.project_name(input.into());
        self
    }
    pub fn set_project_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_project_name(input);
        self
    }
    pub fn get_project_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_project_name()
    }
    pub fn placement_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.placement_name(input.into());
        self
    }
    pub fn set_placement_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_placement_name(input);
        self
    }
    pub fn get_placement_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_placement_name()
    }
    pub fn device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.device_id(input.into());
        self
    }
    pub fn set_device_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_device_id(input);
        self
    }
    pub fn get_device_id(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_device_id()
    }
    pub fn device_template_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.device_template_name(input.into());
        self
    }
    pub fn set_device_template_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_device_template_name(input);
        self
    }
    pub fn get_device_template_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_device_template_name()
    }
}