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