pub fn attachment_state(
            mut self,
            input: crate::model::DirectConnectGatewayAttachmentState,
        ) -> Self {
            self.attachment_state = Some(input);
            self
        }
/// <p>The state of the attachment. The following are the possible values:</p>
/// <ul>
/// <li> <p> <code>attaching</code>: The initial state after a virtual interface is created using the Direct Connect gateway.</p> </li>
/// <li> <p> <code>attached</code>: The Direct Connect gateway and virtual interface are attached and ready to pass traffic.</p> </li>
/// <li> <p> <code>detaching</code>: The initial state after calling <code>DeleteVirtualInterface</code>.</p> </li>
/// <li> <p> <code>detached</code>: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.</p> </li>
/// </ul>
The state of the attachment.
The state of the attachment .
pub fn attachment_state(
            mut self,
            input: crate::model::DirectConnectGatewayAttachmentState,
        ) -> Self {
            self.attachment_state = Some(input);
            self
        }
pub fn attachment_state ( mut self , input : crate :: model :: DirectConnectGatewayAttachmentState , ) -> Self { self . attachment_state = Some ( input ) ; self }
<p>The state of the attachment.
<p > The state of the attachment .
mut self
input
crate::model::DirectConnectGatewayAttachmentState
mut self
input
crate::model::DirectConnectGatewayAttachmentState