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