pub fn association_state(
        &self,
    ) -> std::option::Option<&crate::model::DirectConnectGatewayAssociationState> {
        self.association_state.as_ref()
    }
/// <p>The state of the association. The following are the possible values:</p>
/// <ul>
/// <li> <p> <code>associating</code>: The initial state after calling <code>CreateDirectConnectGatewayAssociation</code>.</p> </li>
/// <li> <p> <code>associated</code>: The Direct Connect gateway and virtual private gateway or transit gateway are successfully associated and ready to pass traffic.</p> </li>
/// <li> <p> <code>disassociating</code>: The initial state after calling <code>DeleteDirectConnectGatewayAssociation</code>.</p> </li>
/// <li> <p> <code>disassociated</code>: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped.</p> </li>
/// </ul>
The state of the association.
The state of the association .
pub fn association_state(
        &self,
    ) -> std::option::Option<&crate::model::DirectConnectGatewayAssociationState> {
        self.association_state.as_ref()
    }
pub fn association_state ( & self , ) -> std :: option :: Option < & crate :: model :: DirectConnectGatewayAssociationState > { self . association_state . as_ref ( ) }
<p>The state of the association.
<p > The state of the association .
&self
&self