pub fn direct_connect_gateway_state(
        &self,
    ) -> std::option::Option<&crate::model::DirectConnectGatewayState> {
        self.direct_connect_gateway_state.as_ref()
    }
/// <p>The state of the Direct Connect gateway. The following are the possible values:</p>
/// <ul>
/// <li> <p> <code>pending</code>: The initial state after calling <code>CreateDirectConnectGateway</code>.</p> </li>
/// <li> <p> <code>available</code>: The Direct Connect gateway is ready for use.</p> </li>
/// <li> <p> <code>deleting</code>: The initial state after calling <code>DeleteDirectConnectGateway</code>.</p> </li>
/// <li> <p> <code>deleted</code>: The Direct Connect gateway is deleted and cannot pass traffic.</p> </li>
/// </ul>
The state of the Direct Connect gateway.
The state of the Direct Connect gateway .
pub fn direct_connect_gateway_state(
        &self,
    ) -> std::option::Option<&crate::model::DirectConnectGatewayState> {
        self.direct_connect_gateway_state.as_ref()
    }
pub fn direct_connect_gateway_state ( & self , ) -> std :: option :: Option < & crate :: model :: DirectConnectGatewayState > { self . direct_connect_gateway_state . as_ref ( ) }
<p>The state of the Direct Connect gateway.
<p > The state of the Direct Connect gateway .
&self
&self