_propDict)) { return $this->_propDict["allowSampleSharing"]; } else { return null; } } /** * Sets the allowSampleSharing * Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule * * @param bool $val The allowSampleSharing * * @return WindowsDefenderAdvancedThreatProtectionConfiguration */ public function setAllowSampleSharing($val) { $this->_propDict["allowSampleSharing"] = boolval($val); return $this; } /** * Gets the enableExpeditedTelemetryReporting * Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency. * * @return bool|null The enableExpeditedTelemetryReporting */ public function getEnableExpeditedTelemetryReporting() { if (array_key_exists("enableExpeditedTelemetryReporting", $this->_propDict)) { return $this->_propDict["enableExpeditedTelemetryReporting"]; } else { return null; } } /** * Sets the enableExpeditedTelemetryReporting * Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency. * * @param bool $val The enableExpeditedTelemetryReporting * * @return WindowsDefenderAdvancedThreatProtectionConfiguration */ public function setEnableExpeditedTelemetryReporting($val) { $this->_propDict["enableExpeditedTelemetryReporting"] = boolval($val); return $this; } }