pub fn is_managed_action_invalid_state_exception(&self) -> bool {
        matches!(
            &self.kind,
            ApplyEnvironmentManagedActionErrorKind::ManagedActionInvalidStateException(_)
        )
    }
/// Returns `true` if the error kind is `ApplyEnvironmentManagedActionErrorKind::ManagedActionInvalidStateException`.
Returns `true` if the error kind is `ApplyEnvironmentManagedActionErrorKind::ManagedActionInvalidStateException`.
Returns ` true ` if the error kind is ` ApplyEnvironmentManagedActionErrorKind :: ManagedActionInvalidStateException ` .
pub fn is_managed_action_invalid_state_exception(&self) -> bool {
        matches!(
            &self.kind,
            ApplyEnvironmentManagedActionErrorKind::ManagedActionInvalidStateException(_)
        )
    }
pub fn is_managed_action_invalid_state_exception ( & self ) -> bool { matches ! ( self kind ApplyEnvironmentManagedActionErrorKind ManagedActionInvalidStateException ( ) ) }
Returns `true` if the error kind is `ApplyEnvironmentManagedActionErrorKind::ManagedActionInvalidStateException`.
Returns ` true ` if the error kind is ` ApplyEnvironmentManagedActionErrorKind :: ManagedActionInvalidStateException ` .
&self
&self